TauAnalysisTools & DerivationFrameworkTau: clarify truth tau building/matching
Hello,
In the current design, truth tau building (from TruthParticles) and truth tau matching (reco vs truth) share a common piece of code (BuildTruthTaus). This MR clarifies a couple of things. The use of truth electron, muon and jet containers is only relevant for truth matching. Specifying truth tau properties (e.g. WriteInvisibleFourMomentum) is only relevant for truth tau building.
Also, in case truth electron/muon/jet containers are not set in truth matching mode (tolerated, e.g. for AOD input that may not contain truth jets), warnings are now printed only once during initialisation, while we were issuing warnings for each event.
Tagging @ademaria .
Cheers, Bertrand
Edited by Bertrand Martin Dit Latour