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

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

+ Inheritance diagram for PHG4ZDCDetector:
+ Collaboration diagram for PHG4ZDCDetector:

Public Member Functions

 PHG4ZDCDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int detid)
 constructor
 
 ~PHG4ZDCDetector () override
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct
 
- 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 void Print (const std::string &="ALL") 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 ()
 

volume accessors

PHG4ZDCDisplayActionm_DisplayAction = nullptr
 
PHParametersm_Params = nullptr
 
PHG4GDMLConfigm_GdmlConfig = nullptr
 registry for volumes that should not be exported, i.e. fibers
 
double m_Angle
 
double m_TPlate
 
double m_HPlate
 
double m_WPlate
 
double m_TAbsorber
 
double m_HAbsorber
 
double m_WAbsorber
 
double m_DFiber
 
double m_HFiber
 
double m_WFiber
 
double m_GFiber
 
double m_Gap
 
double m_TSMD
 
double m_HSMD
 
double m_WSMD
 
double m_RHole
 
double m_TWin
 
double m_RWin
 
double m_PlaceHole
 
double m_Pxwin
 
double m_Pywin
 
double m_Pzwin
 
int m_NMod
 
int m_NLay
 
int m_ActiveFlag
 
int m_AbsorberActiveFlag
 
int m_SupportActiveFlag
 
int m_Layer
 
std::string m_SuperDetector
 
std::set< G4LogicalVolume * > m_AbsorberLogicalVolSet
 
std::set< G4LogicalVolume * > m_ScintiLogicalVolSet
 
std::set< G4LogicalVolume * > m_FiberLogicalVolSet
 
std::set< G4LogicalVolume * > m_SupportLogicalVolSet
 
int IsInZDC (G4VPhysicalVolume *) const
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
int get_Layer () const
 
PHG4ZDCDisplayActionGetDisplayAction ()
 
G4LogicalVolume * ConstructTower (int type)
 
PHParametersGetParams () const
 

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 22 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 22 of file PHG4ZDCDetector.h

Constructor & Destructor Documentation

PHG4ZDCDetector::PHG4ZDCDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
PHParameters parameters,
const std::string &  dnam,
const int  detid 
)
explicit

constructor

Definition at line 43 of file PHG4ZDCDetector.cc.

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

References m_GdmlConfig.

PHG4ZDCDetector::~PHG4ZDCDetector ( )
inlineoverride

destructor

Definition at line 29 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 29 of file PHG4ZDCDetector.h

Member Function Documentation

G4LogicalVolume* PHG4ZDCDetector::ConstructTower ( int  type)
private
int PHG4ZDCDetector::get_Layer ( ) const
inline

Definition at line 40 of file PHG4ZDCDetector.h.

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

References m_Layer.

Referenced by PHG4ZDCSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

PHG4ZDCDisplayAction* PHG4ZDCDetector::GetDisplayAction ( )
inline

Definition at line 42 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 42 of file PHG4ZDCDetector.h

References m_DisplayAction.

Referenced by ConstructMe().

+ Here is the caller graph for this function:

PHParameters* PHG4ZDCDetector::GetParams ( ) const
inlineprivate

Definition at line 46 of file PHG4ZDCDetector.h.

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

References m_Params.

int PHG4ZDCDetector::IsInZDC ( G4VPhysicalVolume *  volume) const

Definition at line 82 of file PHG4ZDCDetector.cc.

View newest version in sPHENIX GitHub at line 82 of file PHG4ZDCDetector.cc

References m_AbsorberActiveFlag, m_AbsorberLogicalVolSet, m_ActiveFlag, m_FiberLogicalVolSet, m_ScintiLogicalVolSet, m_SupportActiveFlag, and m_SupportLogicalVolSet.

Referenced by PHG4ZDCSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Definition at line 37 of file PHG4ZDCDetector.h.

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

References m_SuperDetector, and name.

Referenced by PHG4ZDCSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

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

Definition at line 38 of file PHG4ZDCDetector.h.

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

References m_SuperDetector.

Member Data Documentation

int PHG4ZDCDetector::m_AbsorberActiveFlag
private

Definition at line 88 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 88 of file PHG4ZDCDetector.h

Referenced by IsInZDC().

