Skip to content

Skimming fixes

Matthew Joseph Basso requested to merge skimming-fixes into master

Fix two bugs:

  1. Prevent code from crashing when dereferencing a null ptr during sample initialization (if there is no CollectionTree, its number of entries can be assumed to be 0)
  2. Prevent code from crashing when dereferencing a null ptr during skimming (instead of access xAOD::EventInfo - which is only available in samples with CollectionTrees - only merge TruthMetaDataContainers if they are available in the input, which should be true for MC but not data)

Tagging @cburgard @bwinter for awareness - I think we can merge this ASAP

Merge request reports