Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackbase_historic/SvtxPHG4ParticleMap_v1.h>
Public Member Functions | |
SvtxPHG4ParticleMap_v1 () | |
SvtxPHG4ParticleMap_v1 (const SvtxPHG4ParticleMap_v1 &map) | |
SvtxPHG4ParticleMap_v1 & | operator= (const SvtxPHG4ParticleMap_v1 &map) |
~SvtxPHG4ParticleMap_v1 () 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. | |
bool | empty () const override |
std::size_t | size () const override |
std::size_t | count (const unsigned int key) const override |
void | clear () override |
bool | processed () const override |
void | setProcessed (const bool process) override |
const WeightedTruthTrackMap & | get (const unsigned int key) const override |
WeightedTruthTrackMap & | get (const unsigned int key) override |
WeightedTruthTrackMap | insert (const unsigned int key, const WeightedTruthTrackMap map) override |
std::size_t | erase (const unsigned int key) override |
ConstIter | begin () const override |
ConstIter | find (const unsigned int key) const override |
ConstIter | end () const override |
Iter | begin () override |
Iter | find (const unsigned int key) override |
Iter | end () override |
Public Member Functions inherited from SvtxPHG4ParticleMap | |
~SvtxPHG4ParticleMap () override | |
virtual WeightedTruthTrackMap | insert (const unsigned int, const WeightedTruthTrackMap) |
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) |
Private Member Functions | |
ClassDefOverride (SvtxPHG4ParticleMap_v1, 1) | |
Private Attributes | |
SvtxPHG4ParticleMap::Map | m_map |
bool | m_processed = false |
Additional Inherited Members | |
Public Types inherited from SvtxPHG4ParticleMap | |
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 |
Protected Member Functions inherited from SvtxPHG4ParticleMap | |
SvtxPHG4ParticleMap () | |
Definition at line 7 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 7 of file SvtxPHG4ParticleMap_v1.h
SvtxPHG4ParticleMap_v1::SvtxPHG4ParticleMap_v1 | ( | ) |
Definition at line 3 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 3 of file SvtxPHG4ParticleMap_v1.cc
Referenced by CloneMe().
SvtxPHG4ParticleMap_v1::SvtxPHG4ParticleMap_v1 | ( | const SvtxPHG4ParticleMap_v1 & | map | ) |
Definition at line 7 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 7 of file SvtxPHG4ParticleMap_v1.cc
References begin(), end(), and m_map.
|
override |
Definition at line 30 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 30 of file SvtxPHG4ParticleMap_v1.cc
References Reset().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 40 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 40 of file SvtxPHG4ParticleMap_v1.h
References m_map.
Referenced by operator=(), and SvtxPHG4ParticleMap_v1().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 47 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 47 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
private |
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 24 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 24 of file SvtxPHG4ParticleMap_v1.h
References m_map.
Referenced by Reset().
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 17 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 17 of file SvtxPHG4ParticleMap_v1.h
References SvtxPHG4ParticleMap_v1().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 23 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 23 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 21 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 21 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 45 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 45 of file SvtxPHG4ParticleMap_v1.h
References m_map.
Referenced by operator=(), and SvtxPHG4ParticleMap_v1().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 49 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 49 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 35 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 35 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 41 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 41 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 48 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 48 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
overridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 58 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 58 of file SvtxPHG4ParticleMap_v1.cc
References SvtxPHG4ParticleMap::get(), and m_map.
Referenced by BuildResonanceJetTaggingTree::findMatchedTruthD0(), and KFParticle_truthAndDetTools::getTruthTrack().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 30 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 30 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 35 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 35 of file SvtxPHG4ParticleMap_v1.cc
|
override |
Definition at line 52 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 52 of file SvtxPHG4ParticleMap_v1.cc
References m_map.
|
inlineoverridevirtual |
isValid returns non zero if object contains vailid data
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 16 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 16 of file SvtxPHG4ParticleMap_v1.h
SvtxPHG4ParticleMap_v1 & SvtxPHG4ParticleMap_v1::operator= | ( | const SvtxPHG4ParticleMap_v1 & | map | ) |
Definition at line 18 of file SvtxPHG4ParticleMap_v1.cc.
View newest version in sPHENIX GitHub at line 18 of file SvtxPHG4ParticleMap_v1.cc
References begin(), end(), m_map, and Reset().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 26 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 26 of file SvtxPHG4ParticleMap_v1.h
References m_processed.
|
inlineoverridevirtual |
Clear Event.
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 19 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 19 of file SvtxPHG4ParticleMap_v1.h
References clear(), and m_processed.
Referenced by operator=(), and ~SvtxPHG4ParticleMap_v1().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 27 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 27 of file SvtxPHG4ParticleMap_v1.h
References m_processed, and tgeo-response2json::process().
|
inlineoverridevirtual |
Reimplemented from SvtxPHG4ParticleMap.
Definition at line 22 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 22 of file SvtxPHG4ParticleMap_v1.h
References m_map.
|
private |
Definition at line 52 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 52 of file SvtxPHG4ParticleMap_v1.h
Referenced by begin(), clear(), count(), empty(), end(), erase(), find(), get(), identify(), insert(), operator=(), size(), and SvtxPHG4ParticleMap_v1().
|
private |
Definition at line 53 of file SvtxPHG4ParticleMap_v1.h.
View newest version in sPHENIX GitHub at line 53 of file SvtxPHG4ParticleMap_v1.h
Referenced by processed(), Reset(), and setProcessed().