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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4rp/EICG4RPDetector.h>

+ Inheritance diagram for EICG4RPDetector:
+ Collaboration diagram for EICG4RPDetector:

Public Member Functions

 EICG4RPDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int layer=0)
 constructor
 
virtual ~EICG4RPDetector () override
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct
 
void Print (const std::string &what="ALL") const override
 
int GetDetId (G4VPhysicalVolume *) const
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
int get_Layer () const
 
PHParametersgetParams ()
 
volume accessors
int IsInDetector (G4VPhysicalVolume *) const
 
int IsInVirtualDetector (G4VPhysicalVolume *) const
 
- Public Member Functions inherited from PHG4Detector
 PHG4Detector ()=delete
 constructor
 
 PHG4Detector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam)
 
virtual ~PHG4Detector (void)
 destructor
 
virtual void Construct (G4LogicalVolume *world) final
 construct method
 
virtual void PostConstruction ()
 Optional PostConstruction call after all geometry is constructed.
 
virtual void Verbosity (const int v)
 
virtual int Verbosity () const
 
virtual G4UserSteppingActionGetSteppingAction ()
 
virtual std::string GetName () const
 
virtual void OverlapCheck (const bool chk)
 
virtual bool OverlapCheck () const
 
virtual int DisplayVolume (G4VSolid *volume, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr)
 
virtual int DisplayVolume (G4LogicalVolume *checksolid, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr)
 
virtual PHCompositeNodetopNode ()
 
virtual PHG4SubsystemGetMySubsystem ()
 

Private Attributes

PHParametersm_Params
 
std::map< G4VPhysicalVolume
*, int
m_ActivePhysicalVolumesMap
 
std::map< G4VPhysicalVolume
*, int
m_VirtualPhysicalVolumesMap
 
std::set< G4VPhysicalVolume * > m_PassivePhysicalVolumesSet
 
int m_Layer
 
std::string m_SuperDetector
 

Additional Inherited Members

- Static Public Member Functions inherited from PHG4Detector
static G4MaterialGetDetectorMaterial (const std::string &name, const bool quit=true)
 
static G4ElementGetDetectorElement (const std::string &name, const bool quit=true)
 

Detailed Description

Definition at line 17 of file EICG4RPDetector.h.

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

Constructor & Destructor Documentation

EICG4RPDetector::EICG4RPDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
PHParameters parameters,
const std::string &  dnam,
const int  layer = 0 
)

constructor

Definition at line 45 of file EICG4RPDetector.cc.

View newest version in sPHENIX GitHub at line 45 of file EICG4RPDetector.cc

virtual EICG4RPDetector::~EICG4RPDetector ( )
inlineoverridevirtual

destructor

Definition at line 24 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 24 of file EICG4RPDetector.h

Member Function Documentation

void EICG4RPDetector::ConstructMe ( G4LogicalVolume world)
overridevirtual
int EICG4RPDetector::get_Layer ( ) const
inline

Definition at line 41 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 41 of file EICG4RPDetector.h

References m_Layer.

Referenced by EICG4RPSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EICG4RPDetector::GetDetId ( G4VPhysicalVolume volume) const

Definition at line 78 of file EICG4RPDetector.cc.

View newest version in sPHENIX GitHub at line 78 of file EICG4RPDetector.cc

References IsInDetector().

+ Here is the call graph for this function:

PHParameters * EICG4RPDetector::getParams ( )

Definition at line 268 of file EICG4RPDetector.cc.

View newest version in sPHENIX GitHub at line 268 of file EICG4RPDetector.cc

References m_Params.

int EICG4RPDetector::IsInDetector ( G4VPhysicalVolume volume) const

Definition at line 56 of file EICG4RPDetector.cc.

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

References m_ActivePhysicalVolumesMap.

Referenced by GetDetId(), and EICG4RPSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EICG4RPDetector::IsInVirtualDetector ( G4VPhysicalVolume volume) const

Definition at line 67 of file EICG4RPDetector.cc.

View newest version in sPHENIX GitHub at line 67 of file EICG4RPDetector.cc

References m_VirtualPhysicalVolumesMap.

Referenced by EICG4RPSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void EICG4RPDetector::Print ( const std::string &  what = "ALL") const
overridevirtual

Reimplemented from PHG4Detector.

Definition at line 256 of file EICG4RPDetector.cc.

View newest version in sPHENIX GitHub at line 256 of file EICG4RPDetector.cc

References m_Params, and PHParameters::Print().

Referenced by EICG4RPSubsystem::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EICG4RPDetector::SuperDetector ( const std::string &  name)
inline

Definition at line 39 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 39 of file EICG4RPDetector.h

References m_SuperDetector.

Referenced by EICG4RPSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

const std::string EICG4RPDetector::SuperDetector ( ) const
inline

Definition at line 40 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 40 of file EICG4RPDetector.h

References m_SuperDetector.

Member Data Documentation

std::map<G4VPhysicalVolume *, int> EICG4RPDetector::m_ActivePhysicalVolumesMap
private

Definition at line 49 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 49 of file EICG4RPDetector.h

Referenced by ConstructMe(), and IsInDetector().

int EICG4RPDetector::m_Layer
private

Definition at line 55 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 55 of file EICG4RPDetector.h

Referenced by get_Layer().

PHParameters* EICG4RPDetector::m_Params
private

Definition at line 46 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 46 of file EICG4RPDetector.h

Referenced by ConstructMe(), getParams(), and Print().

std::set<G4VPhysicalVolume *> EICG4RPDetector::m_PassivePhysicalVolumesSet
private

Definition at line 53 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 53 of file EICG4RPDetector.h

Referenced by ConstructMe().

std::string EICG4RPDetector::m_SuperDetector
private

Definition at line 56 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 56 of file EICG4RPDetector.h

Referenced by SuperDetector().

std::map<G4VPhysicalVolume *, int> EICG4RPDetector::m_VirtualPhysicalVolumesMap
private

Definition at line 51 of file EICG4RPDetector.h.

View newest version in sPHENIX GitHub at line 51 of file EICG4RPDetector.h

Referenced by ConstructMe(), and IsInVirtualDetector().


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