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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4zdc/EICG4ZDCDetector.h>

+ Inheritance diagram for EICG4ZDCDetector:
+ Collaboration diagram for EICG4ZDCDetector:

Public Member Functions

 EICG4ZDCDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam)
 constructor
 
virtual ~EICG4ZDCDetector ()
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct
 
void Print (const std::string &what="ALL") const override
 
int GetActiveVolumeInfo (G4VPhysicalVolume *volume)
 
int GetAbsorberVolumeInfo (G4VPhysicalVolume *volume)
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
volume accessors
int IsInDetector (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 G4UserSteppingAction * GetSteppingAction ()
 
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::set< G4LogicalVolume * > m_ActiveLogicalVolumesSet
 
std::set< G4LogicalVolume * > m_AbsorberLogicalVolumesSet
 
std::map< G4LogicalVolume *, int > m_ActiveLogicalVolumeInfoMap
 
std::map< G4LogicalVolume *, int > m_AbsorberLogicalVolumeInfoMap
 
std::string m_SuperDetector
 

Additional Inherited Members

- Static Public Member Functions inherited from PHG4Detector
static G4Material * GetDetectorMaterial (const std::string &name, const bool quit=true)
 
static G4Element * GetDetectorElement (const std::string &name, const bool quit=true)
 

Detailed Description

Definition at line 18 of file EICG4ZDCDetector.h.

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

Constructor & Destructor Documentation

EICG4ZDCDetector::EICG4ZDCDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
PHParameters parameters,
const std::string &  dnam 
)

constructor

Definition at line 54 of file EICG4ZDCDetector.cc.

View newest version in sPHENIX GitHub at line 54 of file EICG4ZDCDetector.cc

virtual EICG4ZDCDetector::~EICG4ZDCDetector ( )
inlinevirtual

destructor

Definition at line 25 of file EICG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 25 of file EICG4ZDCDetector.h

Member Function Documentation

void EICG4ZDCDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual

construct

Implements PHG4Detector.

Definition at line 93 of file EICG4ZDCDetector.cc.

View newest version in sPHENIX GitHub at line 93 of file EICG4ZDCDetector.cc

References Acts::UnitConstants::cm, PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), m_AbsorberLogicalVolumeInfoMap, m_AbsorberLogicalVolumesSet, m_ActiveLogicalVolumeInfoMap, m_ActiveLogicalVolumesSet, m_Params, Acts::UnitConstants::mm, PHG4Detector::OverlapCheck(), and Acts::UnitConstants::rad.

+ Here is the call graph for this function:

int EICG4ZDCDetector::GetAbsorberVolumeInfo ( G4VPhysicalVolume *  volume)

Definition at line 85 of file EICG4ZDCDetector.cc.

View newest version in sPHENIX GitHub at line 85 of file EICG4ZDCDetector.cc

References m_AbsorberLogicalVolumeInfoMap.

Referenced by EICG4ZDCSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EICG4ZDCDetector::GetActiveVolumeInfo ( G4VPhysicalVolume *  volume)

Definition at line 78 of file EICG4ZDCDetector.cc.

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

References m_ActiveLogicalVolumeInfoMap.

Referenced by EICG4ZDCSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EICG4ZDCDetector::IsInDetector ( G4VPhysicalVolume *  volume) const

Definition at line 64 of file EICG4ZDCDetector.cc.

View newest version in sPHENIX GitHub at line 64 of file EICG4ZDCDetector.cc

References m_AbsorberLogicalVolumesSet, and m_ActiveLogicalVolumesSet.

Referenced by EICG4ZDCSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Reimplemented from PHG4Detector.

Definition at line 146 of file EICG4ZDCDetector.cc.

View newest version in sPHENIX GitHub at line 146 of file EICG4ZDCDetector.cc

References m_Params, and PHParameters::Print().

Referenced by EICG4ZDCSubsystem::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 39 of file EICG4ZDCDetector.h.

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

References m_SuperDetector, and name.

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

Definition at line 40 of file EICG4ZDCDetector.h.

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

References m_SuperDetector.

Member Data Documentation

std::map<G4LogicalVolume*, int> EICG4ZDCDetector::m_AbsorberLogicalVolumeInfoMap
private

Definition at line 51 of file EICG4ZDCDetector.h.

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

Referenced by ConstructMe(), and GetAbsorberVolumeInfo().

std::set<G4LogicalVolume *> EICG4ZDCDetector::m_AbsorberLogicalVolumesSet
private

Definition at line 46 of file EICG4ZDCDetector.h.

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

Referenced by ConstructMe(), and IsInDetector().

std::map<G4LogicalVolume*, int> EICG4ZDCDetector::m_ActiveLogicalVolumeInfoMap
private

Definition at line 50 of file EICG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 50 of file EICG4ZDCDetector.h

Referenced by ConstructMe(), and GetActiveVolumeInfo().

std::set<G4LogicalVolume *> EICG4ZDCDetector::m_ActiveLogicalVolumesSet
private

Definition at line 45 of file EICG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 45 of file EICG4ZDCDetector.h

Referenced by ConstructMe(), and IsInDetector().

PHParameters* EICG4ZDCDetector::m_Params
private

Definition at line 43 of file EICG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 43 of file EICG4ZDCDetector.h

Referenced by ConstructMe(), and Print().

std::string EICG4ZDCDetector::m_SuperDetector
private

Definition at line 53 of file EICG4ZDCDetector.h.

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

Referenced by SuperDetector().


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