Fixing stacking issue for the jet variables in the PDFSampling
Summary
This MR introduces the following changes
- Fixes an issue that when the variables of the
jets
dataset were different between h5 files, the stacking would mix up variables. If, for example,pt_btagJes
is not in one sample, when merging the samples, the jets from this missing sample will get default values forpt_btagJes
. In this case,-1
. - Adding a check that logs a warning if the variables diverge.