![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4b0ecal/EICG4B0ECALDetector.h>
Inheritance diagram for EICG4B0ECALDetector:
Collaboration diagram for EICG4B0ECALDetector:Classes | |
| struct | towerposition |
Public Member Functions | |
| EICG4B0ECALDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam, const int layer=0) | |
| constructor | |
| virtual | ~EICG4B0ECALDetector () override |
| destructor | |
| virtual 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 () |
| void | SetTowerMappingFile (const std::string &filename) |
volume accessors | |
| int | IsInDetector (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 () |
Protected Member Functions | |
| void | LogicalVolSetInsert (G4LogicalVolume *logvol) |
Private Member Functions | |
| G4LogicalVolume * | ConstructTower () |
| int | PlaceTower (G4LogicalVolume *envelope, G4LogicalVolume *tower) |
| int | ParseParametersFromTable () |
Private Attributes | |
| std::map< std::string, towerposition > | m_TowerPositionMap |
| PHParameters * | m_Params |
| std::set< G4VPhysicalVolume * > | m_PhysicalVolumesSet |
| std::map< G4VPhysicalVolume *, int > | m_PhysicalVolumesDet |
| std::set< G4LogicalVolume * > | m_LogicalVolSet |
| int | m_Layer |
| std::string | m_SuperDetector |
| std::string | _mapping_tower_file |
| std::string | m_TowerLogicNamePrefix |
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 19 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 19 of file EICG4B0ECALDetector.h
| EICG4B0ECALDetector::EICG4B0ECALDetector | ( | PHG4Subsystem * | subsys, |
| PHCompositeNode * | Node, | ||
| PHParameters * | parameters, | ||
| const std::string & | dnam, | ||
| const int | layer = 0 |
||
| ) |
constructor
Definition at line 63 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 63 of file EICG4B0ECALDetector.cc
|
inlineoverridevirtual |
destructor
Definition at line 26 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 26 of file EICG4B0ECALDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 96 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 96 of file EICG4B0ECALDetector.cc
References _mapping_tower_file, cm, ConstructTower(), degree, PHParameters::get_double_param(), PHParameters::get_string_param(), PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), recoConsts::instance(), m_Params, m_PhysicalVolumesDet, m_PhysicalVolumesSet, m_TowerLogicNamePrefix, PHG4Detector::OverlapCheck(), ParseParametersFromTable(), PlaceTower(), G4VisAttributes::SetColor(), PHG4Detector::Verbosity(), and G4WORLD::WorldMaterial.
Here is the call graph for this function:
|
private |
Definition at line 190 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 190 of file EICG4B0ECALDetector.cc
References cm, PHParameters::get_double_param(), PHParameters::get_string_param(), PHG4Detector::GetDetectorMaterial(), m_LogicalVolSet, m_Params, G4VisAttributes::SetForceSolid(), G4LogicalVolume::SetVisAttributes(), and PHG4Detector::Verbosity().
Referenced by ConstructMe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 42 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 42 of file EICG4B0ECALDetector.h
References m_Layer.
Referenced by EICG4B0ECALSteppingAction::UserSteppingAction().
Here is the caller graph for this function:| int EICG4B0ECALDetector::GetDetId | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 86 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 86 of file EICG4B0ECALDetector.cc
References IsInDetector().
Here is the call graph for this function:| PHParameters * EICG4B0ECALDetector::getParams | ( | ) |
Definition at line 357 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 357 of file EICG4B0ECALDetector.cc
References m_Params.
| int EICG4B0ECALDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 76 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 76 of file EICG4B0ECALDetector.cc
References G4VPhysicalVolume::GetLogicalVolume(), and m_LogicalVolSet.
Referenced by GetDetId(), and EICG4B0ECALSteppingAction::UserSteppingAction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 80 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 80 of file EICG4B0ECALDetector.h
References m_LogicalVolSet.
|
private |
Definition at line 248 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 248 of file EICG4B0ECALDetector.cc
References _mapping_tower_file, cm, PHParameters::get_double_param(), EICG4B0ECALDetector::towerposition::idx_j, EICG4B0ECALDetector::towerposition::idx_k, m_Params, m_TowerLogicNamePrefix, m_TowerPositionMap, G4HCALOUT::size_z, PHG4Detector::Verbosity(), EICG4B0ECALDetector::towerposition::x, EICG4B0ECALDetector::towerposition::y, and EICG4B0ECALDetector::towerposition::z.
Referenced by ConstructMe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 224 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 224 of file EICG4B0ECALDetector.cc
References cm, m_TowerPositionMap, PHG4Detector::OverlapCheck(), and PHG4Detector::Verbosity().
Referenced by ConstructMe().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 345 of file EICG4B0ECALDetector.cc.
View newest version in sPHENIX GitHub at line 345 of file EICG4B0ECALDetector.cc
References m_Params, and PHParameters::Print().
Referenced by EICG4B0ECALSubsystem::Print().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 44 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 44 of file EICG4B0ECALDetector.h
References _mapping_tower_file, and INPUTHEPMC::filename.
Referenced by EICG4B0ECALSubsystem::InitRunSubsystem().
Here is the caller graph for this function:
|
inline |
Definition at line 40 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 40 of file EICG4B0ECALDetector.h
References m_SuperDetector.
Referenced by EICG4B0ECALSubsystem::InitRunSubsystem(), and EICG4B0ECALSteppingAction::UserSteppingAction().
Here is the caller graph for this function:
|
inline |
Definition at line 41 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 41 of file EICG4B0ECALDetector.h
References m_SuperDetector.
|
private |
Definition at line 76 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 76 of file EICG4B0ECALDetector.h
Referenced by ConstructMe(), ParseParametersFromTable(), and SetTowerMappingFile().
|
private |
Definition at line 74 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 74 of file EICG4B0ECALDetector.h
Referenced by get_Layer().
|
private |
Definition at line 72 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 72 of file EICG4B0ECALDetector.h
Referenced by ConstructTower(), IsInDetector(), and LogicalVolSetInsert().
|
private |
Definition at line 67 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 67 of file EICG4B0ECALDetector.h
Referenced by ConstructMe(), ConstructTower(), getParams(), ParseParametersFromTable(), and Print().
|
private |
Definition at line 71 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 71 of file EICG4B0ECALDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 69 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 69 of file EICG4B0ECALDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 75 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 75 of file EICG4B0ECALDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 77 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 77 of file EICG4B0ECALDetector.h
Referenced by ConstructMe(), and ParseParametersFromTable().
|
private |
Definition at line 64 of file EICG4B0ECALDetector.h.
View newest version in sPHENIX GitHub at line 64 of file EICG4B0ECALDetector.h
Referenced by ParseParametersFromTable(), and PlaceTower().