|
ATLAS Offline Software
|
Go to the documentation of this file.
22 #ifndef TRIGINDETTRACK_TRUTH_H
23 #define TRIGINDETTRACK_TRUTH_H
83 const std::vector< std::pair<unsigned int, unsigned int> >&
getFamilyTree()
const;
103 std::vector< std::pair<unsigned int, unsigned int> >
m_family_tree;
const std::vector< std::pair< unsigned int, unsigned int > > & getFamilyTree() const
returns copy of family tree "map"
unsigned int nrCommonHitsBestTRT() const
returns total number of common hits from best match true particle and TrigInDetTrack
std::vector< HepMcParticleLink > m_true_part_vec
int index(HepMcParticleLink &) const
method to find if a given HepMcParticleLink already exists in "map" and, if so, what is its index; if...
const HepMcParticleLink * bestSiMatch() const
returns best match according to the number of hits
std::vector< std::pair< unsigned int, unsigned int > > m_family_tree
const HepMcParticleLink * bestMatch() const
returns best match according to the number of hits
unsigned int nrCommonTRTHits(unsigned int i) const
returns number of common hits from true particle i and TrigInDetTrack
const HepMcParticleLink * truthMatch(unsigned int i) const
returns matching true particle number i
a link optimized in size for a GenParticle in a McEventCollection
unsigned int nrCommonHitsBestSi() const
returns total number of common hits from best match true particle and TrigInDetTrack
friend class TrigInDetTrackTruthCnv_p1_test
std::vector< TrigIDHitStats > m_nr_common_hits
bool daughtersInChain(unsigned int) const
given index of a GenParticle which matches the track returns true if it has stable a daughter which a...
unsigned int nrCommonSiHits(unsigned int i) const
returns number of common hits from true particle i and TrigInDetTrack
int m_best_TRT_match_hits
const HepMcParticleLink * bestTRTMatch() const
returns best match according to the number of hits
int addMatch(HepMcParticleLink p_tru_part, TrigIDHitStats hits)
accessor to fill object: returns index of new entry in vectors
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual ~TrigInDetTrackTruth()
std::vector< unsigned int > daughterIndicesInChain(unsigned int) const
given index of a GenParticle which matches the track returns vector with indices of its daughters,...
unsigned int nrMatches() const
returns number of matching particles
int motherIndexInChain(unsigned int) const
given index of a GenParticle which matches the track returns index of its mother,...
bool motherInChain(unsigned int) const
given index of a GenParticle which matches the track returns true if its mother also matches the trac...
int updateFamilyTree()
accessor to fill family tree: for each HepMcParticleLink in the internal vector of HepMC::GenParticle...
TrigInDetTrackTruth()
Constructors: POOL needs default constructor.
macros to associate a CLID to a type
unsigned int nrCommonHits(unsigned int i) const
returns number of common hits from true particle i and TrigInDetTrack