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

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CylinderGeomContainer.h>

+ Inheritance diagram for PHG4CylinderGeomContainer:
+ Collaboration diagram for PHG4CylinderGeomContainer:

Public Types

using Map = std::map< int, PHG4CylinderGeom * >
 
using Iterator = Map::iterator
 
using ConstIterator = Map::const_iterator
 
using Range = std::pair< Iterator, Iterator >
 
using ConstRange = std::pair< ConstIterator, ConstIterator >
 

Public Member Functions

 PHG4CylinderGeomContainer ()
 
 ~PHG4CylinderGeomContainer () override
 
void identify (std::ostream &os=std::cout) const override
 
int AddLayerGeom (const int i, PHG4CylinderGeom *mygeom)
 
int AddLayerGeom (PHG4CylinderGeom *mygeom)
 
PHG4CylinderGeomGetLayerGeom (const int i)
 
PHG4CylinderGeomGetFirstLayerGeom ()
 
int get_NLayers () const
 
ConstRange 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

Map layergeoms
 
float magfield
 

Detailed Description

Definition at line 14 of file PHG4CylinderGeomContainer.h.

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

Member Typedef Documentation

using PHG4CylinderGeomContainer::ConstIterator = Map::const_iterator

Definition at line 19 of file PHG4CylinderGeomContainer.h.

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

Definition at line 21 of file PHG4CylinderGeomContainer.h.

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

using PHG4CylinderGeomContainer::Iterator = Map::iterator

Definition at line 18 of file PHG4CylinderGeomContainer.h.

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

Definition at line 17 of file PHG4CylinderGeomContainer.h.

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

Definition at line 20 of file PHG4CylinderGeomContainer.h.

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

Constructor & Destructor Documentation

PHG4CylinderGeomContainer::PHG4CylinderGeomContainer ( )

Definition at line 7 of file PHG4CylinderGeomContainer.cc.

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

PHG4CylinderGeomContainer::~PHG4CylinderGeomContainer ( )
override

Definition at line 11 of file PHG4CylinderGeomContainer.cc.

View newest version in sPHENIX GitHub at line 11 of file PHG4CylinderGeomContainer.cc

References layergeoms.

Member Function Documentation

int PHG4CylinderGeomContainer::AddLayerGeom ( const int  i,
PHG4CylinderGeom mygeom 
)

Definition at line 36 of file PHG4CylinderGeomContainer.cc.

View newest version in sPHENIX GitHub at line 36 of file PHG4CylinderGeomContainer.cc

References layergeoms, and PHG4CylinderGeom::set_layer().

Referenced by PHG4EICMvtxDetector::AddGeometryNode(), PHG4MvtxDetector::AddGeometryNode(), PHG4InttDetector::AddGeometryNode(), PHG4HcalDetector::ConstructMe(), PHG4SpacalDetector::ConstructMe(), and PHG4CylinderSubsystem::InitRunSubsystem().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHG4CylinderGeomContainer::AddLayerGeom ( PHG4CylinderGeom mygeom)

Definition at line 49 of file PHG4CylinderGeomContainer.cc.

View newest version in sPHENIX GitHub at line 49 of file PHG4CylinderGeomContainer.cc

References PHG4CylinderGeom::get_layer(), G4TTL::layer, and layergeoms.

+ Here is the call graph for this function:

ConstRange PHG4CylinderGeomContainer::get_begin_end ( ) const
inline

Definition at line 34 of file PHG4CylinderGeomContainer.h.

View newest version in sPHENIX GitHub at line 34 of file PHG4CylinderGeomContainer.h

References layergeoms.

Referenced by PHG4InttDigitizer::CalculateLadderCellADCScale(), InttClusterizer::CalculateLadderThresholds(), PHG4MvtxDigitizer::CalculateMvtxLadderCellADCScale(), PHG4CylinderCellReco::InitRun(), MakeActsGeometry::makeMmMapPairs(), and DumpPHG4CylinderGeomContainer::process_Node().

+ Here is the caller graph for this function:

int PHG4CylinderGeomContainer::get_NLayers ( ) const
inline

Definition at line 33 of file PHG4CylinderGeomContainer.h.

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

References layergeoms.

Referenced by PHMicromegasTpcTrackMatching::InitRun(), and DumpPHG4CylinderGeomContainer::process_Node().

+ Here is the caller graph for this function:

PHG4CylinderGeom * PHG4CylinderGeomContainer::GetFirstLayerGeom ( )

Definition at line 74 of file PHG4CylinderGeomContainer.cc.

View newest version in sPHENIX GitHub at line 74 of file PHG4CylinderGeomContainer.cc

References layergeoms.

Referenced by MakeActsGeometry::addActsMicromegasSurfaces(), PHG4FullProjSpacalCellReco::InitRun(), PHMicromegasTpcTrackMatching::InitRun(), and PHG4FullProjSpacalCellReco::process_event().

+ Here is the caller graph for this function:

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 22 of file PHG4CylinderGeomContainer.cc.

View newest version in sPHENIX GitHub at line 22 of file PHG4CylinderGeomContainer.cc

References layergeoms, and magfield.

Referenced by PHG4EICMvtxDetector::AddGeometryNode(), PHG4MvtxDetector::AddGeometryNode(), PHG4InttDetector::AddGeometryNode(), PHG4MvtxHitReco::InitRun(), PHG4InttHitReco::InitRun(), PHG4CylinderCellReco::InitRun(), and PHG4FullProjSpacalCellReco::InitRun().

+ Here is the caller graph for this function:

Member Data Documentation

Map PHG4CylinderGeomContainer::layergeoms
protected

Definition at line 37 of file PHG4CylinderGeomContainer.h.

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

Referenced by AddLayerGeom(), get_begin_end(), get_NLayers(), GetFirstLayerGeom(), GetLayerGeom(), identify(), and ~PHG4CylinderGeomContainer().

float PHG4CylinderGeomContainer::magfield
protected

Definition at line 38 of file PHG4CylinderGeomContainer.h.

View newest version in sPHENIX GitHub at line 38 of file PHG4CylinderGeomContainer.h

Referenced by identify().


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