![]() |
ATLAS Offline Software
|
#include <vector>
#include <cmath>
#include <algorithm>
#include <array>
#include <cstdlib>
#include <set>
#include "TruthUtils/MagicNumbers.h"
#include "AtlasPID.h"
Go to the source code of this file.
Namespaces | |
MC | |
Functions | |
template<class T > | |
bool | MC::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 | MC::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 | MC::isBeam (const T &p) |
template<class T > | |
bool | MC::isDecayed (const T &p) |
template<class T > | |
bool | MC::isStable (const T &p) |
template<class T > | |
bool | MC::isFinalState (const T &p) |
template<class T > | |
bool | MC::isPhysical (const T &p) |
template<class T > | |
bool | MC::isPhysicalHadron (const T &p) |
template<class T > | |
bool | MC::isGenStable (const T &p) |
Determine if the particle is stable at the generator (not det-sim) level,. More... | |
template<class T > | |
bool | MC::isSimStable (const T &p) |
Identify if the particle is considered stable at the post-detector-sim stage. More... | |
template<class T > | |
bool | MC::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 | MC::isStableOrSimDecayed (const T &p) |
Identify if particle is satble or decayed in simulation. More... | |
template<class T > | |
bool | MC::isZeroEnergyPhoton (const T &p) |
Identify a photon with zero energy. Probably a workaround for a generator bug. More... | |
template<class T > | |
bool | MC::isSingleParticle (const T &p) |
template<class T > | |
bool | MC::isSpecialNonInteracting (const T &p) |
template<class T > | |
T | MC::getMother (T thePart) |
Function to get a mother of particle. MCTruthClassifier legacy. More... | |
template<class C , class T > | |
T | MC::find_matching (C TruthTES, T bcin) |
Function to find a particle in container. More... | |
template<class T > | |
void | MC::findAllJetMothers (T thePart, std::set< T > &allJetMothers) |
Function to find all ancestors of the particle. More... | |
template<class T > | |
void | MC::findParticleDaughters (T thePart, std::set< T > &daughters) |
Function to get the particle stable MC daughters. More... | |
template<class T > | |
T | MC::isHadronFromB (T p) |
Function to get the parent B hadron. More... | |
template<class T > | |
bool | MC::isHardScatVrtx (T pVert) |
Function to classify the vertex as hard scattering vertex. More... | |
template<class T > | |
bool | MC::fromHadron (T p, T hadptr, bool &fromTau, bool &fromBSM) |
Function to classify the particle. More... | |
template<class T > | |
auto | MC::findEndVert (T thePart) -> decltype(thePart->end_vertex()) |
Function to find the end vertex of a particle. More... | |
template<class V > | |
auto | MC::findFinalStatePart (V EndVert) -> decltype(EndVert->particles_out()) |
Function to find the stable particle descendants of the gived vertex.. More... | |
ATLAS-specific HepMC functions
Definition in file HepMCHelpers.h.