ATLAS Offline Software
|
Namespaces | |
Pythia8 | |
Classes | |
class | Loops |
Functions | |
template<class T > | |
bool | isInteracting (const T &p) |
Identify if the particle with given PDG ID would not interact with the detector, i.e. not a neutrino or WIMP. More... | |
template<class T > | |
bool | isChargedNonShowering (const T &p) |
Identify if the particle with given PDG ID would produce ID tracks but not shower in the detector if stable. More... | |
template<class T > | |
bool | isBeam (const T &p) |
Identify if the particle is beam particle. More... | |
template<class T > | |
bool | isDecayed (const T &p) |
Identify if the particle decayed. More... | |
template<class T > | |
bool | isStable (const T &p) |
Identify if the particle is stable, i.e. has not decayed. More... | |
template<class T > | |
bool | isFinalState (const T &p) |
Identify if the particle is final state particle. More... | |
template<class T > | |
bool | isPhysical (const T &p) |
Identify if the particle is physical, i.e. is stable or decayed. More... | |
template<class T > | |
bool | isGenStable (const T &p) |
Determine if the particle is stable at the generator (not det-sim) level,. More... | |
template<class T > | |
bool | isSimStable (const T &p) |
Identify if the particle is considered stable at the post-detector-sim stage. More... | |
template<class T > | |
bool | isSimInteracting (const T &p) |
Identify if the particle could interact with the detector during the simulation, e.g. not a neutrino or WIMP. More... | |
template<class T > | |
bool | isStableOrSimDecayed (const T &p) |
Identify if particle is satble or decayed in simulation. More... | |
template<class T > | |
bool | isZeroEnergyPhoton (const T &p) |
Identify a photon with zero energy. Probably a workaround for a generator bug. More... | |
template<class T > | |
bool | isSingleParticle (const T &p) |
Identify a particlegun particle. More... | |
template<class T > | |
bool | isSpecialNonInteracting (const T &p) |
Identify a special non-interacting particles. More... | |
template<class T > | |
T | findMother (T thePart) |
Function to get a mother of particle. MCTruthClassifier legacy. More... | |
template<class C , class T > | |
T | findMatching (C TruthContainer, T p) |
Function to find a particle in container. More... | |
template<class T > | |
void | findParticleAncestors (T thePart, std::set< T > &allancestors) |
Function to find all ancestors of the particle. More... | |
template<class T > | |
void | findParticleStableDescendants (T thePart, std::set< T > &allstabledescendants) |
Function to get the particle stable MC daughters. More... | |
template<class T > | |
bool | isHardScatteringVertex (T pVert) |
Function to classify the vertex as hard scattering vertex. More... | |
template<class T > | |
bool | isFromHadron (T p, T hadron, bool &fromTau, bool &fromBSM) |
Function to classify the particle. More... | |
template<class T > | |
auto | findSimulatedEndVertex (T thePart) -> decltype(thePart->end_vertex()) |
Function to find the end vertex of a particle. More... | |
template<class V > | |
auto | findFinalStateParticles (V theVert) -> decltype(theVert->particles_out()) |
Function to find the stable particle descendants of the given vertex.. More... | |
auto MC::findFinalStateParticles | ( | V | theVert | ) | -> decltype(theVert->particles_out()) |
Function to find the stable particle descendants of the given vertex..
This can be used for HepMC3::GenVertexPtr, HepMC3::ConstGenVertexPtr or xAOD::TruthVertex* and particle counterparts
Definition at line 247 of file HepMCHelpers.h.
T MC::findMatching | ( | C | TruthContainer, |
T | p | ||
) |
Function to find a particle in container.
This can be used for HepMC3::GenVertexPtr, HepMC3::ConstGenVertexPtr or xAOD::TruthVertex*
Definition at line 127 of file HepMCHelpers.h.
T MC::findMother | ( | T | thePart | ) |
Function to get a mother of particle. MCTruthClassifier legacy.
This can be used for HepMC3::GenVertexPtr, HepMC3::ConstGenVertexPtr or xAOD::TruthVertex*
Definition at line 94 of file HepMCHelpers.h.
void MC::findParticleAncestors | ( | T | thePart, |
std::set< T > & | allancestors | ||
) |
Function to find all ancestors of the particle.
This can be used for HepMC3::GenParticlePtr, HepMC3::ConstGenParticlePtr or xAOD::TruthParticle*
Definition at line 140 of file HepMCHelpers.h.
void MC::findParticleStableDescendants | ( | T | thePart, |
std::set< T > & | allstabledescendants | ||
) |
Function to get the particle stable MC daughters.
This can be used for HepMC3::GenParticlePtr, HepMC3::ConstGenParticlePtr or xAOD::TruthParticle*
Definition at line 152 of file HepMCHelpers.h.
auto MC::findSimulatedEndVertex | ( | T | thePart | ) | -> decltype(thePart->end_vertex()) |
Function to find the end vertex of a particle.
This algorithm allows for 1->1 decays.
This can be used for HepMC3::GenVertexPtr, HepMC3::ConstGenVertexPtr or xAOD::TruthVertex* and particle counterparts
Definition at line 219 of file HepMCHelpers.h.
|
inline |
|
inline |
Identify if the particle with given PDG ID would produce ID tracks but not shower in the detector if stable.
Definition at line 36 of file HepMCHelpers.h.
|
inline |
|
inline |
bool MC::isFromHadron | ( | T | p, |
T | hadron, | ||
bool & | fromTau, | ||
bool & | fromBSM | ||
) |
Function to classify the particle.
AV: This is MCtruthClassifier legacy. The function should be improved in the future. This can be used for HepMC3::GenVertexPtr, HepMC3::ConstGenVertexPtr or xAOD::TruthVertex*
Definition at line 194 of file HepMCHelpers.h.
|
inline |
Determine if the particle is stable at the generator (not det-sim) level,.
Definition at line 54 of file HepMCHelpers.h.
bool MC::isHardScatteringVertex | ( | T | pVert | ) |
Function to classify the vertex as hard scattering vertex.
AV: This is MCtruthClassifier legacy. Note that this function willnot capture some cases of the HardScattering vertices. The function should be improved in the future. This can be used for HepMC3::GenVertexPtr, HepMC3::ConstGenVertexPtr or xAOD::TruthVertex*
Definition at line 168 of file HepMCHelpers.h.
|
inline |
Identify if the particle with given PDG ID would not interact with the detector, i.e. not a neutrino or WIMP.
Definition at line 33 of file HepMCHelpers.h.
|
inline |
Identify if the particle is physical, i.e. is stable or decayed.
Definition at line 51 of file HepMCHelpers.h.
|
inline |
Identify if the particle could interact with the detector during the simulation, e.g. not a neutrino or WIMP.
Definition at line 60 of file HepMCHelpers.h.
|
inline |
Identify if the particle is considered stable at the post-detector-sim stage.
Definition at line 57 of file HepMCHelpers.h.
|
inline |
|
inline |
Identify a special non-interacting particles.
Definition at line 83 of file HepMCHelpers.h.
|
inline |
Identify if the particle is stable, i.e. has not decayed.
Definition at line 45 of file HepMCHelpers.h.
|
inline |
Identify if particle is satble or decayed in simulation.
Definition at line 65 of file HepMCHelpers.h.
|
inline |
Identify a photon with zero energy. Probably a workaround for a generator bug.
Definition at line 71 of file HepMCHelpers.h.