![]() |
ATLAS Offline Software
|
Classes | |
| struct | ParticleDef |
Functions | |
| ParticleOrigin | convHadronTypeToOrig (ParticleType pType, int motherPDG) |
| Convert a hadron ParticleType to a ParticleOrigin (JPsi if a c-cbar meson has a J/psi mother). | |
| ParticleOrigin | defHadronType (int pdg) |
| Classify a hadron by PDG ID into a ParticleOrigin (NonDefined if none applies). | |
| ParticleType | defTypeOfHadron (int pdg) |
| Classify a hadron by PDG ID into a ParticleType (Unknown if none applies). | |
| ParticleType | defTypeOfElectron (ParticleOrigin EleOrig, bool isPrompt) |
| Classify an electron (Unknown/Iso/NonIso/Bkg) from its origin; prompt electrons are always Iso. | |
| ParticleType | defTypeOfMuon (ParticleOrigin MuOrig, bool isPrompt) |
| Classify a muon (Unknown/Iso/NonIso/Bkg) from its origin; prompt muons are always Iso. | |
| ParticleType | defTypeOfTau (ParticleOrigin TauOrig) |
| Classify a tau (Unknown/Iso/NonIso/Bkg) from its origin. | |
| ParticleType | defTypeOfPhoton (ParticleOrigin PhotOrig) |
| Classify a photon (Unknown/Iso/NonIso/Bkg) from its origin. | |
| template<class T> | |
| ParticleOrigin | defJetOrig (const T &allJetMothers) |
| Determine a jet's origin from its mother particles (BSM/Higgs first, then top > Z > W > QCD). | |
| template<class T> | |
| std::tuple< unsigned int, T > | defOrigOfParticle (T thePart) |
| Classify a particle into a bit-word (see MCTC_bits). | |
| int | isPrompt (const unsigned int classify, bool allow_prompt_tau_decays=true) |
| Tell whether a particle is prompt, from the word returned by defOrigOfParticle(). | |
| template<class T> | |
| ParticleOutCome | defOutComeOfElectron (T thePart) |
| Determine the outcome of a simulated electron from its end vertex (NonInteract, ElectrMagInter, NuclInteraction or UnknownOutCome). | |
| template<class T> | |
| ParticleOutCome | defOutComeOfMuon (T thePart) |
| Determine the outcome of a simulated muon from its end vertex (NonInteract, DecaytoElectron, NuclInteraction or UnknownOutCome). | |
| template<class T> | |
| ParticleOutCome | defOutComeOfTau (T thePart) |
| Determine the outcome of a simulated tau from its decay products (NonInteract, NuclInteraction, DecaytoElectron/Muon, One/Three/FiveProng or UnknownOutCome). | |
| template<class T> | |
| ParticleOutCome | defOutComeOfPhoton (T thePart) |
| Determine the outcome of a simulated photon from its end vertex (UnConverted, Converted, NuclInteraction or UnknownOutCome). | |
| enum MCTruthPartClassifier::MCTC_bits : unsigned int |
Bit positions of the particle classification word built by defOrigOfParticle().
| Enumerator | |
|---|---|
| HadTau | |
| Tau | |
| hadron | |
| frombsm | |
| uncat | |
| isbsm | |
| isgeant | |
| stable | |
| totalBits | |
Definition at line 156 of file TruthClassifiers.h.
| enum MCTruthPartClassifier::ParticleOrigin : unsigned int |
Definition at line 53 of file TruthClasses.h.
| enum MCTruthPartClassifier::ParticleOutCome : unsigned int |
| Enumerator | |
|---|---|
| NonDefinedOutCome | |
| UnknownOutCome | |
| UnConverted | |
| Converted | |
| NonInteract | |
| NuclInteraction | |
| ElectrMagInter | |
| DecaytoElectron | |
| DecaytoMuon | |
| OneProng | |
| ThreeProng | |
| FiveProng | |
Definition at line 107 of file TruthClasses.h.
| enum MCTruthPartClassifier::ParticleType : unsigned int |
Definition at line 10 of file TruthClasses.h.
|
inline |
Convert a hadron ParticleType to a ParticleOrigin (JPsi if a c-cbar meson has a J/psi mother).
Definition at line 15 of file TruthClassifiers.h.
|
inline |
Classify a hadron by PDG ID into a ParticleOrigin (NonDefined if none applies).
Definition at line 32 of file TruthClassifiers.h.
| ParticleOrigin MCTruthPartClassifier::defJetOrig | ( | const T & | allJetMothers | ) |
Determine a jet's origin from its mother particles (BSM/Higgs first, then top > Z > W > QCD).
Definition at line 138 of file TruthClassifiers.h.
| std::tuple< unsigned int, T > MCTruthPartClassifier::defOrigOfParticle | ( | T | thePart | ) |
Classify a particle into a bit-word (see MCTC_bits).
Definition at line 160 of file TruthClassifiers.h.
| ParticleOutCome MCTruthPartClassifier::defOutComeOfElectron | ( | T | thePart | ) |
Determine the outcome of a simulated electron from its end vertex (NonInteract, ElectrMagInter, NuclInteraction or UnknownOutCome).
Definition at line 203 of file TruthClassifiers.h.
| ParticleOutCome MCTruthPartClassifier::defOutComeOfMuon | ( | T | thePart | ) |
Determine the outcome of a simulated muon from its end vertex (NonInteract, DecaytoElectron, NuclInteraction or UnknownOutCome).
Definition at line 229 of file TruthClassifiers.h.
| ParticleOutCome MCTruthPartClassifier::defOutComeOfPhoton | ( | T | thePart | ) |
Determine the outcome of a simulated photon from its end vertex (UnConverted, Converted, NuclInteraction or UnknownOutCome).
Definition at line 287 of file TruthClassifiers.h.
| ParticleOutCome MCTruthPartClassifier::defOutComeOfTau | ( | T | thePart | ) |
Determine the outcome of a simulated tau from its decay products (NonInteract, NuclInteraction, DecaytoElectron/Muon, One/Three/FiveProng or UnknownOutCome).
Definition at line 257 of file TruthClassifiers.h.
|
inline |
Classify an electron (Unknown/Iso/NonIso/Bkg) from its origin; prompt electrons are always Iso.
Definition at line 64 of file TruthClassifiers.h.
|
inline |
Classify a hadron by PDG ID into a ParticleType (Unknown if none applies).
Definition at line 48 of file TruthClassifiers.h.
|
inline |
Classify a muon (Unknown/Iso/NonIso/Bkg) from its origin; prompt muons are always Iso.
Definition at line 84 of file TruthClassifiers.h.
|
inline |
Classify a photon (Unknown/Iso/NonIso/Bkg) from its origin.
Definition at line 121 of file TruthClassifiers.h.
|
inline |
Classify a tau (Unknown/Iso/NonIso/Bkg) from its origin.
Definition at line 103 of file TruthClassifiers.h.
|
inline |
Tell whether a particle is prompt, from the word returned by defOrigOfParticle().
| allow_prompt_tau_decays | count products of prompt tau decays as prompt |
Definition at line 193 of file TruthClassifiers.h.