ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4epd/PHG4EPDDetector.h>
Public Member Functions | |
PHG4EPDDetector (PHG4Subsystem *subsys, PHCompositeNode *node, PHParameters *parameters, std::string const &name) | |
void | ConstructMe (G4LogicalVolume *world) override |
int | IsInDetector (G4VPhysicalVolume *) const |
uint32_t | module_id_for (int32_t index, int32_t slice, int32_t side) |
uint32_t | module_id_for (G4VPhysicalVolume *volume) |
void | SuperDetector (std::string const &name) |
const std::string | SuperDetector () const |
PHG4EPDDisplayAction * | GetDisplayAction () |
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 PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
Private Member Functions | |
G4ExtrudedSolid * | construct_block (int32_t index) |
Private Attributes | |
PHG4EPDDisplayAction * | m_DisplayAction = nullptr |
PHParameters * | m_Params = nullptr |
int | m_ActiveFlag = 0 |
int | m_SupportActiveFlag = 0 |
std::set< G4LogicalVolume * > | m_SupportLogVolSet |
std::set< G4LogicalVolume * > | m_ActiveLogVolSet |
std::map< G4VPhysicalVolume *, uint32_t > | m_volumes |
std::string | superdetector |
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 23 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4EPDDetector.h
PHG4EPDDetector::PHG4EPDDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | node, | ||
PHParameters * | parameters, | ||
std::string const & | name | ||
) |
Definition at line 27 of file PHG4EPDDetector.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4EPDDetector.cc
|
private |
Definition at line 147 of file PHG4EPDDetector.cc.
View newest version in sPHENIX GitHub at line 147 of file PHG4EPDDetector.cc
References coordinates, dz, mm, nlohmann::to_string(), x, and y.
Referenced by ConstructMe().
|
overridevirtual |
Implements PHG4Detector.
Definition at line 39 of file PHG4EPDDetector.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4EPDDetector.cc
References PHG4EPDDisplayAction::AddVolume(), cm, construct_block(), PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), GetDisplayAction(), G4LogicalVolume::GetName(), k, m_ActiveLogVolSet, m_Params, M_PI, m_volumes, material(), module_id_for(), PHG4Detector::OverlapCheck(), CLHEP::HepRotation::rotateZ(), nlohmann::to_string(), and Acts::Test::volume.
|
inline |
Definition at line 41 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 41 of file PHG4EPDDetector.h
References m_DisplayAction.
Referenced by ConstructMe().
int PHG4EPDDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 80 of file PHG4EPDDetector.cc.
View newest version in sPHENIX GitHub at line 80 of file PHG4EPDDetector.cc
References G4VPhysicalVolume::GetLogicalVolume(), m_ActiveFlag, m_ActiveLogVolSet, m_SupportActiveFlag, and m_SupportLogVolSet.
Referenced by PHG4EPDSteppingAction::UserSteppingAction().
uint32_t PHG4EPDDetector::module_id_for | ( | int32_t | index, |
int32_t | slice, | ||
int32_t | side | ||
) |
Definition at line 100 of file PHG4EPDDetector.cc.
View newest version in sPHENIX GitHub at line 100 of file PHG4EPDDetector.cc
Referenced by ConstructMe(), and PHG4EPDSteppingAction::UserSteppingAction().
uint32_t PHG4EPDDetector::module_id_for | ( | G4VPhysicalVolume * | volume | ) |
Definition at line 106 of file PHG4EPDDetector.cc.
View newest version in sPHENIX GitHub at line 106 of file PHG4EPDDetector.cc
References m_volumes, and Acts::Test::volume.
|
inline |
Definition at line 38 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4EPDDetector.h
References superdetector.
Referenced by PHG4EPDSubsystem::InitRunSubsystem().
|
inline |
Definition at line 39 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4EPDDetector.h
References superdetector.
|
private |
Definition at line 49 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4EPDDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 53 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4EPDDetector.h
Referenced by ConstructMe(), and IsInDetector().
|
private |
Definition at line 46 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4EPDDetector.h
Referenced by GetDisplayAction().
|
private |
Definition at line 47 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4EPDDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 50 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4EPDDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 52 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4EPDDetector.h
Referenced by IsInDetector().
|
private |
Definition at line 55 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4EPDDetector.h
Referenced by ConstructMe(), and module_id_for().
|
private |
Definition at line 57 of file PHG4EPDDetector.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4EPDDetector.h
Referenced by SuperDetector().