Skip to content
Snippets Groups Projects

tauRecTools: replace charged PFOs with tau tracks, and fix "bug/feature" in MVA TES

Hello,

In R22, we are not writing out tau charged PFOs in xAODs, because tau charged PFOs are supposed to be identical to tau tracks. In this MR, we "safely replace" charged PFOs with tau tracks in one tool, so that the tool can be rerun on xAODs.

However... charged PFOs are actually only created for taus that have 1-5 tracks: https://gitlab.cern.ch/atlas/athena/-/blob/master/Reconstruction/tauRecTools/src/TauPi0ClusterScaler.cxx#L29-44

This must have been overlooked in the MVA tau energy scale code, where "charged_totalE" is supposed to be the total energy carried by tau tracks, even when taus have more than 5 tracks... The "charged_totalE" variable was null for taus with more than 5 tracks (these taus not used in analyses fortunately), and the behaviour is now fixed. This MR does not change the reconstruction output for taus with at most 5 tracks.

Cheers, Bertrand

Merge request reports

Pipeline #2353522 passed

Pipeline passed for 919faa50 on martindl:R22_dropChargedPFO_BugFix_26Feb21

Approval is optional

Merged by Adam Edward BartonAdam Edward Barton 4 years ago (Mar 1, 2021 1:34pm UTC)

Merge details

  • Changes merged into master with 2fc2088b (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading