Merge Developments in MCTC to master
Defined a new function which checks for hadron/tau/BSM/Geant/uncategorised origin and returns the output as a bitset converted to unsigned int. This unsigned int is decorated into a new branch called "Classification". This is part of a PMG effort to address deficiencies in the original MCTruthClassifier.
Classification scheme:
The following boolean flags are used:
- isStable: Whether the particle is stable (i.e. status 1) or not [1/0]
- isGeant: the particle originates in a nuclear interaction or not [1/0].
- isBSM: the particle itself is a BSM particle or not [1/0].
- uncat: HEPMC production vertex not found / found [1/0].
- fromBSM: there is a BSM particle in the ancestor chain or not [1/0]. Usual caveats apply.
- fromhad: there is a hadron in the ancestor chain or not [1/0].
- fromTau: there is a tau lepton in the ancestor chain or not [1/0].
- isHadTau: there is a tau lepton with a hadronic mother in the ancestor chain or not [1/0].
The flowchart below explains the logic flow:
Output
Runs only on truth particles. Creates 1 branch as mentioned above. "classify" function runs in parallel with the original MCTC functions.
Contact
Sukanya Sinha (sukanya.sinha@cern.ch)
Merge request reports
Activity
added master label
- Resolved by Zach Marshall
- Resolved by Zach Marshall
added 1 commit
- 54edebb2 - added return value to classify function incase of nullptr
added Analysis Derivation review-pending-level-1 labels
CI Result SUCCESS (hash 54edebb2)Athena AthSimulation AthGeneration AnalysisBase externals cmake make required tests optional tests Full details available on this CI monitor view
Athena: number of compilation errors 0, warnings 0
AthSimulation: number of compilation errors 0, warnings 0
AthGeneration: number of compilation errors 0, warnings 0
AnalysisBase: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 24604]added review-approved label and removed review-pending-level-1 label
mentioned in commit 18f06be1
added sweep:ignore label