JetTruthLabelingTool small fixes
This MR makes three relatively minor changes to JetTruthLabelingTool.
-
The
print()
method is reformatted a bit to give more useful information -
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.
-
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.