ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Classes | |
struct | towerposition |
Public Member Functions | |
PHG4HybridHomogeneousCalorimeterDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~PHG4HybridHomogeneousCalorimeterDetector () |
destructor | |
virtual void | ConstructMe (G4LogicalVolume *world) |
construct | |
virtual int | IsInCrystalCalorimeter (G4VPhysicalVolume *) const |
check if volume is in this calorimeter | |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_DetectorId () const |
void | DetectorId (const int i) |
void | DoFullLightProp (bool doProp) |
PHParameters * | GetParams () |
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 () |
Protected Member Functions | |
PHG4HybridHomogeneousCalorimeterDisplayAction * | GetDisplayAction () |
G4Material * | GetCarbonFiber () |
virtual int | GetCaloType () const |
Private Member Functions | |
G4LogicalVolume * | ConstructSupportFrame (G4LogicalVolume *envelope) |
G4LogicalVolume * | ConstructTower () |
int | PlaceTower (G4LogicalVolume *envelope, G4LogicalVolume *tower) |
G4Material * | GetScintillatorMaterial (float setting) |
G4Material * | GetTedlarMaterial () |
G4Material * | GetVM2000Material () |
int | ParseParametersFromTable () |
void | CrystalTable (G4Material *mat) |
void | SurfaceTable (G4LogicalVolume *vol) |
void | MakeBoundary (G4VPhysicalVolume *vol1, G4VPhysicalVolume *vol2) |
Private Attributes | |
int | m_DetectorId = 0 |
std::string | m_SuperDetector |
PHParameters * | m_Params = nullptr |
PHG4HybridHomogeneousCalorimeterDisplayAction * | m_DisplayAction = nullptr |
std::string | _towerlogicnameprefix |
std::map< std::string, G4double > | _map_global_parameter |
std::map< std::string, towerposition > | _map_tower |
std::set< G4VPhysicalVolume * > | m_ActiveVolumeSet |
std::set< G4VPhysicalVolume * > | m_PassiveVolumeSet |
int | m_IsActive |
int | m_AbsorberActive |
bool | m_doLightProp |
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 28 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4HybridHomogeneousCalorimeterDetector.h
PHG4HybridHomogeneousCalorimeterDetector::PHG4HybridHomogeneousCalorimeterDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 47 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 47 of file PHG4HybridHomogeneousCalorimeterDetector.cc
|
inlinevirtual |
destructor
Definition at line 35 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4HybridHomogeneousCalorimeterDetector.h
|
virtual |
construct
Implements PHG4Detector.
Definition at line 80 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 80 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References ConstructTower(), g4zmq::exit(), PHParameters::get_string_param(), m_Params, ParseParametersFromTable(), PlaceTower(), and PHG4Detector::Verbosity().
|
private |
Definition at line 109 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 109 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References PHG4HybridHomogeneousCalorimeterDisplayAction::AddVolume(), cm, PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), GetDisplayAction(), m_Params, M_PI, PHG4Detector::OverlapCheck(), rad, and CLHEP::HepRotation::rotateZ().
|
private |
Definition at line 145 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 145 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References _towerlogicnameprefix, PHG4HybridHomogeneousCalorimeterDisplayAction::AddVolume(), cm, CrystalTable(), PHParameters::get_double_param(), PHParameters::get_int_param(), PHFlag::get_StringFlag(), GetCarbonFiber(), PHG4Detector::GetDetectorMaterial(), GetDisplayAction(), GetScintillatorMaterial(), GetTedlarMaterial(), GetVM2000Material(), recoConsts::instance(), m_ActiveVolumeSet, m_doLightProp, m_Params, m_PassiveVolumeSet, MakeBoundary(), mm, PHG4Detector::OverlapCheck(), SurfaceTable(), PHG4Detector::Verbosity(), and G4WORLD::WorldMaterial.
Referenced by ConstructMe().
|
private |
Definition at line 475 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 475 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4MaterialPropertiesTable::AddConstProperty(), G4MaterialPropertiesTable::AddProperty(), cm, eV, G4Material::GetMaterialPropertiesTable(), MeV, ns, G4Material::SetMaterialPropertiesTable(), and tab().
Referenced by ConstructTower().
Definition at line 49 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_DetectorId.
Referenced by PHG4HybridHomogeneousCalorimeterSubsystem::InitRunSubsystem().
|
inline |
Definition at line 50 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_doLightProp.
Referenced by PHG4HybridHomogeneousCalorimeterSubsystem::InitRunSubsystem().
|
inline |
Definition at line 48 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_DetectorId.
Referenced by PHG4HybridHomogeneousCalorimeterSteppingAction::UserSteppingAction().
|
inlineprotectedvirtual |
Definition at line 59 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4HybridHomogeneousCalorimeterDetector.h
References PHG4CrystalCalorimeterDefs::nonprojective.
Referenced by IsInCrystalCalorimeter().
|
protected |
Definition at line 850 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 850 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4Material::AddElement(), cm3, Acts::UnitConstants::g, PHG4Detector::GetDetectorMaterial(), and G4Element::GetElement().
Referenced by ConstructTower().
|
inlineprotected |
Definition at line 57 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 57 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_DisplayAction.
Referenced by ConstructSupportFrame(), and ConstructTower().
|
inline |
Definition at line 54 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_Params.
|
private |
Definition at line 386 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 386 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4Material::AddElement(), cm3, Acts::UnitConstants::g, PHG4Detector::GetDetectorMaterial(), mole, perCent, and PHG4Detector::Verbosity().
Referenced by ConstructTower().
|
private |
Definition at line 558 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 558 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4Material::AddElement(), cm3, Acts::UnitConstants::g, PHG4Detector::GetDetectorMaterial(), and G4Element::GetElement().
Referenced by ConstructTower().
|
private |
Definition at line 573 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 573 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4Material::AddElement(), G4MaterialPropertiesTable::AddProperty(), cm3, eV, Acts::UnitConstants::g, PHG4Detector::GetDetectorMaterial(), G4Element::GetElement(), and G4Material::SetMaterialPropertiesTable().
Referenced by ConstructTower().
|
virtual |
check if volume is in this calorimeter
Definition at line 60 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 60 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References GetCaloType(), m_AbsorberActive, m_ActiveVolumeSet, m_IsActive, and m_PassiveVolumeSet.
Referenced by PHG4HybridHomogeneousCalorimeterSteppingAction::UserSteppingAction().
|
private |
Definition at line 529 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 529 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4MaterialPropertiesTable::AddProperty(), dielectric_metal, eV, glisur, polished, G4OpticalSurface::SetFinish(), G4OpticalSurface::SetMaterialPropertiesTable(), G4OpticalSurface::SetModel(), and G4OpticalSurface::SetType().
Referenced by ConstructTower().
|
private |
Definition at line 604 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 604 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References _map_global_parameter, _map_tower, _towerlogicnameprefix, cm, deg, PHParameters::get_string_param(), PHG4HybridHomogeneousCalorimeterDetector::towerposition::idx_j, PHG4HybridHomogeneousCalorimeterDetector::towerposition::idx_k, m_Params, rad, PHParameters::set_double_param(), PHParameters::set_int_param(), G4HCALOUT::size_z, PHG4Detector::Verbosity(), PHG4HybridHomogeneousCalorimeterDetector::towerposition::x, PHG4HybridHomogeneousCalorimeterDetector::towerposition::y, and PHG4HybridHomogeneousCalorimeterDetector::towerposition::z.
Referenced by ConstructMe().
|
private |
Definition at line 361 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 361 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References _map_tower, PHG4Detector::OverlapCheck(), and PHG4Detector::Verbosity().
Referenced by ConstructMe().
|
inline |
Definition at line 45 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_SuperDetector.
Referenced by PHG4HybridHomogeneousCalorimeterSubsystem::InitRunSubsystem(), and PHG4HybridHomogeneousCalorimeterSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 46 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4HybridHomogeneousCalorimeterDetector.h
References m_SuperDetector.
|
private |
Definition at line 507 of file PHG4HybridHomogeneousCalorimeterDetector.cc.
View newest version in sPHENIX GitHub at line 507 of file PHG4HybridHomogeneousCalorimeterDetector.cc
References G4MaterialPropertiesTable::AddProperty(), dielectric_metal, eV, polished, G4OpticalSurface::SetMaterialPropertiesTable(), surface(), and unified.
Referenced by ConstructTower().
|
private |
Definition at line 91 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 91 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ParseParametersFromTable().
|
private |
Definition at line 92 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 92 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ParseParametersFromTable(), and PlaceTower().
|
private |
Definition at line 89 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ConstructTower(), and ParseParametersFromTable().
|
private |
Definition at line 99 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 99 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by IsInCrystalCalorimeter().
|
private |
Definition at line 93 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 93 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ConstructTower(), and IsInCrystalCalorimeter().
|
private |
Definition at line 81 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by DetectorId(), and get_DetectorId().
|
private |
Definition at line 87 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by GetDisplayAction().
|
private |
Definition at line 100 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 100 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ConstructTower(), and DoFullLightProp().
|
private |
Definition at line 98 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 98 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by IsInCrystalCalorimeter().
|
private |
Definition at line 85 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ConstructMe(), ConstructSupportFrame(), ConstructTower(), GetParams(), and ParseParametersFromTable().
|
private |
Definition at line 94 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 94 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by ConstructTower(), and IsInCrystalCalorimeter().
|
private |
Definition at line 83 of file PHG4HybridHomogeneousCalorimeterDetector.h.
View newest version in sPHENIX GitHub at line 83 of file PHG4HybridHomogeneousCalorimeterDetector.h
Referenced by SuperDetector().