Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackbase_historic/SvtxPHG4ParticleMap.h>
Public Types | |
typedef std::map< float, std::set< int > > | WeightedTruthTrackMap |
Reco->Truth map with structure <reco track key, std::map< weight, std::set<g4part id>>> | |
typedef std::map< unsigned int, WeightedTruthTrackMap > | Map |
typedef std::map< unsigned int, WeightedTruthTrackMap > ::const_iterator | ConstIter |
typedef std::map< unsigned int, WeightedTruthTrackMap > ::iterator | Iter |
Public Member Functions | |
~SvtxPHG4ParticleMap () override | |
void | identify (std::ostream &os=std::cout) const override |
int | isValid () const override |
isValid returns non zero if object contains vailid data | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
void | Reset () override |
Clear Event. | |
virtual bool | empty () const |
virtual std::size_t | size () const |
virtual std::size_t | count (const unsigned int) const |
virtual void | clear () |
virtual bool | processed () const |
virtual void | setProcessed (const bool) |
virtual const WeightedTruthTrackMap & | get (const unsigned int) const |
virtual WeightedTruthTrackMap & | get (const unsigned int) |
virtual WeightedTruthTrackMap | insert (const unsigned int, const WeightedTruthTrackMap) |
virtual std::size_t | erase (const unsigned int) |
virtual ConstIter | begin () const |
virtual ConstIter | find (const unsigned int) const |
virtual ConstIter | end () const |
virtual Iter | begin () |
virtual Iter | find (const unsigned int) |
virtual Iter | end () |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Member Functions | |
SvtxPHG4ParticleMap () | |
Private Member Functions | |
ClassDefOverride (SvtxPHG4ParticleMap, 1) | |
Definition at line 10 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 10 of file SvtxPHG4ParticleMap.h
typedef std::map<unsigned int, WeightedTruthTrackMap>::const_iterator SvtxPHG4ParticleMap::ConstIter |
Definition at line 16 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 16 of file SvtxPHG4ParticleMap.h
typedef std::map<unsigned int, WeightedTruthTrackMap>::iterator SvtxPHG4ParticleMap::Iter |
Definition at line 17 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 17 of file SvtxPHG4ParticleMap.h
typedef std::map<unsigned int, WeightedTruthTrackMap> SvtxPHG4ParticleMap::Map |
Definition at line 15 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 15 of file SvtxPHG4ParticleMap.h
typedef std::map<float, std::set<int> > SvtxPHG4ParticleMap::WeightedTruthTrackMap |
Reco->Truth map with structure <reco track key, std::map< weight, std::set<g4part id>>>
Definition at line 14 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 14 of file SvtxPHG4ParticleMap.h
|
inlineoverride |
Definition at line 19 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 19 of file SvtxPHG4ParticleMap.h
|
inlineprotected |
Definition at line 51 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 51 of file SvtxPHG4ParticleMap.h
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 21 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 21 of file SvtxPHG4ParticleMap.cc
References DummySvtxPHG4ParticleMap.
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 36 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 36 of file SvtxPHG4ParticleMap.cc
References DummySvtxPHG4ParticleMap.
|
private |
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 32 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 32 of file SvtxPHG4ParticleMap.h
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from PHObject.
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 27 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 27 of file SvtxPHG4ParticleMap.h
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 31 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 31 of file SvtxPHG4ParticleMap.h
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 29 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 29 of file SvtxPHG4ParticleMap.h
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 31 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 31 of file SvtxPHG4ParticleMap.cc
References DummySvtxPHG4ParticleMap.
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 46 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 46 of file SvtxPHG4ParticleMap.cc
References DummySvtxPHG4ParticleMap.
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 40 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 40 of file SvtxPHG4ParticleMap.h
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 26 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 26 of file SvtxPHG4ParticleMap.cc
References DummySvtxPHG4ParticleMap.
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 41 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 41 of file SvtxPHG4ParticleMap.cc
References DummySvtxPHG4ParticleMap.
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 6 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 6 of file SvtxPHG4ParticleMap.cc
References emptyTruthMap.
Referenced by SvtxTrackEval::all_truth_particles(), SvtxPHG4ParticleMap_v1::get(), and SvtxTrackEval::max_truth_particle_by_nclusters().
|
virtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 11 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 11 of file SvtxPHG4ParticleMap.cc
References emptyTruthMap.
|
inlineoverridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 21 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 21 of file SvtxPHG4ParticleMap.h
References os.
Referenced by SvtxTruthRecoTableEval::ResetEvent().
|
virtual |
Definition at line 16 of file SvtxPHG4ParticleMap.cc.
View newest version in sPHENIX GitHub at line 16 of file SvtxPHG4ParticleMap.cc
References emptyTruthMap.
Referenced by SvtxTruthRecoTableEval::fillRecoMap(), and FillTruthRecoMatchMap::process_event().
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 26 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 26 of file SvtxPHG4ParticleMap.h
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 34 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 34 of file SvtxPHG4ParticleMap.h
Referenced by SvtxTrackEval::all_truth_particles(), and SvtxTrackEval::max_truth_particle_by_nclusters().
|
inlineoverridevirtual |
Clear Event.
Reimplemented from PHObject.
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 28 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 28 of file SvtxPHG4ParticleMap.h
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 35 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 35 of file SvtxPHG4ParticleMap.h
Referenced by SvtxTruthRecoTableEval::fillRecoMap().
|
inlinevirtual |
Reimplemented in SvtxPHG4ParticleMap_v1.
Definition at line 30 of file SvtxPHG4ParticleMap.h.
View newest version in sPHENIX GitHub at line 30 of file SvtxPHG4ParticleMap.h
Referenced by DumpSvtxPHG4ParticleMap::process_Node().