ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4FPbScDetector.h>
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 PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
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) |
Definition at line 25 of file PHG4FPbScDetector.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4FPbScDetector.h
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
|
inlinevirtual |
Definition at line 30 of file PHG4FPbScDetector.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4FPbScDetector.h
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, int(), layer_separation, length, scintillator_thickness, segments_per_column, segments_per_height, tower_cross_section, x, x_position, y, y_position, z, z_position, and ETOF::z_start.
Referenced by PHG4FPbScSteppingAction::UserSteppingAction().
|
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, G4Colour::Blue(), g4zmq::exit(), G4NistManager::FindOrBuildMaterial(), height, G4NistManager::Instance(), G4TTL::layer, layer_separation, length, nlayers, scintillator_logic_, scintillator_physi_, scintillator_solid_, scintillator_thickness, ScintillatorMaterial, G4VisAttributes::SetForceSolid(), G4VisAttributes::SetVisibility(), x_position, y_position, and z_position.
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().
|
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, and G4Region::GetRegionalSteppingAction().
Referenced by PHG4FPbScSubsystem::process_event().
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().
Definition at line 46 of file PHG4FPbScDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4FPbScDetector.h
References cm, x_position, y_position, and z_position.
Referenced by PHG4FPbScSubsystem::Init().
|
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().
|
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().
|
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().
|
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().
Definition at line 66 of file PHG4FPbScDetector.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4FPbScDetector.h
Referenced by ConstructMe().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
Definition at line 70 of file PHG4FPbScDetector.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4FPbScDetector.h
Referenced by ConstructMe().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().