std::set<G4LogicalVolume *> PHG4ZDCDetector::m_AbsorberLogicalVolSet
private

Definition at line 94 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 94 of file PHG4ZDCDetector.h

Referenced by ConstructMe(), and IsInZDC().

int PHG4ZDCDetector::m_ActiveFlag
private

Definition at line 87 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 87 of file PHG4ZDCDetector.h

Referenced by IsInZDC().

double PHG4ZDCDetector::m_Angle
private

Definition at line 54 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 54 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_DFiber
private

Definition at line 64 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 64 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

PHG4ZDCDisplayAction* PHG4ZDCDetector::m_DisplayAction = nullptr
private

Definition at line 48 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 48 of file PHG4ZDCDetector.h

Referenced by GetDisplayAction().

std::set<G4LogicalVolume *> PHG4ZDCDetector::m_FiberLogicalVolSet
private

Definition at line 96 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 96 of file PHG4ZDCDetector.h

Referenced by ConstructMe(), and IsInZDC().

double PHG4ZDCDetector::m_Gap
private

Definition at line 69 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 69 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

PHG4GDMLConfig* PHG4ZDCDetector::m_GdmlConfig = nullptr
private

registry for volumes that should not be exported, i.e. fibers

Definition at line 51 of file PHG4ZDCDetector.h.

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

Referenced by PHG4ZDCDetector().

double PHG4ZDCDetector::m_GFiber
private

Definition at line 67 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 67 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_HAbsorber
private

Definition at line 61 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 61 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_HFiber
private

Definition at line 65 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 65 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_HPlate
private

Definition at line 57 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 57 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_HSMD
private

Definition at line 72 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 72 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

int PHG4ZDCDetector::m_Layer
private

Definition at line 90 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 90 of file PHG4ZDCDetector.h

Referenced by ConstructMe(), and get_Layer().

int PHG4ZDCDetector::m_NLay
private

Definition at line 85 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 85 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

int PHG4ZDCDetector::m_NMod
private

Definition at line 84 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 84 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

PHParameters* PHG4ZDCDetector::m_Params = nullptr
private

Definition at line 49 of file PHG4ZDCDetector.h.

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

Referenced by ConstructMe(), and GetParams().

double PHG4ZDCDetector::m_PlaceHole
private

Definition at line 79 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 79 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_Pxwin
private

Definition at line 80 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 80 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_Pywin
private

Definition at line 81 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 81 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_Pzwin
private

Definition at line 82 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 82 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_RHole
private

Definition at line 75 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 75 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_RWin
private

Definition at line 77 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 77 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

std::set<G4LogicalVolume *> PHG4ZDCDetector::m_ScintiLogicalVolSet
private

Definition at line 95 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 95 of file PHG4ZDCDetector.h

Referenced by ConstructMe(), and IsInZDC().

std::string PHG4ZDCDetector::m_SuperDetector
private

Definition at line 92 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 92 of file PHG4ZDCDetector.h

Referenced by SuperDetector().

int PHG4ZDCDetector::m_SupportActiveFlag
private

Definition at line 89 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 89 of file PHG4ZDCDetector.h

Referenced by IsInZDC().

std::set<G4LogicalVolume *> PHG4ZDCDetector::m_SupportLogicalVolSet
private

Definition at line 97 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 97 of file PHG4ZDCDetector.h

Referenced by ConstructMe(), and IsInZDC().

double PHG4ZDCDetector::m_TAbsorber
private

Definition at line 60 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 60 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_TPlate
private

Definition at line 56 of file PHG4ZDCDetector.h.

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

Referenced by ConstructMe().

double PHG4ZDCDetector::m_TSMD
private

Definition at line 71 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 71 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_TWin
private

Definition at line 76 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 76 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_WAbsorber
private

Definition at line 62 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 62 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_WFiber
private

Definition at line 66 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 66 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_WPlate
private

Definition at line 58 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 58 of file PHG4ZDCDetector.h

Referenced by ConstructMe().

double PHG4ZDCDetector::m_WSMD
private

Definition at line 73 of file PHG4ZDCDetector.h.

View newest version in sPHENIX GitHub at line 73 of file PHG4ZDCDetector.h

Referenced by ConstructMe().


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