ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrHitSetContainerv1.h>
Public Member Functions | |
TrkrHitSetContainerv1 ()=default | |
~TrkrHitSetContainerv1 () override | |
void | Reset () override |
PHObject functions. | |
void | identify (std::ostream &=std::cout) const override |
ConstIterator | addHitSet (TrkrHitSet *) override |
Add a TrkrHitSet to the container. | |
ConstIterator | addHitSetSpecifyKey (const TrkrDefs::hitsetkey, TrkrHitSet *) override |
void | removeHitSet (TrkrDefs::hitsetkey) override |
preferred removal method, key is currently the hit id | |
void | removeHitSet (TrkrHitSet *) override |
inefficent, use key where possible instead | |
Iterator | findOrAddHitSet (TrkrDefs::hitsetkey key) override |
find or add HitSet | |
ConstRange | getHitSets (const TrkrDefs::TrkrId trackerid) const override |
return all HitSets matching a given detid | |
ConstRange | getHitSets (const TrkrDefs::TrkrId trackerid, const uint8_t layer) const override |
return all HitSets matching a given detid, layer | |
ConstRange | getHitSets () const override |
return all HitSets | |
TrkrHitSet * | findHitSet (TrkrDefs::hitsetkey key) override |
return a given HitSet based on its key | |
unsigned int | size () const override |
Public Member Functions inherited from TrkrHitSetContainer | |
~TrkrHitSetContainer () override=default | |
dtir | |
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 int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Attributes | |
Map | m_hitmap |
Additional Inherited Members | |
Public Types inherited from TrkrHitSetContainer | |
using | Map = std::map< TrkrDefs::hitsetkey, TrkrHitSet * > |
using | Iterator = Map::iterator |
using | ConstIterator = Map::const_iterator |
using | Range = std::pair< Iterator, Iterator > |
using | ConstRange = std::pair< ConstIterator, ConstIterator > |
Protected Member Functions inherited from TrkrHitSetContainer | |
TrkrHitSetContainer ()=default | |
ctor | |
Container for TrkrHitSet objects
Definition at line 21 of file TrkrHitSetContainerv1.h.
View newest version in sPHENIX GitHub at line 21 of file TrkrHitSetContainerv1.h
|
default |
|
inlineoverride |
Definition at line 28 of file TrkrHitSetContainerv1.h.
View newest version in sPHENIX GitHub at line 28 of file TrkrHitSetContainerv1.h
References Reset().
|
overridevirtual |
Add a TrkrHitSet to the container.
Reimplemented from TrkrHitSetContainer.
Definition at line 36 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 36 of file TrkrHitSetContainerv1.cc
References addHitSetSpecifyKey(), and TrkrHitSet::getHitSetKey().
|
overridevirtual |
Reimplemented from TrkrHitSetContainer.
Definition at line 40 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 40 of file TrkrHitSetContainerv1.cc
References g4zmq::exit(), and m_hitmap.
Referenced by addHitSet().
|
overridevirtual |
return a given HitSet based on its key
Reimplemented from TrkrHitSetContainer.
Definition at line 91 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 91 of file TrkrHitSetContainerv1.cc
|
overridevirtual |
find or add HitSet
Reimplemented from TrkrHitSetContainer.
Definition at line 79 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 79 of file TrkrHitSetContainerv1.cc
|
overridevirtual |
return all HitSets matching a given detid
Reimplemented from TrkrHitSetContainer.
Definition at line 59 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 59 of file TrkrHitSetContainerv1.cc
References TrkrDefs::getHitSetKeyHi(), TrkrDefs::getHitSetKeyLo(), and m_hitmap.
|
overridevirtual |
return all HitSets matching a given detid, layer
Reimplemented from TrkrHitSetContainer.
Definition at line 67 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 67 of file TrkrHitSetContainerv1.cc
References TrkrDefs::getHitSetKeyHi(), TrkrDefs::getHitSetKeyLo(), and m_hitmap.
|
overridevirtual |
return all HitSets
Reimplemented from TrkrHitSetContainer.
Definition at line 75 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 75 of file TrkrHitSetContainerv1.cc
References m_hitmap.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 22 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 22 of file TrkrHitSetContainerv1.cc
References TrkrDefs::getLayer(), G4TTL::layer, m_hitmap, and size().
|
overridevirtual |
preferred removal method, key is currently the hit id
Reimplemented from TrkrHitSetContainer.
Definition at line 52 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 52 of file TrkrHitSetContainerv1.cc
References m_hitmap.
Referenced by removeHitSet().
|
overridevirtual |
inefficent, use key where possible instead
Reimplemented from TrkrHitSetContainer.
Definition at line 55 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 55 of file TrkrHitSetContainerv1.cc
References TrkrHitSet::getHitSetKey(), and removeHitSet().
|
overridevirtual |
PHObject functions.
Reimplemented from TrkrHitSetContainer.
Definition at line 14 of file TrkrHitSetContainerv1.cc.
View newest version in sPHENIX GitHub at line 14 of file TrkrHitSetContainerv1.cc
References m_hitmap.
Referenced by ~TrkrHitSetContainerv1().
Reimplemented from TrkrHitSetContainer.
Definition at line 53 of file TrkrHitSetContainerv1.h.
View newest version in sPHENIX GitHub at line 53 of file TrkrHitSetContainerv1.h
References m_hitmap.
Referenced by identify().
|
private |
Definition at line 58 of file TrkrHitSetContainerv1.h.
View newest version in sPHENIX GitHub at line 58 of file TrkrHitSetContainerv1.h
Referenced by addHitSetSpecifyKey(), findHitSet(), findOrAddHitSet(), getHitSets(), identify(), removeHitSet(), Reset(), and size().