Merge developments in MCTC to 21.2
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.
Classifier 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. "Classifier" function runs in parallel with the original MCTC functions.
Contact
Sukanya Sinha (sukanya.sinha@cern.ch)
Edited by Sukanya Sinha