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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4FPbScDetector.h>

+ Inheritance diagram for PHG4FPbScDetector:
+ Collaboration diagram for PHG4FPbScDetector:

Public Member Functions

 PHG4FPbScDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam)
 
virtual ~PHG4FPbScDetector (void)
 
virtual void ConstructMe (G4LogicalVolume *world)
 
virtual G4UserSteppingAction * GetSteppingAction ()
 
bool isInScintillator (G4VPhysicalVolume *volume)
 
int getScintillatorLayer (G4VPhysicalVolume *volume)
 
unsigned int computeIndex (unsigned int layer, G4double x, G4double y, G4double z, G4double &xcenter, G4double &ycenter, G4double &zcenter)
 
void set_Place (G4double x, G4double y, G4double z)
 
- 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 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 Member Functions

G4Material * SetMaterial (G4String)
 

Private Attributes

G4double tower_cross_section
 
size_t segments_per_column
 
size_t segments_per_height
 
G4double length
 
G4double height
 
G4double absorber_thickness
 
G4double scintillator_thickness
 
unsigned int nlayers
 
G4double x_position
 
G4double y_position
 
G4double z_position
 
G4double layer_separation
 
G4Material * AbsorberMaterial
 
G4Material * ScintillatorMaterial
 
std::map< unsigned int, G4Box * > absorber_solid_
 
std::map< unsigned int,
G4LogicalVolume * > 
absorber_logic_
 
std::map< unsigned int,
G4VPhysicalVolume * > 
absorber_physi_
 
std::map< unsigned int, G4Box * > scintillator_solid_
 
std::map< unsigned int,
G4LogicalVolume * > 
scintillator_logic_
 
std::map< unsigned int,
G4VPhysicalVolume * > 
scintillator_physi_
 
G4Region * _region
 

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 25 of file PHG4FPbScDetector.h.

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

Constructor & Destructor Documentation

PHG4FPbScDetector::PHG4FPbScDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
const std::string &  nam 
)

Definition at line 26 of file PHG4FPbScDetector.cc.

View newest version in sPHENIX GitHub at line 26 of file PHG4FPbScDetector.cc

virtual PHG4FPbScDetector::~PHG4FPbScDetector ( void  )
inlinevirtual

Definition at line 30 of file PHG4FPbScDetector.h.

View newest version in sPHENIX GitHub at line 30 of file PHG4FPbScDetector.h

Member Function Documentation

unsigned int PHG4FPbScDetector::computeIndex ( unsigned int  layer,
G4double  x,
G4double  y,
G4double  z,
G4double &  xcenter,
G4double &  ycenter,
G4double &  zcenter 
)

Definition at line 57 of file PHG4FPbScDetector.cc.

View newest version in sPHENIX GitHub at line 57 of file PHG4FPbScDetector.cc

References absorber_thickness, height, layer_separation, length, scintillator_thickness, segments_per_column, segments_per_height, tower_cross_section, x, x_position, y, y_position, z, z_position, and G4DIRC::z_start.

Referenced by PHG4FPbScSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void PHG4FPbScDetector::ConstructMe ( G4LogicalVolume *  world)
virtual

Implements PHG4Detector.

Definition at line 77 of file PHG4FPbScDetector.cc.

View newest version in sPHENIX GitHub at line 77 of file PHG4FPbScDetector.cc

References _region, absorber_logic_, absorber_physi_, absorber_solid_, absorber_thickness, AbsorberMaterial, exit(), height, G4TTL::layer, layer_separation, length, nlayers, scintillator_logic_, scintillator_physi_, scintillator_solid_, scintillator_thickness, ScintillatorMaterial, x_position, y_position, and z_position.

+ Here is the call graph for this function:

int PHG4FPbScDetector::getScintillatorLayer ( G4VPhysicalVolume *  volume)

Definition at line 187 of file PHG4FPbScDetector.cc.

View newest version in sPHENIX GitHub at line 187 of file PHG4FPbScDetector.cc

References scintillator_physi_.

Referenced by PHG4FPbScSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

virtual G4UserSteppingAction* PHG4FPbScDetector::GetSteppingAction ( void  )
inlinevirtual

Reimplemented from PHG4Detector.

Definition at line 34 of file PHG4FPbScDetector.h.

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

References _region.

Referenced by PHG4FPbScSubsystem::process_event().

+ Here is the caller graph for this function:

bool PHG4FPbScDetector::isInScintillator ( G4VPhysicalVolume *  volume)

Definition at line 173 of file PHG4FPbScDetector.cc.

View newest version in sPHENIX GitHub at line 173 of file PHG4FPbScDetector.cc

