#include <TrackCategories.h>
Public Types | |
enum | Category { Fake = 0, Reconstructed = Fake, Bad, BadInnerHits, SharedInnerHits, SignalEvent, Bottom, Charm, Light, Muon, TrackerSimHits, BWeakDecay, CWeakDecay, ChargePionDecay, ChargeKaonDecay, TauDecay, KsDecay, LambdaDecay, JpsiDecay, XiDecay, OmegaDecay, SigmaPlusDecay, SigmaMinusDecay, LongLivedDecay, KnownProcess, UndefinedProcess, UnknownProcess, PrimaryProcess, HadronicProcess, DecayProcess, ComptonProcess, AnnihilationProcess, EIoniProcess, HIoniProcess, MuIoniProcess, PhotonProcess, MuPairProdProcess, ConversionsProcess, EBremProcess, SynchrotronRadiationProcess, MuBremProcess, MuNuclProcess, FromBWeakDecayMuon, FromCWeakDecayMuon, DecayOnFlightMuon, FromChargePionMuon, FromChargeKaonMuon, PrimaryVertex, SecondaryVertex, TertiaryVertex, TierciaryVertex = TertiaryVertex, Unknown } |
Categories available to vertex. More... | |
typedef std::vector< bool > | Flags |
Main types associated to the class. More... | |
Public Member Functions | |
const Flags & | flags () const |
Returns flags with the category descriptions. More... | |
bool | is (Category category) const |
Returns track flag for a given category. More... | |
TrackCategories () | |
Void constructor. More... | |
Static Public Attributes | |
static const char *const | Names [] |
Name of the different categories. More... | |
Protected Member Functions | |
void | reset () |
Reset the categories flags. More... | |
void | unknownTrack () |
Protected Attributes | |
Flags | flags_ |
Flag containers. More... | |
Definition at line 7 of file TrackCategories.h.
typedef std::vector<bool> TrackCategories::Flags |
Main types associated to the class.
Definition at line 73 of file TrackCategories.h.
Categories available to vertex.
Definition at line 13 of file TrackCategories.h.
|
inline |
|
inline |
Returns flags with the category descriptions.
Definition at line 88 of file TrackCategories.h.
References flags_.
Referenced by BDHadronTrackMonitoringAnalyzer::analyze(), TrackClassifierByProxy< Collection >::evaluate(), and operator<<().
|
inline |
Returns track flag for a given category.
Definition at line 82 of file TrackCategories.h.
References python.rootplot.argparse::category, and flags_.
Referenced by TrackCategoriesAnalyzer::analyze(), TrackingParticleCategoriesAnalyzer::analyze(), TrackHistoryAnalyzer::analyze(), QualityCutsAnalyzer::LoopOverJetTracksAssociation(), and JetVetoedTracksAssociationDRVertex::produce().
|
inlineprotected |
Reset the categories flags.
Definition at line 96 of file TrackCategories.h.
References flags_, Unknown, and unknownTrack().
Referenced by TrackClassifierByProxy< Collection >::evaluate(), TrackClassifier::evaluate(), and TrackCategories().
|
protected |
Definition at line 61 of file TrackCategories.cc.
References flags_, diffTreeTool::index, and Unknown.
Referenced by TrackClassifierByProxy< Collection >::evaluate(), TrackClassifier::evaluate(), and reset().
|
protected |
Flag containers.
Definition at line 105 of file TrackCategories.h.
Referenced by TrackClassifier::evaluate(), TrackClassifierByProxy< Collection >::evaluate(), flags(), TrackClassifier::hadronFlavor(), is(), TrackClassifier::processesAtGenerator(), TrackClassifier::processesAtSimulation(), TrackClassifier::qualityInformation(), TrackClassifier::reconstructionInformation(), reset(), TrackClassifier::simulationInformation(), unknownTrack(), and TrackClassifier::vertexInformation().
|
static |
Name of the different categories.
Definition at line 70 of file TrackCategories.h.
Referenced by operator<<(), TrackCategoriesAnalyzer::TrackCategoriesAnalyzer(), and TrackingParticleCategoriesAnalyzer::TrackingParticleCategoriesAnalyzer().