![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4ttl/PHG4TTLDetector.h>
Inheritance diagram for PHG4TTLDetector:
Collaboration diagram for PHG4TTLDetector:Public Member Functions | |
| PHG4TTLDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
| constructor | |
| ~PHG4TTLDetector (void) override | |
| destructor | |
| void | ConstructMe (G4LogicalVolume *world) override |
| construct | |
| void | SuperDetector (const std::string &name) |
| const std::string | SuperDetector () const |
| void | SetSteppingAction (PHG4TTLSteppingAction *stpact) |
| void | OverlapCheck (bool check=true) override |
volume accessors | |
| bool | IsInSectorActive (G4VPhysicalVolume *physvol) |
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 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 () |
Public Attributes | |
| std::string | name_base |
Protected Types | |
| typedef std::map< G4String, G4LogicalVolume * > | map_log_vol_t |
| typedef std::pair< G4String, G4int > | phy_vol_idx_t |
| typedef std::map < phy_vol_idx_t, G4PVPlacement * > | map_phy_vol_t |
Protected Member Functions | |
| G4LogicalVolume * | RegisterLogicalVolume (G4LogicalVolume *) |
| G4VSolid * | Construct_Sectors_Plane (const std::string &name, const double start_z, const double thickness, G4VSolid *SecConeBoundary_Det) |
| G4PVPlacement * | RegisterPhysicalVolume (G4PVPlacement *v, const bool active=false) |
| void | BuildForwardTTL (G4LogicalVolume *world) |
| void | BuildBarrelTTL (G4LogicalVolume *world) |
Protected Attributes | |
| bool | overlapcheck_sector |
| map_log_vol_t | map_log_vol |
| map_phy_vol_t | map_phy_vol |
| map_phy_vol_t | map_active_phy_vol |
| all physics volume | |
Private Attributes | |
| PHG4TTLDisplayAction * | m_DisplayAction |
| PHG4TTLSteppingAction * | m_SteppingAction |
| int | m_Verbosity |
| std::string | superdetector |
| PHParameters * | m_Params = nullptr |
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 45 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4TTLDetector.h
|
protected |
Definition at line 105 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 105 of file PHG4TTLDetector.h
|
protected |
Definition at line 115 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 115 of file PHG4TTLDetector.h
|
protected |
Definition at line 114 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 114 of file PHG4TTLDetector.h
| PHG4TTLDetector::PHG4TTLDetector | ( | PHG4Subsystem * | subsys, |
| PHCompositeNode * | Node, | ||
| PHParameters * | parameters, | ||
| const std::string & | dnam | ||
| ) |
constructor
Definition at line 42 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 42 of file PHG4TTLDetector.cc
|
inlineoverride |
destructor
Definition at line 52 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4TTLDetector.h
|
protected |
Definition at line 81 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 81 of file PHG4TTLDetector.cc
References PHG4TTLDisplayAction::AddVolume(), Acts::UnitConstants::cm, Acts::UnitConstants::cm3, cos(), g(), PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), m_DisplayAction, m_Params, M_PI, m_SteppingAction, Acts::UnitConstants::mm, overlapcheck_sector, G4DRICH::place_z, RegisterLogicalVolume(), RegisterPhysicalVolume(), PHG4TTLSteppingAction::SetIsForwardTTL(), PHG4TTLSteppingAction::SetNPhiModules(), nlohmann::to_string(), z, and G4DIRC::z_start.
Referenced by ConstructMe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 569 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 569 of file PHG4TTLDetector.cc
References kdfinder::abs(), PHG4TTLDisplayAction::AddVolume(), Acts::UnitConstants::cm, Acts::UnitConstants::cm3, g(), PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), m_DisplayAction, m_Params, M_PI, m_SteppingAction, Acts::UnitConstants::mm, name_base, overlapcheck_sector, pi, RegisterLogicalVolume(), RegisterPhysicalVolume(), PHG4TTLSteppingAction::SetIsForwardTTL(), PHG4TTLSteppingAction::SetNPhiModules(), PHG4TTLSteppingAction::SetZPositionFwd(), nlohmann::to_string(), z, and G4DIRC::z_start.
Referenced by ConstructMe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 69 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 69 of file PHG4TTLDetector.cc
References BuildBarrelTTL(), BuildForwardTTL(), PHParameters::get_int_param(), and m_Params.
Here is the call graph for this function:| bool PHG4TTLDetector::IsInSectorActive | ( | G4VPhysicalVolume * | physvol | ) |
Definition at line 54 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4TTLDetector.cc
References it, and map_active_phy_vol.
Referenced by PHG4TTLSteppingAction::UserSteppingAction().
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from PHG4Detector.
Definition at line 74 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4TTLDetector.h
References overlapcheck_sector.
Referenced by PHG4TTLSubsystem::InitRunSubsystem().
Here is the caller graph for this function:
|
protected |
Definition at line 1086 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 1086 of file PHG4TTLDetector.cc
References map_log_vol, and v.
Referenced by BuildBarrelTTL(), and BuildForwardTTL().
Here is the caller graph for this function:
|
protected |
Definition at line 1106 of file PHG4TTLDetector.cc.
View newest version in sPHENIX GitHub at line 1106 of file PHG4TTLDetector.cc
References map_active_phy_vol, map_phy_vol, and v.
Referenced by BuildBarrelTTL(), and BuildForwardTTL().
Here is the caller graph for this function:
|
inline |
Definition at line 66 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4TTLDetector.h
References m_SteppingAction.
Referenced by PHG4TTLSubsystem::InitRunSubsystem().
Here is the caller graph for this function:
|
inline |
Definition at line 64 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4TTLDetector.h
References name, and superdetector.
Referenced by PHG4TTLSubsystem::InitRunSubsystem(), and PHG4TTLSteppingAction::SetInterfacePointers().
Here is the caller graph for this function:
|
inline |
Definition at line 65 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4TTLDetector.h
References superdetector.
|
private |
Definition at line 87 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4TTLDetector.h
Referenced by BuildBarrelTTL(), and BuildForwardTTL().
|
private |
Definition at line 91 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4TTLDetector.h
Referenced by BuildBarrelTTL(), BuildForwardTTL(), and ConstructMe().
|
private |
Definition at line 88 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4TTLDetector.h
Referenced by BuildBarrelTTL(), BuildForwardTTL(), and SetSteppingAction().
|
private |
Definition at line 89 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4TTLDetector.h
|
protected |
all physics volume
Definition at line 117 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 117 of file PHG4TTLDetector.h
Referenced by IsInSectorActive(), and RegisterPhysicalVolume().
|
protected |
Definition at line 106 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 106 of file PHG4TTLDetector.h
Referenced by RegisterLogicalVolume().
|
protected |
Definition at line 116 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 116 of file PHG4TTLDetector.h
Referenced by RegisterPhysicalVolume().
| std::string PHG4TTLDetector::name_base |
Definition at line 84 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4TTLDetector.h
Referenced by BuildForwardTTL().
|
protected |
Definition at line 96 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 96 of file PHG4TTLDetector.h
Referenced by BuildBarrelTTL(), BuildForwardTTL(), and OverlapCheck().
|
private |
Definition at line 90 of file PHG4TTLDetector.h.
View newest version in sPHENIX GitHub at line 90 of file PHG4TTLDetector.h
Referenced by SuperDetector().