Skip to content

Fix MCTruthClassifier in AthAnalysis

Dan Guest requested to merge dguest/athena:fix-mctruth into master

MCTruthClassifier wasn't initializing a key that it uses. I doubt this would have worked in any AthAnalysis code. Fix was easy enough: move the initialization outside the preprocessor macro that disables it. Hopefully it will cause no problems in AnalaysisBase, but if it does I can enclose the initialization in #ifndef XAOD_STANDALONE.

Thanks to @svanstro for pointing this out in atlas-flavor-tagging-tools/training-dataset-dumper!398 (merged).

Edited by Dan Guest

Merge request reports