ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4tpc/PHG4TpcDetector.h>
Public Member Functions | |
PHG4TpcDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
~PHG4TpcDetector (void) override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
int | IsInTpc (G4VPhysicalVolume *) const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () 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 | |
int | ConstructTpcGasVolume (G4LogicalVolume *tpc_envelope) |
int | ConstructTpcCageVolume (G4LogicalVolume *tpc_envelope) |
int | ConstructTpcExternalSupports (G4LogicalVolume *logicWorld) |
void | CreateCompositeMaterial (std::string compositeName, std::vector< std::string > materialName, std::vector< double > thickness) |
Private Attributes | |
PHG4TpcDisplayAction * | m_DisplayAction = nullptr |
PHParameters * | m_Params = nullptr |
G4UserLimits * | m_G4UserLimits = nullptr |
int | m_ActiveFlag = 0 |
int | m_AbsorberActiveFlag = 0 |
double | m_InnerCageRadius = NAN |
double | m_OuterCageRadius = NAN |
std::set< G4VPhysicalVolume * > | m_AbsorberVolumeSet |
std::set< G4VPhysicalVolume * > | m_ActiveVolumeSet |
std::string | m_SuperDetectorName |
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 20 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4TpcDetector.h
PHG4TpcDetector::PHG4TpcDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 35 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 35 of file PHG4TpcDetector.cc
|
inlineoverride |
destructor
Definition at line 27 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4TpcDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 67 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 67 of file PHG4TpcDetector.cc
References PHG4TpcDisplayAction::AddVolume(), cm, ConstructTpcCageVolume(), ConstructTpcExternalSupports(), ConstructTpcGasVolume(), PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), recoConsts::instance(), isfinite, m_DisplayAction, m_G4UserLimits, m_InnerCageRadius, m_OuterCageRadius, m_Params, M_PI, and PHG4Detector::OverlapCheck().
|
private |
Definition at line 305 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 305 of file PHG4TpcDetector.cc
References PHG4TpcDisplayAction::AddTpcInnerLayer(), PHG4TpcDisplayAction::AddTpcOuterLayer(), cm, PHParameters::get_double_param(), PHParameters::get_string_param(), PHG4Detector::GetDetectorMaterial(), m_AbsorberVolumeSet, m_DisplayAction, m_InnerCageRadius, m_OuterCageRadius, m_Params, M_PI, material(), PHG4Detector::OverlapCheck(), and thickness.
Referenced by ConstructMe().
|
private |
Definition at line 226 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 226 of file PHG4TpcDetector.cc
References PHG4TpcDisplayAction::AddVolume(), cm, PHParameters::get_double_param(), PHG4Detector::GetDetectorMaterial(), inch, m_AbsorberVolumeSet, m_DisplayAction, m_Params, M_PI, and PHG4Detector::OverlapCheck().
Referenced by ConstructMe().
|
private |
Definition at line 105 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 105 of file PHG4TpcDetector.cc
References G4Region::AddRootLogicalVolume(), PHG4TpcDisplayAction::AddVolume(), cm, CreateCompositeMaterial(), PHParameters::get_double_param(), PHParameters::get_string_param(), G4VPhysicalVolume::GetCopyNo(), PHG4Detector::GetDetectorMaterial(), G4RegionStore::GetInstance(), G4RegionStore::GetRegion(), m_AbsorberVolumeSet, m_ActiveVolumeSet, m_DisplayAction, m_G4UserLimits, m_Params, M_PI, material(), PHG4TpcDefs::North, PHG4Detector::OverlapCheck(), PHG4TpcDefs::South, thickness, PHG4TpcDefs::Window, and PHG4TpcDefs::WindowCore.
Referenced by ConstructMe().
|
private |
Definition at line 380 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 380 of file PHG4TpcDetector.cc
References G4Material::AddMaterial(), g4zmq::exit(), G4Material::GetDensity(), and PHG4Detector::GetDetectorMaterial().
Referenced by ConstructTpcGasVolume().
int PHG4TpcDetector::IsInTpc | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 47 of file PHG4TpcDetector.cc.
View newest version in sPHENIX GitHub at line 47 of file PHG4TpcDetector.cc
References m_AbsorberActiveFlag, m_AbsorberVolumeSet, m_ActiveFlag, and m_ActiveVolumeSet.
Referenced by PHG4TpcSteppingAction::UserSteppingAction().
|
inline |
Definition at line 35 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4TpcDetector.h
References m_SuperDetectorName.
Referenced by PHG4TpcSubsystem::InitRunSubsystem().
|
inline |
Definition at line 36 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4TpcDetector.h
References m_SuperDetectorName.
|
private |
Definition at line 49 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4TpcDetector.h
Referenced by IsInTpc().
|
private |
Definition at line 52 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4TpcDetector.h
Referenced by ConstructTpcCageVolume(), ConstructTpcExternalSupports(), ConstructTpcGasVolume(), and IsInTpc().
|
private |
Definition at line 48 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4TpcDetector.h
Referenced by IsInTpc().
|
private |
Definition at line 53 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 53 of file PHG4TpcDetector.h
Referenced by ConstructTpcGasVolume(), and IsInTpc().
|
private |
Definition at line 45 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4TpcDetector.h
Referenced by ConstructMe(), ConstructTpcCageVolume(), ConstructTpcExternalSupports(), and ConstructTpcGasVolume().
|
private |
Definition at line 47 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4TpcDetector.h
Referenced by ConstructMe(), and ConstructTpcGasVolume().
|
private |
Definition at line 50 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4TpcDetector.h
Referenced by ConstructMe(), and ConstructTpcCageVolume().
|
private |
Definition at line 51 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4TpcDetector.h
Referenced by ConstructMe(), and ConstructTpcCageVolume().
|
private |
Definition at line 46 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4TpcDetector.h
Referenced by ConstructMe(), ConstructTpcCageVolume(), ConstructTpcExternalSupports(), and ConstructTpcGasVolume().
|
private |
Definition at line 55 of file PHG4TpcDetector.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4TpcDetector.h
Referenced by SuperDetector().