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

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

+ Inheritance diagram for PHG4BlockCellGeomContainer:
+ Collaboration diagram for PHG4BlockCellGeomContainer:

Public Types

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

 PHG4BlockCellGeomContainer ()
 
 ~PHG4BlockCellGeomContainer () override
 
void identify (std::ostream &os=std::cout) const override
 
int AddLayerCellGeom (const int i, PHG4BlockCellGeom *mygeom)
 
int AddLayerCellGeom (PHG4BlockCellGeom *mygeom)
 
PHG4BlockCellGeomGetLayerCellGeom (const int i)
 
int get_NLayers () const
 
std::pair< std::map< int,
PHG4BlockCellGeom * >
::const_iterator, std::map
< int, PHG4BlockCellGeom * >
::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,
PHG4BlockCellGeom * > 
layergeoms
 

Detailed Description

Definition at line 14 of file PHG4BlockCellGeomContainer.h.

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

Member Typedef Documentation

typedef Map::const_iterator PHG4BlockCellGeomContainer::ConstIterator

Definition at line 19 of file PHG4BlockCellGeomContainer.h.

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

Definition at line 21 of file PHG4BlockCellGeomContainer.h.

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

typedef Map::iterator PHG4BlockCellGeomContainer::Iterator

Definition at line 18 of file PHG4BlockCellGeomContainer.h.

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

Definition at line 17 of file PHG4BlockCellGeomContainer.h.

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

Definition at line 20 of file PHG4BlockCellGeomContainer.h.

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

Constructor & Destructor Documentation

PHG4BlockCellGeomContainer::PHG4BlockCellGeomContainer ( )
inline

Definition at line 23 of file PHG4BlockCellGeomContainer.h.

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

PHG4BlockCellGeomContainer::~PHG4BlockCellGeomContainer ( )
override

Definition at line 7 of file PHG4BlockCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 7 of file PHG4BlockCellGeomContainer.cc

Member Function Documentation

int PHG4BlockCellGeomContainer::AddLayerCellGeom ( const int  i,
PHG4BlockCellGeom mygeom 
)

Definition at line 30 of file PHG4BlockCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 30 of file PHG4BlockCellGeomContainer.cc

References PHG4BlockCellGeom::set_layer().

Referenced by PHG4BlockCellReco::InitRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4BlockCellGeomContainer::AddLayerCellGeom ( PHG4BlockCellGeom mygeom)

Definition at line 43 of file PHG4BlockCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 43 of file PHG4BlockCellGeomContainer.cc

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

+ Here is the call graph for this function:

std::pair<std::map<int,PHG4BlockCellGeom *>::const_iterator, std::map<int,PHG4BlockCellGeom *>::const_iterator> PHG4BlockCellGeomContainer::get_begin_end ( ) const
inline

Definition at line 33 of file PHG4BlockCellGeomContainer.h.

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

References layergeoms.

Referenced by DumpPHG4BlockCellGeomContainer::process_Node().

+ Here is the caller graph for this function:

int PHG4BlockCellGeomContainer::get_NLayers ( ) const
inline

Definition at line 32 of file PHG4BlockCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 32 of file PHG4BlockCellGeomContainer.h

References layergeoms.

Referenced by DumpPHG4BlockCellGeomContainer::process_Node().

+ Here is the caller graph for this function:

PHG4BlockCellGeom * PHG4BlockCellGeomContainer::GetLayerCellGeom ( const int  i)

Definition at line 56 of file PHG4BlockCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 56 of file PHG4BlockCellGeomContainer.cc

Referenced by PHG4BlockCellReco::process_event().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 18 of file PHG4BlockCellGeomContainer.cc.

View newest version in sPHENIX GitHub at line 18 of file PHG4BlockCellGeomContainer.cc

Member Data Documentation

std::map<int,PHG4BlockCellGeom *> PHG4BlockCellGeomContainer::layergeoms
protected

Definition at line 36 of file PHG4BlockCellGeomContainer.h.

View newest version in sPHENIX GitHub at line 36 of file PHG4BlockCellGeomContainer.h

Referenced by get_begin_end(), and get_NLayers().


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