Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4tracking/EmbRecoMatchContainerv1.h>
Classes | |
struct | CompShortToPair |
Public Member Functions | |
void | Reset () override |
reset method | |
unsigned short | nMatches () const override |
add a match set | |
unsigned short | nTruthUnmatched () const override |
std::vector< unsigned short > & | ids_TruthUnmatched () override |
std::vector< unsigned short > | ids_TruthMatched () const override |
std::vector< unsigned short > | ids_RecoMatched () const override |
std::map< unsigned short, unsigned short > & | map_nRecoPerTruth () override |
std::map< unsigned short, unsigned short > & | map_nTruthPerReco () override |
ConstRange | getMatchedRange () const override |
Vector & | getMatches () override |
void | addMatch (EmbRecoMatch *match) override |
bool | hasTruthMatch (unsigned short idEmb) override |
bool | hasRecoMatch (unsigned short idReco) override |
EmbRecoMatch * | getMatchTruth (unsigned short idEmb, unsigned short offset=0) override |
EmbRecoMatch * | getMatchReco (unsigned short idEmb, unsigned short offset=0) override |
void | identify (std::ostream &os=std::cout) const override |
void | sort () override |
void | checkfill_idsTruthUnmatched (unsigned short) override |
Private Attributes | |
Vector | m_data |
std::vector< std::pair < unsigned short, unsigned short > > | m_RecoToTruth |
std::vector< unsigned short > | m_idsTruthUnmatched |
Map_nMatches | m_nRecoPerTruth |
Map_nMatches | m_nTruthPerReco |
Additional Inherited Members | |
Public Types inherited from EmbRecoMatchContainer | |
using | Vector = std::vector< EmbRecoMatch * > |
using | ConstIterator = Vector::const_iterator |
using | ConstRange = std::pair< ConstIterator, ConstIterator > |
using | Map_nMatches = std::map< unsigned short, unsigned short > |
Protected Member Functions inherited from EmbRecoMatchContainer | |
EmbRecoMatchContainer ()=default | |
Definition at line 9 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 9 of file EmbRecoMatchContainerv1.h
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 18 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 18 of file EmbRecoMatchContainerv1.cc
References EmbRecoMatch::idRecoTrack(), EmbRecoMatch::idTruthTrack(), m_data, m_nRecoPerTruth, m_nTruthPerReco, and m_RecoToTruth.
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 37 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 37 of file EmbRecoMatchContainerv1.cc
References m_idsTruthUnmatched, and m_nRecoPerTruth.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 24 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 24 of file EmbRecoMatchContainerv1.h
References m_data.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 25 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 25 of file EmbRecoMatchContainerv1.h
References m_data.
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 76 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 76 of file EmbRecoMatchContainerv1.cc
References getMatchTruth(), m_RecoToTruth, and offset.
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 64 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 64 of file EmbRecoMatchContainerv1.cc
References m_data, and offset.
Referenced by getMatchReco().
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 91 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 91 of file EmbRecoMatchContainerv1.cc
References m_RecoToTruth.
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 87 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 87 of file EmbRecoMatchContainerv1.cc
References m_data.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from EmbRecoMatchContainer.
Definition at line 95 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 95 of file EmbRecoMatchContainerv1.cc
References Acts::UnitConstants::m, m_data, m_idsTruthUnmatched, n, nMatches(), and nTruthUnmatched().
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 58 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 58 of file EmbRecoMatchContainerv1.cc
References m_RecoToTruth, and vec.
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 52 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 52 of file EmbRecoMatchContainerv1.cc
References train_ambiguity_solver::id, m_data, and vec.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 17 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 17 of file EmbRecoMatchContainerv1.h
References m_idsTruthUnmatched.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 21 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 21 of file EmbRecoMatchContainerv1.h
References m_nRecoPerTruth.
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 22 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 22 of file EmbRecoMatchContainerv1.h
References m_nTruthPerReco.
|
inlineoverridevirtual |
add a match set
Reimplemented from EmbRecoMatchContainer.
Definition at line 15 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 15 of file EmbRecoMatchContainerv1.h
References m_data.
Referenced by identify().
|
inlineoverridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 16 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 16 of file EmbRecoMatchContainerv1.h
References m_idsTruthUnmatched.
Referenced by identify().
|
overridevirtual |
reset method
Reimplemented from EmbRecoMatchContainer.
Definition at line 43 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 43 of file EmbRecoMatchContainerv1.cc
References Acts::UnitConstants::m, m_data, m_idsTruthUnmatched, m_nRecoPerTruth, m_nTruthPerReco, and m_RecoToTruth.
|
overridevirtual |
Reimplemented from EmbRecoMatchContainer.
Definition at line 12 of file EmbRecoMatchContainerv1.cc.
View newest version in sPHENIX GitHub at line 12 of file EmbRecoMatchContainerv1.cc
References m_data, m_idsTruthUnmatched, m_RecoToTruth, and Acts::Experimental::detail::BlueprintHelper::sort().
|
private |
Definition at line 47 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 47 of file EmbRecoMatchContainerv1.h
Referenced by addMatch(), getMatchedRange(), getMatches(), getMatchTruth(), hasTruthMatch(), identify(), ids_TruthMatched(), nMatches(), Reset(), and sort().
|
private |
Definition at line 49 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 49 of file EmbRecoMatchContainerv1.h
Referenced by checkfill_idsTruthUnmatched(), identify(), ids_TruthUnmatched(), nTruthUnmatched(), Reset(), and sort().
|
private |
Definition at line 50 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 50 of file EmbRecoMatchContainerv1.h
Referenced by addMatch(), checkfill_idsTruthUnmatched(), map_nRecoPerTruth(), and Reset().
|
private |
Definition at line 51 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 51 of file EmbRecoMatchContainerv1.h
Referenced by addMatch(), map_nTruthPerReco(), and Reset().
|
private |
Definition at line 48 of file EmbRecoMatchContainerv1.h.
View newest version in sPHENIX GitHub at line 48 of file EmbRecoMatchContainerv1.h
Referenced by addMatch(), getMatchReco(), hasRecoMatch(), ids_RecoMatched(), Reset(), and sort().