![]() |
ATLAS Offline Software
|
#include "TruthUtils/HepMCHelpers.h"#include "TruthUtils/DecayProducts.h"#include <utility>#include <bitset>#include <vector>#include <string>#include "TruthUtils/TruthClasses.h"Go to the source code of this file.
Namespaces | |
| namespace | MCTruthPartClassifier |
Enumerations | |
| enum | MCTruthPartClassifier::MCTC_bits : unsigned int { MCTruthPartClassifier::HadTau =0 , MCTruthPartClassifier::Tau , MCTruthPartClassifier::hadron , MCTruthPartClassifier::frombsm , MCTruthPartClassifier::uncat , MCTruthPartClassifier::isbsm , MCTruthPartClassifier::isgeant , MCTruthPartClassifier::stable , MCTruthPartClassifier::totalBits } |
| Bit positions of the particle classification word built by defOrigOfParticle(). More... | |
Functions | |
| ParticleOrigin | MCTruthPartClassifier::convHadronTypeToOrig (ParticleType pType, int motherPDG) |
| Convert a hadron ParticleType to a ParticleOrigin (JPsi if a c-cbar meson has a J/psi mother). | |
| ParticleOrigin | MCTruthPartClassifier::defHadronType (int pdg) |
| Classify a hadron by PDG ID into a ParticleOrigin (NonDefined if none applies). | |
| ParticleType | MCTruthPartClassifier::defTypeOfHadron (int pdg) |
| Classify a hadron by PDG ID into a ParticleType (Unknown if none applies). | |
| ParticleType | MCTruthPartClassifier::defTypeOfElectron (ParticleOrigin EleOrig, bool isPrompt) |
| Classify an electron (Unknown/Iso/NonIso/Bkg) from its origin; prompt electrons are always Iso. | |
| ParticleType | MCTruthPartClassifier::defTypeOfMuon (ParticleOrigin MuOrig, bool isPrompt) |
| Classify a muon (Unknown/Iso/NonIso/Bkg) from its origin; prompt muons are always Iso. | |
| ParticleType | MCTruthPartClassifier::defTypeOfTau (ParticleOrigin TauOrig) |
| Classify a tau (Unknown/Iso/NonIso/Bkg) from its origin. | |
| ParticleType | MCTruthPartClassifier::defTypeOfPhoton (ParticleOrigin PhotOrig) |
| Classify a photon (Unknown/Iso/NonIso/Bkg) from its origin. | |
| template<class T> | |
| ParticleOrigin | MCTruthPartClassifier::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 > | MCTruthPartClassifier::defOrigOfParticle (T thePart) |
| Classify a particle into a bit-word (see MCTC_bits). | |
| int | MCTruthPartClassifier::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 | MCTruthPartClassifier::defOutComeOfElectron (T thePart) |
| Determine the outcome of a simulated electron from its end vertex (NonInteract, ElectrMagInter, NuclInteraction or UnknownOutCome). | |
| template<class T> | |
| ParticleOutCome | MCTruthPartClassifier::defOutComeOfMuon (T thePart) |
| Determine the outcome of a simulated muon from its end vertex (NonInteract, DecaytoElectron, NuclInteraction or UnknownOutCome). | |
| template<class T> | |
| 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). | |
| template<class T> | |
| ParticleOutCome | MCTruthPartClassifier::defOutComeOfPhoton (T thePart) |
| Determine the outcome of a simulated photon from its end vertex (UnConverted, Converted, NuclInteraction or UnknownOutCome). | |