EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
this is the main detector construction class, passed to geant to construct the entire phenix detector More...
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4PhenixDetector.h>
Public Member Functions | |
PHG4PhenixDetector (PHG4Reco *subsys) | |
constructor | |
~PHG4PhenixDetector () override | |
destructor | |
void | Verbosity (const int verb) |
int | Verbosity () const |
void | AddDetector (PHG4Detector *detector) |
register a detector. This is called in PHG4Reco::Init based on which detectors are found on the tree | |
G4VPhysicalVolume * | Construct () override |
this is called by geant to actually construct all detectors | |
G4double | GetWorldSizeX () const |
G4double | GetWorldSizeY () const |
G4double | GetWorldSizeZ () const |
void | SetWorldSizeX (const G4double sx) |
void | SetWorldSizeY (const G4double sy) |
void | SetWorldSizeZ (const G4double sz) |
void | SetWorldShape (const std::string &s) |
void | SetWorldMaterial (const std::string &s) |
G4VPhysicalVolume * | GetPhysicalVolume (void) |
Private Attributes | |
PHG4PhenixDisplayAction * | m_DisplayAction |
int | m_Verbosity |
std::list< PHG4Detector * > | m_DetectorList |
list of detectors to be constructed | |
G4LogicalVolume * | logicWorld |
G4VPhysicalVolume * | physiWorld |
G4double | WorldSizeX |
G4double | WorldSizeY |
G4double | WorldSizeZ |
std::string | worldshape |
std::string | worldmaterial |
this is the main detector construction class, passed to geant to construct the entire phenix detector
Definition at line 19 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 19 of file PHG4PhenixDetector.h
PHG4PhenixDetector::PHG4PhenixDetector | ( | PHG4Reco * | subsys | ) |
constructor
Definition at line 37 of file PHG4PhenixDetector.cc.
View newest version in sPHENIX GitHub at line 37 of file PHG4PhenixDetector.cc
|
override |
destructor
Definition at line 50 of file PHG4PhenixDetector.cc.
View newest version in sPHENIX GitHub at line 50 of file PHG4PhenixDetector.cc
References m_DetectorList.
|
inline |
register a detector. This is called in PHG4Reco::Init based on which detectors are found on the tree
Definition at line 32 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4PhenixDetector.h
References m_DetectorList.
Referenced by PHG4Reco::InitRun().
|
override |
this is called by geant to actually construct all detectors
Definition at line 60 of file PHG4PhenixDetector.cc.
View newest version in sPHENIX GitHub at line 60 of file PHG4PhenixDetector.cc
References PHG4PhenixDisplayAction::AddVolume(), G4PhysicalVolumeStore::Clean(), G4SolidStore::Clean(), G4LogicalVolumeStore::Clean(), PHG4Detector::Construct(), exit(), G4PhysicalVolumeStore::GetInstance(), G4SolidStore::GetInstance(), G4LogicalVolumeStore::GetInstance(), info, recoConsts::instance(), logicWorld, m_DetectorList, m_DisplayAction, M_PI, m_Verbosity, physiWorld, PHG4Detector::PostConstruction(), PHFlag::set_CharFlag(), PHG4RegionInformation::SetWorld(), worldmaterial, worldshape, WorldSizeX, WorldSizeY, and WorldSizeZ.
|
inline |
Definition at line 51 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4PhenixDetector.h
References physiWorld.
Referenced by PHG4Reco::ApplyDisplayAction(), PHG4Reco::Dump_G4_GDML(), and PHG4Reco::Dump_GDML().
|
inline |
Definition at line 40 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 40 of file PHG4PhenixDetector.h
References WorldSizeX.
|
inline |
Definition at line 42 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4PhenixDetector.h
References WorldSizeY.
|
inline |
Definition at line 43 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4PhenixDetector.h
References WorldSizeZ.
|
inline |
Definition at line 50 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4PhenixDetector.h
References Acts::UnitConstants::s, and worldmaterial.
Referenced by PHG4Reco::InitRun().
|
inline |
Definition at line 49 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4PhenixDetector.h
References Acts::UnitConstants::s, and worldshape.
Referenced by PHG4Reco::InitRun().
|
inline |
Definition at line 45 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4PhenixDetector.h
References WorldSizeX.
Referenced by PHG4Reco::InitRun().
|
inline |
Definition at line 46 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4PhenixDetector.h
References WorldSizeY.
Referenced by PHG4Reco::InitRun().
|
inline |
Definition at line 47 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4PhenixDetector.h
References WorldSizeZ.
Referenced by PHG4Reco::InitRun().
|
inline |
Definition at line 28 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4PhenixDetector.h
References m_Verbosity.
Referenced by PHG4Reco::InitRun().
|
inline |
Definition at line 29 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4PhenixDetector.h
References m_Verbosity.
|
private |
Definition at line 62 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4PhenixDetector.h
Referenced by Construct().
|
private |
list of detectors to be constructed
Definition at line 60 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 60 of file PHG4PhenixDetector.h
Referenced by AddDetector(), Construct(), and ~PHG4PhenixDetector().
|
private |
Definition at line 54 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4PhenixDetector.h
Referenced by Construct().
|
private |
Definition at line 56 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 56 of file PHG4PhenixDetector.h
Referenced by Construct(), and Verbosity().
|
private |
Definition at line 63 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4PhenixDetector.h
Referenced by Construct(), and GetPhysicalVolume().
|
private |
Definition at line 68 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4PhenixDetector.h
Referenced by Construct(), and SetWorldMaterial().
|
private |
Definition at line 67 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4PhenixDetector.h
Referenced by Construct(), and SetWorldShape().
|
private |
Definition at line 64 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4PhenixDetector.h
Referenced by Construct(), GetWorldSizeX(), and SetWorldSizeX().
|
private |
Definition at line 65 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4PhenixDetector.h
Referenced by Construct(), GetWorldSizeY(), and SetWorldSizeY().
|
private |
Definition at line 66 of file PHG4PhenixDetector.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4PhenixDetector.h
Referenced by Construct(), GetWorldSizeZ(), and SetWorldSizeZ().