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

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

+ Inheritance diagram for PHG4CylinderDetector:
+ Collaboration diagram for PHG4CylinderDetector:

Public Member Functions

 PHG4CylinderDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int layer=0)
 constructor
 
 ~PHG4CylinderDetector () override
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct
 
bool IsInCylinder (const G4VPhysicalVolume *) const
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
int get_Layer () 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 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 ()
 

Private Attributes

PHParametersm_Params
 
G4VPhysicalVolumem_CylinderPhysicalVolume
 
PHG4CylinderDisplayActionm_DisplayAction
 
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 PHG4CylinderDetector.h.

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

Constructor & Destructor Documentation

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

constructor

Definition at line 35 of file PHG4CylinderDetector.cc.

View newest version in sPHENIX GitHub at line 35 of file PHG4CylinderDetector.cc

PHG4CylinderDetector::~PHG4CylinderDetector ( )
inlineoverride

destructor

Definition at line 24 of file PHG4CylinderDetector.h.

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

Member Function Documentation

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

Definition at line 34 of file PHG4CylinderDetector.h.

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

References m_Layer.

Referenced by PHG4CylinderSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

bool PHG4CylinderDetector::IsInCylinder ( const G4VPhysicalVolume volume) const

Definition at line 45 of file PHG4CylinderDetector.cc.

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

References m_CylinderPhysicalVolume.

Referenced by PHG4CylinderSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Definition at line 32 of file PHG4CylinderDetector.h.

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

References m_SuperDetector.

Referenced by PHG4CylinderSubsystem::InitRunSubsystem(), and PHG4CylinderSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Definition at line 33 of file PHG4CylinderDetector.h.

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

References m_SuperDetector.

Member Data Documentation

G4VPhysicalVolume* PHG4CylinderDetector::m_CylinderPhysicalVolume
private

Definition at line 39 of file PHG4CylinderDetector.h.

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

Referenced by ConstructMe(), and IsInCylinder().

PHG4CylinderDisplayAction* PHG4CylinderDetector::m_DisplayAction
private

Definition at line 40 of file PHG4CylinderDetector.h.

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

Referenced by ConstructMe().

int PHG4CylinderDetector::m_Layer
private

Definition at line 42 of file PHG4CylinderDetector.h.

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

Referenced by get_Layer().

PHParameters* PHG4CylinderDetector::m_Params
private

Definition at line 37 of file PHG4CylinderDetector.h.

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

Referenced by ConstructMe().

std::string PHG4CylinderDetector::m_SuperDetector
private

Definition at line 43 of file PHG4CylinderDetector.h.

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

Referenced by SuperDetector().


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