Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4tracking/EmbRecoMatchv1.h>
Public Member Functions | |
~EmbRecoMatchv1 () override=default | |
unsigned short | idTruthTrack () const override |
unsigned short | nClustersTruth () const override |
unsigned short | nMatches () const override |
unsigned short | idRecoTrack (unsigned short i=0) const override |
unsigned short | idTpcTrackSeed (unsigned short i=0) const override |
unsigned short | idSvtxTrackSeed (unsigned short i=0) const override |
unsigned short | nClustersReco (unsigned short i=0) const override |
unsigned short | nClustersMatched (unsigned short i=0) const override |
EmbRecoMatchv1 (unsigned short id_truth=USHRT_MAX, unsigned short id_reco=USHRT_MAX, unsigned short nclustruth=USHRT_MAX, unsigned short nclusreco=USHRT_MAX, unsigned short nclusmatched=USHRT_MAX, unsigned short id_tpctrackseed=USHRT_MAX, unsigned short id_svtxtrackseed=USHRT_MAX) | |
unsigned short | add_match (unsigned short id_reco=USHRT_MAX, unsigned short nclusreco=USHRT_MAX, unsigned short nclusmatched=USHRT_MAX, unsigned short id_tpctrackseed=USHRT_MAX, unsigned short id_svtxtrackseed=USHRT_MAX) |
void | identify (std::ostream &os=std::cout) const override |
Public Member Functions inherited from EmbRecoMatch | |
EmbRecoMatch () | |
~EmbRecoMatch () override=default | |
virtual float | nRatioMatched () const |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual void | Reset () |
Clear Event. | |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Public Attributes | |
m_nClustersTruth { nclustruth } | |
m_nMatches { 1 } | |
m_matches | |
Private Attributes | |
unsigned short | m_idTruthTrack {USHRT_MAX} |
unsigned short | m_nClustersTruth {USHRT_MAX} |
unsigned short | m_nMatches {USHRT_MAX} |
std::vector< std::array < unsigned short, 5 > > | m_matches |
Static Private Attributes | |
static constexpr int | MATCH_idReco = 0 |
static constexpr int | MATCH_idTpcSeed = 1 |
static constexpr int | MATCH_idSvtxSeed = 2 |
static constexpr int | MATCH_nClustersReco = 3 |
static constexpr int | MATCH_nClustersMatched = 4 |
Definition at line 12 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 12 of file EmbRecoMatchv1.h
|
overridedefault |
|
inline |
Definition at line 40 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 40 of file EmbRecoMatchv1.h
unsigned short EmbRecoMatchv1::add_match | ( | unsigned short | id_reco = USHRT_MAX , |
unsigned short | nclusreco = USHRT_MAX , |
||
unsigned short | nclusmatched = USHRT_MAX , |
||
unsigned short | id_tpctrackseed = USHRT_MAX , |
||
unsigned short | id_svtxtrackseed = USHRT_MAX |
||
) |
Definition at line 9 of file EmbRecoMatchv1.cc.
View newest version in sPHENIX GitHub at line 9 of file EmbRecoMatchv1.cc
References m_matches, and m_nMatches.
|
inlineoverridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 74 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 74 of file EmbRecoMatchv1.h
References os.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 30 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 30 of file EmbRecoMatchv1.h
References i, m_matches, and MATCH_idReco.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 32 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 32 of file EmbRecoMatchv1.h
References i, m_matches, and MATCH_idSvtxSeed.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 31 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 31 of file EmbRecoMatchv1.h
References i, m_matches, and MATCH_idTpcSeed.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 17 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 17 of file EmbRecoMatchv1.h
References m_idTruthTrack.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 35 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 35 of file EmbRecoMatchv1.h
References i, m_matches, and MATCH_nClustersMatched.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 34 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 34 of file EmbRecoMatchv1.h
References i, m_matches, and MATCH_nClustersReco.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 18 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 18 of file EmbRecoMatchv1.h
References m_nClustersTruth.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatch.
Definition at line 19 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 19 of file EmbRecoMatchv1.h
References m_nMatches.
|
private |
Definition at line 65 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 65 of file EmbRecoMatchv1.h
Referenced by idTruthTrack().
EmbRecoMatchv1::m_matches |
Definition at line 52 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 52 of file EmbRecoMatchv1.h
Referenced by add_match(), idRecoTrack(), idSvtxTrackSeed(), idTpcTrackSeed(), nClustersMatched(), and nClustersReco().
|
private |
Definition at line 69 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 69 of file EmbRecoMatchv1.h
EmbRecoMatchv1::m_nClustersTruth { nclustruth } |
Definition at line 50 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 50 of file EmbRecoMatchv1.h
Referenced by nClustersTruth().
|
private |
Definition at line 66 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 66 of file EmbRecoMatchv1.h
EmbRecoMatchv1::m_nMatches { 1 } |
Definition at line 51 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 51 of file EmbRecoMatchv1.h
Referenced by add_match(), and nMatches().
|
private |
Definition at line 67 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 67 of file EmbRecoMatchv1.h
|
staticprivate |
Definition at line 23 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 23 of file EmbRecoMatchv1.h
Referenced by idRecoTrack().
|
staticprivate |
Definition at line 25 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 25 of file EmbRecoMatchv1.h
Referenced by idSvtxTrackSeed().
|
staticprivate |
Definition at line 24 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 24 of file EmbRecoMatchv1.h
Referenced by idTpcTrackSeed().
|
staticprivate |
Definition at line 27 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 27 of file EmbRecoMatchv1.h
Referenced by nClustersMatched().
|
staticprivate |
Definition at line 26 of file EmbRecoMatchv1.h.
View newest version in sPHENIX GitHub at line 26 of file EmbRecoMatchv1.h
Referenced by nClustersReco().