Skip to content

JetTruthLabelingTool small fixes

Jason Robert Veatch requested to merge jveatch/athena:21.2-JTLDev into 21.2

This MR makes three relatively minor changes to JetTruthLabelingTool.

  1. The print() method is reformatted a bit to give more useful information

  2. Copying the truth labeling parameters from truth jets to reco jets is only allowed if the decorations exist. This is to protect against an obscure situation where the truth label is applied at derivation level without saving the labeling parameters as extra variables and then the tool is called offline to label an unlabelled reco collection. In most cases, this won't be encountered.

  3. Uncommenting some code that was erroneously merged as commented for validation purposes. This snippet checks if UseTRUTH3 is set to true for Sherpa 2.2.1 samples and throws an error if it is.

Merge request reports