xAODTau: protection against tau track thinning
Hello,
This MR is mostly importing !26767 (merged) from 21.2 to master, the original MR description is pasted below.
A protection is added against invalid TauTrack links when retrieving the tau tracks or the number of tau tracks. This is required to support tau track thinning, used e.g. in DAOD_PHYS. Now, only the tau tracks that have a valid link are considered in the TauJets interface class. In particular, the behaviour of nAllTracks() had to be changed to be consistent with allTracks().size(). If one only keeps e.g. classifiedCharged tau tracks by thinning away the other tracks, nAllTracks() will now return the number of classifiedCharged tracks.
Something new compared to the R21 MR: to keep track of the total number of tracks associated with the tau in the reconstruction, a new Aux variable is introduced (mapped to xAOD::TauJetParameters::nAllTracks). So the user is now able to tell if tracks were thinned in the AOD->DAOD step, by comparing tau->nAllTracks() to tau->detail(xAOD::TauJetParameters::nAllTracks, nTracksTot).
Tagging @qbuat , @cgrefe , @ghamity , @ademaria , @lheinric , @tadej for information.
Cheers, Bertrand
Merge request reports
Activity
added EDM Reconstruction Tau master labels
added JetEtmiss review-pending-level-1 labels
removed JetEtmiss review-pending-level-1 labels
added review-pending-level-1 label
CI Result SUCCESS (hash 14511df7)Athena AthSimulation AthGeneration AnalysisBase AthAnalysis externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 1
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 1
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 25835]added review-approved label and removed review-pending-level-1 label
mentioned in commit d6a6a92a
added sweep:ignore label