References scintillator_physi_.

Referenced by PHG4FPbScSteppingAction::UserSteppingAction(), and PHG4FPbScRegionSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void PHG4FPbScDetector::set_Place ( G4double  x,
G4double  y,
G4double  z 
)
inline

Definition at line 46 of file PHG4FPbScDetector.h.

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

References Acts::UnitConstants::cm, x_position, y_position, and z_position.

Referenced by PHG4FPbScSubsystem::Init().

+ Here is the caller graph for this function:

G4Material * PHG4FPbScDetector::SetMaterial ( G4String  material)
private

Definition at line 46 of file PHG4FPbScDetector.cc.

View newest version in sPHENIX GitHub at line 46 of file PHG4FPbScDetector.cc

References PHG4Detector::GetDetectorMaterial().

+ Here is the call graph for this function:

Member Data Documentation

G4Region* PHG4FPbScDetector::_region
private

Definition at line 74 of file PHG4FPbScDetector.h.

View newest version in sPHENIX GitHub at line 74 of file PHG4FPbScDetector.h

Referenced by ConstructMe(), and GetSteppingAction().

std::map<unsigned int, G4LogicalVolume*> PHG4FPbScDetector::absorber_logic_
private

Definition at line 67 of file PHG4FPbScDetector.h.

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

Referenced by ConstructMe().

std::map<unsigned int, G4VPhysicalVolume*> PHG4FPbScDetector::absorber_physi_
private

Definition at line 68 of file PHG4FPbScDetector.h.

View newest version in sPHENIX GitHub at line 68 of file PHG4FPbScDetector.h

Referenced by ConstructMe().

std::map<unsigned int, G4Box*> PHG4FPbScDetector::absorber_solid_
private

Definition at line 66 of file PHG4FPbScDetector.h.

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

Referenced by ConstructMe().

G4double PHG4FPbScDetector::absorber_thickness
private

Definition at line 56 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), and ConstructMe().

G4Material* PHG4FPbScDetector::AbsorberMaterial
private

Definition at line 63 of file PHG4FPbScDetector.h.

View newest version in sPHENIX GitHub at line 63 of file PHG4FPbScDetector.h

Referenced by ConstructMe().

G4double PHG4FPbScDetector::height
private

Definition at line 56 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), and ConstructMe().

G4double PHG4FPbScDetector::layer_separation
private

Definition at line 59 of file PHG4FPbScDetector.h.

View newest version in sPHENIX GitHub at line 59 of file PHG4FPbScDetector.h

Referenced by computeIndex(), and ConstructMe().

G4double PHG4FPbScDetector::length
private

Definition at line 56 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), and ConstructMe().

unsigned int PHG4FPbScDetector::nlayers
private

Definition at line 57 of file PHG4FPbScDetector.h.

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

Referenced by ConstructMe().

std::map<unsigned int, G4LogicalVolume*> PHG4FPbScDetector::scintillator_logic_
private

Definition at line 71 of file PHG4FPbScDetector.h.

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

Referenced by ConstructMe().

std::map<unsigned int, G4VPhysicalVolume*> PHG4FPbScDetector::scintillator_physi_
private

Definition at line 72 of file PHG4FPbScDetector.h.

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

Referenced by ConstructMe(), getScintillatorLayer(), and isInScintillator().

std::map<unsigned int, G4Box*> PHG4FPbScDetector::scintillator_solid_
private

Definition at line 70 of file PHG4FPbScDetector.h.

View newest version in sPHENIX GitHub at line 70 of file PHG4FPbScDetector.h

Referenced by ConstructMe().

G4double PHG4FPbScDetector::scintillator_thickness
private

Definition at line 56 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), and ConstructMe().

G4Material* PHG4FPbScDetector::ScintillatorMaterial
private

Definition at line 64 of file PHG4FPbScDetector.h.

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

Referenced by ConstructMe().

size_t PHG4FPbScDetector::segments_per_column
private

Definition at line 55 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex().

size_t PHG4FPbScDetector::segments_per_height
private

Definition at line 55 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex().

G4double PHG4FPbScDetector::tower_cross_section
private

Definition at line 54 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex().

G4double PHG4FPbScDetector::x_position
private

Definition at line 58 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), ConstructMe(), and set_Place().

G4double PHG4FPbScDetector::y_position
private

Definition at line 58 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), ConstructMe(), and set_Place().

G4double PHG4FPbScDetector::z_position
private

Definition at line 58 of file PHG4FPbScDetector.h.

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

Referenced by computeIndex(), ConstructMe(), and set_Place().


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