Skip to content

Fixing stacking issue for the jet variables in the PDFSampling

Alexander Froch requested to merge alfroch-fix-resampling-merge into master

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 for pt_btagJes. In this case, -1.
  • Adding a check that logs a warning if the variables diverge.

Conformity

Edited by Alexander Froch

Merge request reports