CPAlgorithms: allow for event selection at particle-level
Some users need to run the event selection algorithms using so-called "particle-level" objects (TruthElectrons
, TruthMuons
, etc.). This requires the following changes to the event selectors:
- make the MET term a configurable option: at reco-level it's most likely "Final" (new default), at truth-level it's most likely "NonInt"
- replace
xAOD::ElectronContainer
etc. byxAOD::IParticleContainer
to be able to pass either reco- or truth-level containers - in a couple of cases, event selectors need to access
charge()
, which is not available forxAOD::IParticle
. There I simply added dedicatedxAOD::TruthParticleContainer
handles, and I populate the correct type of handle based on a switch in the python config.
Merge request reports
Activity
added 521 commits
-
efc2d999...978969f1 - 520 commits from branch
atlas:main
- dfd72c6a - resolve conflicts
-
efc2d999...978969f1 - 520 commits from branch
This merge request affects 1 package:
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms
This merge request affects 19 files:
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/ChargeSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/DileptonInvariantMassSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/DileptonInvariantMassWindowSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/DileptonOSSFInvariantMassWindowSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/MissingETPlusTransverseMassSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/MissingETSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/NLargeRJetMassWindowSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/SumNElNMuPtSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/EventSelectionAlgorithms/TransverseMassSelectorAlg.h
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/ChargeSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/DileptonInvariantMassSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/DileptonInvariantMassWindowSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/DileptonOSSFInvariantMassWindowSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/MissingETPlusTransverseMassSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/MissingETSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/NLargeRJetMassWindowSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/SumNElNMuPtSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/Root/TransverseMassSelectorAlg.cxx
- PhysicsAnalysis/Algorithms/EventSelectionAlgorithms/python/EventSelectionConfig.py
CI Result SUCCESS (hash dfd72c6a)Athena AnalysisBase AthAnalysis externals cmake make tests Full details available on this CI monitor view. Check the JIRA CI status board for known problems
Athena: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
AthAnalysis: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-EL9 6821] (remote access info)removed analysis-review-required label
added analysis-review-expert label
removed review-pending-level-1 label
added review-approved label
- Resolved by Edward Moyse
Ah, sorry, lots going on in the last week.
While there may be easier ways to do the same thing, this does the job and is not directly user facing, so I think this can go in.
Regards, Nils
added analysis-review-approved label and removed analysis-review-expert label
mentioned in commit e309f1d1
mentioned in merge request !70189 (merged)