EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eiccalos/PHG4LFHcalDetector.h>
Classes | |
struct | towerposition |
Public Member Functions | |
PHG4LFHcalDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~PHG4LFHcalDetector () |
destructor | |
virtual void | ConstructMe (G4LogicalVolume *world) |
construct | |
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 () |
volume accessors | |
PHG4LFHcalDisplayAction * | m_DisplayAction = nullptr |
PHParameters * | m_Params = nullptr |
int | m_ActiveFlag = 1 |
int | m_AbsorberActiveFlag = 0 |
int | m_Layer = 0 |
std::string | m_TowerLogicNamePrefix |
std::string | m_SuperDetector |
std::map< std::string, G4double > | m_GlobalParameterMap |
std::map< std::string, towerposition > | m_TowerPostionMap |
std::set< G4LogicalVolume * > | m_AbsorberLogicalVolSet |
std::set< G4LogicalVolume * > | m_ScintiLogicalVolSet |
bool | m_doLightProp = false |
int | IsInLFHcal (G4VPhysicalVolume *) const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
PHParameters * | getParamsDet () const |
int | get_Layer () const |
void | DoFullLightProp (bool doProp) |
G4LogicalVolume * | ConstructTower () |
int | PlaceTower (G4LogicalVolume *envelope, G4LogicalVolume *tower) |
int | ParseParametersFromTable () |
G4Material * | GetScintillatorMaterial () |
G4Material * | GetCoatingMaterial () |
G4Material * | GetWLSFiberMaterial () |
void | SurfaceTable (G4LogicalVolume *vol) |
void | MakeBoundary (G4VPhysicalVolume *crystal, G4VPhysicalVolume *opdet, bool isFiber) |
void | MakeBoundary_Fiber_Scint (G4VPhysicalVolume *crystal, G4VPhysicalVolume *opdet) |
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 PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4LFHcalDetector.h
PHG4LFHcalDetector::PHG4LFHcalDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 49 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 49 of file PHG4LFHcalDetector.cc
References PHParameters::get_string_param(), m_Params, and ParseParametersFromTable().
|
inlinevirtual |
destructor
Definition at line 35 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4LFHcalDetector.h
|
virtual |
construct
Implements PHG4Detector.
Definition at line 91 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 91 of file PHG4LFHcalDetector.cc
References PHG4LFHcalDisplayAction::AddVolume(), Acts::UnitConstants::cm, ConstructTower(), PHParameters::get_double_param(), PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), recoConsts::instance(), m_DisplayAction, m_Params, M_PI, m_TowerLogicNamePrefix, PHG4Detector::OverlapCheck(), PlaceTower(), PHG4Detector::Verbosity(), and G4WORLD::WorldMaterial.
|
private |
Definition at line 146 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 146 of file PHG4LFHcalDetector.cc
References PHG4LFHcalDisplayAction::AddVolume(), Acts::UnitConstants::cm, PHParameters::get_double_param(), PHParameters::get_int_param(), PHParameters::get_string_param(), PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), GetScintillatorMaterial(), GetWLSFiberMaterial(), recoConsts::instance(), m_AbsorberLogicalVolSet, m_DisplayAction, m_doLightProp, m_Params, M_PI, m_ScintiLogicalVolSet, m_TowerLogicNamePrefix, MakeBoundary(), MakeBoundary_Fiber_Scint(), Acts::UnitConstants::mm, PHG4Detector::OverlapCheck(), nlohmann::to_string(), PHG4Detector::Verbosity(), and G4WORLD::WorldMaterial.
Referenced by ConstructMe().
|
inline |
Definition at line 50 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4LFHcalDetector.h
References m_doLightProp.
Referenced by PHG4LFHcalSubsystem::InitRunSubsystem().
|
inline |
Definition at line 48 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4LFHcalDetector.h
References m_Layer.
Referenced by PHG4LFHcalSteppingAction::UserSteppingAction().
|
private |
Definition at line 699 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 699 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::cm3, g(), PHG4Detector::GetDetectorElement(), and PHG4Detector::GetDetectorMaterial().
|
inline |
Definition at line 46 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4LFHcalDetector.h
References m_Params.
|
private |
Definition at line 629 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 629 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::cm, Acts::UnitConstants::cm3, Acts::UnitConstants::eV, g(), PHG4Detector::GetDetectorElement(), Acts::UnitConstants::keV, m_doLightProp, Acts::UnitConstants::MeV, Acts::UnitConstants::mm, and Acts::UnitConstants::ns.
Referenced by ConstructTower().
|
private |
Definition at line 748 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 748 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::cm3, Acts::UnitConstants::eV, g(), PHG4Detector::GetDetectorElement(), Acts::UnitConstants::m, m_doLightProp, Acts::UnitConstants::mm, Acts::UnitConstants::ns, and PHG4Detector::Verbosity().
Referenced by ConstructTower().
int PHG4LFHcalDetector::IsInLFHcal | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 69 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 69 of file PHG4LFHcalDetector.cc
References m_AbsorberActiveFlag, m_AbsorberLogicalVolSet, m_ActiveFlag, and m_ScintiLogicalVolSet.
Referenced by PHG4LFHcalSteppingAction::UserSteppingAction().
|
private |
Definition at line 813 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 813 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::eV.
Referenced by ConstructTower().
|
private |
Definition at line 845 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 845 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::eV.
Referenced by ConstructTower().
|
private |
TODO make this better!
Definition at line 905 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 905 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::cm, PHParameters::get_double_param(), PHParameters::get_int_param(), PHParameters::get_string_param(), getline, PHG4LFHcalDetector::towerposition::idx_j, PHG4LFHcalDetector::towerposition::idx_k, m_GlobalParameterMap, m_Params, m_TowerLogicNamePrefix, m_TowerPostionMap, Acts::UnitConstants::rad, PHParameters::set_double_param(), PHParameters::set_int_param(), G4CTD::size_z, PHG4Detector::Verbosity(), PHG4LFHcalDetector::towerposition::x, PHG4LFHcalDetector::towerposition::y, and PHG4LFHcalDetector::towerposition::z.
Referenced by PHG4LFHcalDetector().
|
private |
Definition at line 604 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 604 of file PHG4LFHcalDetector.cc
References m_TowerPostionMap, PHG4Detector::OverlapCheck(), and PHG4Detector::Verbosity().
Referenced by ConstructMe().
|
inline |
Definition at line 43 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 43 of file PHG4LFHcalDetector.h
References m_SuperDetector, and name.
Referenced by PHG4LFHcalSubsystem::InitRunSubsystem(), and PHG4LFHcalSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 44 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4LFHcalDetector.h
References m_SuperDetector.
|
private |
Definition at line 723 of file PHG4LFHcalDetector.cc.
View newest version in sPHENIX GitHub at line 723 of file PHG4LFHcalDetector.cc
References Acts::UnitConstants::eV, and surface().
|
private |
Definition at line 75 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4LFHcalDetector.h
Referenced by IsInLFHcal().
|
private |
Definition at line 84 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4LFHcalDetector.h
Referenced by ConstructTower(), and IsInLFHcal().
|
private |
Definition at line 74 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4LFHcalDetector.h
Referenced by IsInLFHcal().
|
private |
Definition at line 71 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4LFHcalDetector.h
Referenced by ConstructMe(), and ConstructTower().
|
private |
Definition at line 87 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4LFHcalDetector.h
Referenced by ConstructTower(), DoFullLightProp(), GetScintillatorMaterial(), and GetWLSFiberMaterial().
|
private |
Definition at line 81 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4LFHcalDetector.h
Referenced by ParseParametersFromTable().
|
private |
Definition at line 76 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4LFHcalDetector.h
Referenced by get_Layer().
|
private |
Definition at line 72 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4LFHcalDetector.h
Referenced by ConstructMe(), ConstructTower(), getParamsDet(), ParseParametersFromTable(), and PHG4LFHcalDetector().
|
private |
Definition at line 85 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4LFHcalDetector.h
Referenced by ConstructTower(), and IsInLFHcal().
|
private |
Definition at line 79 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4LFHcalDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 78 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4LFHcalDetector.h
Referenced by ConstructMe(), ConstructTower(), and ParseParametersFromTable().
|
private |
Definition at line 82 of file PHG4LFHcalDetector.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4LFHcalDetector.h
Referenced by ParseParametersFromTable(), and PlaceTower().