Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BlockGeomContainer.h>
Public Types | |
typedef std::map< int, PHG4BlockGeom * > | Map |
typedef Map::iterator | Iterator |
typedef Map::const_iterator | ConstIterator |
typedef std::pair< Iterator, Iterator > | Range |
typedef std::pair < ConstIterator, ConstIterator > | ConstRange |
Public Member Functions | |
PHG4BlockGeomContainer () | |
~PHG4BlockGeomContainer () override | |
void | identify (std::ostream &os=std::cout) const override |
int | AddLayerGeom (const int i, PHG4BlockGeom *mygeom) |
int | AddLayerGeom (PHG4BlockGeom *mygeom) |
PHG4BlockGeom * | GetLayerGeom (const int i) |
int | get_NLayers () const |
std::pair< std::map< int, PHG4BlockGeom * > ::const_iterator, std::map < int, PHG4BlockGeom * > ::const_iterator > | get_begin_end () 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) |
Protected Attributes | |
std::map< int, PHG4BlockGeom * > | _layergeoms |
float | _magfield |
Definition at line 14 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 14 of file PHG4BlockGeomContainer.h
typedef Map::const_iterator PHG4BlockGeomContainer::ConstIterator |
Definition at line 19 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4BlockGeomContainer.h
typedef std::pair<ConstIterator, ConstIterator> PHG4BlockGeomContainer::ConstRange |
Definition at line 21 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4BlockGeomContainer.h
typedef Map::iterator PHG4BlockGeomContainer::Iterator |
Definition at line 18 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4BlockGeomContainer.h
typedef std::map<int, PHG4BlockGeom *> PHG4BlockGeomContainer::Map |
Definition at line 17 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4BlockGeomContainer.h
typedef std::pair<Iterator, Iterator> PHG4BlockGeomContainer::Range |
Definition at line 20 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4BlockGeomContainer.h
PHG4BlockGeomContainer::PHG4BlockGeomContainer | ( | ) |
Definition at line 9 of file PHG4BlockGeomContainer.cc.
View newest version in sPHENIX GitHub at line 9 of file PHG4BlockGeomContainer.cc
|
override |
Definition at line 14 of file PHG4BlockGeomContainer.cc.
View newest version in sPHENIX GitHub at line 14 of file PHG4BlockGeomContainer.cc
References _layergeoms.
int PHG4BlockGeomContainer::AddLayerGeom | ( | const int | i, |
PHG4BlockGeom * | mygeom | ||
) |
Definition at line 36 of file PHG4BlockGeomContainer.cc.
View newest version in sPHENIX GitHub at line 36 of file PHG4BlockGeomContainer.cc
References _layergeoms, i, and PHG4BlockGeom::set_layer().
Referenced by PHG4BlockSubsystem::InitRunSubsystem().
int PHG4BlockGeomContainer::AddLayerGeom | ( | PHG4BlockGeom * | mygeom | ) |
Definition at line 48 of file PHG4BlockGeomContainer.cc.
View newest version in sPHENIX GitHub at line 48 of file PHG4BlockGeomContainer.cc
References _layergeoms, PHG4BlockGeom::get_layer(), and layer.
|
inline |
Definition at line 33 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4BlockGeomContainer.h
References _layergeoms.
Referenced by PHG4BlockCellReco::InitRun(), and DumpPHG4BlockGeomContainer::process_Node().
|
inline |
Definition at line 32 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4BlockGeomContainer.h
References _layergeoms.
Referenced by DumpPHG4BlockGeomContainer::process_Node().
PHG4BlockGeom * PHG4BlockGeomContainer::GetLayerGeom | ( | const int | i | ) |
Definition at line 61 of file PHG4BlockGeomContainer.cc.
View newest version in sPHENIX GitHub at line 61 of file PHG4BlockGeomContainer.cc
References _layergeoms.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 24 of file PHG4BlockGeomContainer.cc.
View newest version in sPHENIX GitHub at line 24 of file PHG4BlockGeomContainer.cc
References _layergeoms, and _magfield.
Referenced by PHG4BlockCellReco::InitRun().
|
protected |
Definition at line 36 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4BlockGeomContainer.h
Referenced by AddLayerGeom(), get_begin_end(), get_NLayers(), GetLayerGeom(), identify(), and ~PHG4BlockGeomContainer().
|
protected |
Definition at line 37 of file PHG4BlockGeomContainer.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4BlockGeomContainer.h
Referenced by identify().