![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4rp/EICG4RPDetector.h>
Inheritance diagram for EICG4RPDetector:
Collaboration diagram for EICG4RPDetector:Public Member Functions | |
| EICG4RPDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int layer=0) | |
| constructor | |
| virtual | ~EICG4RPDetector () override |
| destructor | |
| void | ConstructMe (G4LogicalVolume *world) override |
| construct | |
| void | Print (const std::string &what="ALL") const override |
| int | GetDetId (G4VPhysicalVolume *) const |
| void | SuperDetector (const std::string &name) |
| const std::string | SuperDetector () const |
| int | get_Layer () const |
| PHParameters * | getParams () |
volume accessors | |
| int | IsInDetector (G4VPhysicalVolume *) const |
| int | IsInVirtualDetector (G4VPhysicalVolume *) 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 G4UserSteppingAction * | GetSteppingAction () |
| virtual std::string | GetName () const |
| virtual void | OverlapCheck (const bool chk) |
| virtual bool | OverlapCheck () 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 Attributes | |
| PHParameters * | m_Params |
| std::map< G4VPhysicalVolume *, int > | m_ActivePhysicalVolumesMap |
| std::map< G4VPhysicalVolume *, int > | m_VirtualPhysicalVolumesMap |
| std::set< G4VPhysicalVolume * > | m_PassivePhysicalVolumesSet |
| int | m_Layer |
| std::string | m_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 17 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 17 of file EICG4RPDetector.h
| EICG4RPDetector::EICG4RPDetector | ( | PHG4Subsystem * | subsys, |
| PHCompositeNode * | Node, | ||
| PHParameters * | parameters, | ||
| const std::string & | dnam, | ||
| const int | layer = 0 |
||
| ) |
constructor
Definition at line 45 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 45 of file EICG4RPDetector.cc
|
inlineoverridevirtual |
destructor
Definition at line 24 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 24 of file EICG4RPDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 89 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 89 of file EICG4RPDetector.cc
References Acts::UnitConstants::cm, PHParameters::get_double_param(), PHParameters::get_int_param(), PHG4Detector::GetDetectorMaterial(), G4TTL::layer, m_ActivePhysicalVolumesMap, m_Params, m_PassivePhysicalVolumesSet, m_VirtualPhysicalVolumesMap, PHG4Detector::OverlapCheck(), Acts::VectorHelpers::position(), Acts::UnitConstants::rad, nlohmann::to_string(), PHG4Detector::Verbosity(), x2, and y.
Here is the call graph for this function:
|
inline |
Definition at line 41 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 41 of file EICG4RPDetector.h
References m_Layer.
Referenced by EICG4RPSteppingAction::UserSteppingAction().
Here is the caller graph for this function:| int EICG4RPDetector::GetDetId | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 78 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 78 of file EICG4RPDetector.cc
References IsInDetector().
Here is the call graph for this function:| PHParameters * EICG4RPDetector::getParams | ( | ) |
Definition at line 268 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 268 of file EICG4RPDetector.cc
References m_Params.
| int EICG4RPDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 56 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 56 of file EICG4RPDetector.cc
References m_ActivePhysicalVolumesMap.
Referenced by GetDetId(), and EICG4RPSteppingAction::UserSteppingAction().
Here is the caller graph for this function:| int EICG4RPDetector::IsInVirtualDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 67 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 67 of file EICG4RPDetector.cc
References m_VirtualPhysicalVolumesMap.
Referenced by EICG4RPSteppingAction::UserSteppingAction().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 256 of file EICG4RPDetector.cc.
View newest version in sPHENIX GitHub at line 256 of file EICG4RPDetector.cc
References m_Params, and PHParameters::Print().
Referenced by EICG4RPSubsystem::Print().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 39 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 39 of file EICG4RPDetector.h
References m_SuperDetector, and name.
Referenced by EICG4RPSubsystem::InitRunSubsystem().
Here is the caller graph for this function:
|
inline |
Definition at line 40 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 40 of file EICG4RPDetector.h
References m_SuperDetector.
|
private |
Definition at line 49 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 49 of file EICG4RPDetector.h
Referenced by ConstructMe(), and IsInDetector().
|
private |
Definition at line 55 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 55 of file EICG4RPDetector.h
Referenced by get_Layer().
|
private |
Definition at line 46 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 46 of file EICG4RPDetector.h
Referenced by ConstructMe(), getParams(), and Print().
|
private |
Definition at line 53 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 53 of file EICG4RPDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 56 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 56 of file EICG4RPDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 51 of file EICG4RPDetector.h.
View newest version in sPHENIX GitHub at line 51 of file EICG4RPDetector.h
Referenced by ConstructMe(), and IsInVirtualDetector().