Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4intt/PHG4InttDetector.h>
Public Member Functions | |
PHG4InttDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParametersContainer *parameters, const std::string &dnam, const std::pair< std::vector< std::pair< int, int >>::const_iterator, std::vector< std::pair< int, int >>::const_iterator > &layer_b_e) | |
constructor | |
~PHG4InttDetector () override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
void | Detector (const std::string &name) |
const std::string | Detector () const |
std::map< G4VPhysicalVolume *, std::tuple< int, int, int, int > >::const_iterator | get_ActiveVolumeTuple (G4VPhysicalVolume *physvol) const |
std::map< G4LogicalVolume *, std::tuple< int, int > >::const_iterator | get_PassiveVolumeTuple (G4LogicalVolume *logvol) const |
volume accessors | |
int | IsInIntt (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 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 () |
Private Member Functions | |
void | AddGeometryNode () |
int | ConstructIntt (G4LogicalVolume *sandwich) |
Private Attributes | |
PHG4InttDisplayAction * | m_DisplayAction = nullptr |
PHParametersContainer * | m_ParamsContainer = nullptr |
std::string | m_DetectorType |
std::string | m_SuperDetector |
int | m_IsSupportActive = 0 |
int | m_IsEndcapActive = 0 |
double | m_PosZ [8][2] |
double | m_SensorRadius [8] |
double | m_StripOffsetX [8] |
std::set< G4LogicalVolume * > | m_ActiveLogVols |
std::map< int, int > | m_IsActiveMap |
std::map< int, int > | m_IsAbsorberActiveMap |
std::pair< std::vector < std::pair< int, int > >::const_iterator, std::vector< std::pair< int, int > >::const_iterator > | m_LayerBeginEndIteratorPair |
std::map< G4VPhysicalVolume *, std::tuple< int, int, int, int > > | m_ActiveVolumeTuple |
std::map< G4LogicalVolume *, std::tuple< int, int > > | m_PassiveVolumeTuple |
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 22 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4InttDetector.h
PHG4InttDetector::PHG4InttDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParametersContainer * | parameters, | ||
const std::string & | dnam, | ||
const std::pair< std::vector< std::pair< int, int >>::const_iterator, std::vector< std::pair< int, int >>::const_iterator > & | layer_b_e | ||
) |
constructor
Definition at line 60 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 60 of file PHG4InttDetector.cc
References PHParameters::get_int_param(), PHParametersContainer::GetParameters(), layer, m_IsAbsorberActiveMap, m_IsActiveMap, m_IsEndcapActive, m_IsSupportActive, m_LayerBeginEndIteratorPair, m_ParamsContainer, m_PosZ, m_SensorRadius, m_StripOffsetX, and PHG4InttDefs::SUPPORTPARAMS.
|
inlineoverride |
destructor
Definition at line 29 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4InttDetector.h
|
private |
Definition at line 1494 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 1494 of file PHG4InttDetector.cc
References Acts::active, PHG4CylinderGeomContainer::AddLayerGeom(), PHCompositeNode::addNode(), Acts::UnitConstants::cm, deg, PHNodeIterator::findFirst(), material_mapping_optimisation::format, PHParameters::get_double_param(), PHParameters::get_int_param(), PHParametersContainer::GetParameters(), PHG4CylinderGeomContainer::identify(), G4INTT::laddertype, m_DetectorType, m_IsActiveMap, m_LayerBeginEndIteratorPair, m_ParamsContainer, m_PosZ, m_SensorRadius, m_SuperDetector, Acts::UnitConstants::rad, str, PHG4Detector::topNode(), and PHG4Detector::Verbosity().
Referenced by ConstructMe().
|
private |
Definition at line 121 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 121 of file PHG4InttDetector.cc
References PHG4InttDisplayAction::AddVolume(), Acts::UnitConstants::cm, deg, double(), INTTVtxZ::dphi, material_mapping_optimisation::format, PHG4InttDefs::FPHX, PHG4InttDefs::FPHX_GLUE, PHParameters::get_double_param(), PHParameters::get_int_param(), PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), PHParametersContainer::GetParameters(), PHG4InttDefs::HDI_COPPER, PHG4InttDefs::HDI_KAPTON, PHG4InttDefs::HDIEXT_COPPER, PHG4InttDefs::HDIEXT_KAPTON, i, G4CEMCALBEDO::inner_radius, recoConsts::instance(), PHG4InttDefs::INTT_INNER_SKIN, PHG4InttDefs::INTT_OUTER_SKIN, j, G4INTT::laddertype, m_ActiveLogVols, m_ActiveVolumeTuple, m_DisplayAction, m_IsAbsorberActiveMap, m_IsActiveMap, m_IsEndcapActive, m_IsSupportActive, m_LayerBeginEndIteratorPair, m_ParamsContainer, m_PassiveVolumeTuple, m_PosZ, m_SensorRadius, m_StripOffsetX, std::tr1::make_tuple(), PHG4Detector::OverlapCheck(), merge_hashes::p, ActsTests::PropagationDatasets::phi, PHWHERE, Acts::UnitConstants::rad, PHG4InttDefs::SEGMENTATION_PHI, PHG4InttDefs::SEGMENTATION_Z, PHG4InttDefs::SERVICE_BARREL_OUTER, PHG4InttDefs::SI_GLUE, PHG4InttDefs::SI_INACTIVE, PHG4InttDefs::STAVE_BOTTOM_COOLER, PHG4InttDefs::STAVE_CURVE, PHG4InttDefs::STAVE_STRAIGHT_COOLER, PHG4InttDefs::STAVE_STRAIGHT_OUTER, PHG4InttDefs::STAVEEXT_BOTTOM_COOLER, PHG4InttDefs::STAVEEXT_CURVE, PHG4InttDefs::STAVEEXT_STRAIGHT_COOLER, PHG4InttDefs::STAVEEXT_STRAIGHT_OUTER, str, PHG4InttDefs::SUPPORT_DETID, PHG4InttDefs::SUPPORT_RAIL, PHG4InttDefs::SUPPORT_TUBE, PHG4InttDefs::SUPPORTPARAMS, and PHG4Detector::Verbosity().
Referenced by ConstructMe().
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 103 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 103 of file PHG4InttDetector.cc
References AddGeometryNode(), ConstructIntt(), m_LayerBeginEndIteratorPair, and PHG4Detector::Verbosity().
|
inline |
Definition at line 46 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4InttDetector.h
References m_DetectorType, and perf_headwind::name.
|
inline |
Definition at line 50 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4InttDetector.h
References m_DetectorType.
std::map< G4VPhysicalVolume *, std::tuple< int, int, int, int > >::const_iterator PHG4InttDetector::get_ActiveVolumeTuple | ( | G4VPhysicalVolume * | physvol | ) | const |
Definition at line 1555 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 1555 of file PHG4InttDetector.cc
References m_ActiveVolumeTuple, and PHWHERE.
Referenced by PHG4InttSteppingAction::UserSteppingAction().
std::map< G4LogicalVolume *, std::tuple< int, int > >::const_iterator PHG4InttDetector::get_PassiveVolumeTuple | ( | G4LogicalVolume * | logvol | ) | const |
Definition at line 1567 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 1567 of file PHG4InttDetector.cc
References m_PassiveVolumeTuple, and PHWHERE.
Referenced by PHG4InttSteppingAction::UserSteppingAction().
int PHG4InttDetector::IsInIntt | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 82 of file PHG4InttDetector.cc.
View newest version in sPHENIX GitHub at line 82 of file PHG4InttDetector.cc
References m_ActiveLogVols, and m_PassiveVolumeTuple.
Referenced by PHG4InttSteppingAction::UserSteppingAction().
|
inline |
Definition at line 38 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4InttDetector.h
References m_SuperDetector, and perf_headwind::name.
|
inline |
Definition at line 42 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 42 of file PHG4InttDetector.h
References m_SuperDetector.
|
private |
Definition at line 75 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4InttDetector.h
Referenced by ConstructIntt(), and IsInIntt().
|
private |
Definition at line 79 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4InttDetector.h
Referenced by ConstructIntt(), and get_ActiveVolumeTuple().
|
private |
Definition at line 65 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), and Detector().
|
private |
Definition at line 62 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4InttDetector.h
Referenced by ConstructIntt().
|
private |
Definition at line 77 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4InttDetector.h
Referenced by ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 76 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 69 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4InttDetector.h
Referenced by ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 68 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4InttDetector.h
Referenced by ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 78 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), ConstructIntt(), ConstructMe(), and PHG4InttDetector().
|
private |
Definition at line 63 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 80 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4InttDetector.h
Referenced by ConstructIntt(), get_PassiveVolumeTuple(), and IsInIntt().
|
private |
Definition at line 71 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 72 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 73 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4InttDetector.h
Referenced by ConstructIntt(), and PHG4InttDetector().
|
private |
Definition at line 66 of file PHG4InttDetector.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4InttDetector.h
Referenced by AddGeometryNode(), and SuperDetector().