EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4CylinderCellGeomContainer Class Reference

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderCellGeomContainer.h>

+ Inheritance diagram for PHG4CylinderCellGeomContainer:
+ Collaboration diagram for PHG4CylinderCellGeomContainer:

Public Types

typedef std::map< int,
PHG4CylinderCellGeom * > 
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

 PHG4CylinderCellGeomContainer ()
 
 ~PHG4CylinderCellGeomContainer () override
 
void identify (std::ostream &os=std::cout) const override
 
int AddLayerCellGeom (const int i, PHG4CylinderCellGeom *mygeom)
 
int AddLayerCellGeom (PHG4CylinderCellGeom *mygeom)
 
PHG4CylinderCellGeomGetLayerCellGeom (const int i)
 
PHG4CylinderCellGeomGetFirstLayerCellGeom ()
 
int get_NLayers () const
 
std::pair< std::map< int,
PHG4CylinderCellGeom * >
::const_iterator, std::map
< int, PHG4CylinderCellGeom * >
::const_iterator > 
get_begin_end () const
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (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 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)
 

Protected Attributes

std::map< int,
PHG4CylinderCellGeom * > 
layergeoms
 

Detailed Description

Definition at line 14 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 14 of file PHG4CylinderCellGeomContainer.h

Member Typedef Documentation

typedef Map::const_iterator PHG4CylinderCellGeomContainer::ConstIterator

Definition at line 19 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 19 of file PHG4CylinderCellGeomContainer.h

Definition at line 21 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 21 of file PHG4CylinderCellGeomContainer.h

Definition at line 18 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 18 of file PHG4CylinderCellGeomContainer.h

Definition at line 17 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 17 of file PHG4CylinderCellGeomContainer.h

Definition at line 20 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 20 of file PHG4CylinderCellGeomContainer.h

Constructor & Destructor Documentation

PHG4CylinderCellGeomContainer::PHG4CylinderCellGeomContainer ( )
inline

Definition at line 23 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 23 of file PHG4CylinderCellGeomContainer.h

PHG4CylinderCellGeomContainer::~PHG4CylinderCellGeomContainer ( )
override

Definition at line 8 of file PHG4CylinderCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 8 of file PHG4CylinderCellGeomContainer.cc

Member Function Documentation

int PHG4CylinderCellGeomContainer::AddLayerCellGeom ( const int  i,
PHG4CylinderCellGeom mygeom 
)

Definition at line 31 of file PHG4CylinderCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 31 of file PHG4CylinderCellGeomContainer.cc

References PHG4CylinderCellGeom::set_layer().

Referenced by PHG4TpcPadPlaneReadout::CreateReadoutGeometry(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4CylinderCellGeomContainer::AddLayerCellGeom ( PHG4CylinderCellGeom mygeom)

Definition at line 44 of file PHG4CylinderCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 44 of file PHG4CylinderCellGeomContainer.cc

References PHG4CylinderCellGeom::get_layer(), and G4TTL::layer.

+ Here is the call graph for this function:

std::pair<std::map<int,PHG4CylinderCellGeom *>::const_iterator, std::map<int,PHG4CylinderCellGeom *>::const_iterator> PHG4CylinderCellGeomContainer::get_begin_end ( ) const
inline
int PHG4CylinderCellGeomContainer::get_NLayers ( ) const
inline

Definition at line 33 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 33 of file PHG4CylinderCellGeomContainer.h

References layergeoms.

Referenced by RawTowerBuilder::CreateNodes(), RawTowerBuilder::InitRun(), and DumpPHG4CylinderCellGeomContainer::process_Node().

+ Here is the caller graph for this function:

PHG4CylinderCellGeom * PHG4CylinderCellGeomContainer::GetFirstLayerCellGeom ( )

Definition at line 69 of file PHG4CylinderCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 69 of file PHG4CylinderCellGeomContainer.cc

Referenced by PHG4FullProjSpacalCellReco::process_event().

+ Here is the caller graph for this function:

void PHG4CylinderCellGeomContainer::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 19 of file PHG4CylinderCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 19 of file PHG4CylinderCellGeomContainer.cc

Member Data Documentation

std::map<int,PHG4CylinderCellGeom *> PHG4CylinderCellGeomContainer::layergeoms
protected

Definition at line 37 of file PHG4CylinderCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 37 of file PHG4CylinderCellGeomContainer.h

Referenced by get_begin_end(), and get_NLayers().


The documentation for this class was generated from the following files: