ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4beastmagnet/BeastMagnetDetector.h>
Public Member Functions | |
BeastMagnetDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam) | |
constructor | |
virtual | ~BeastMagnetDetector () |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | Print (const std::string &what="ALL") const override |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
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 () |
Private Member Functions | |
void | InsertVolumes (G4VPhysicalVolume *physvol) |
Private Attributes | |
BeastMagnetDisplayAction * | m_DisplayAction |
PHParameters * | m_Params |
std::string | m_GDMPath |
std::string | m_TopVolName |
std::set< G4VPhysicalVolume * > | m_PhysicalVolumesSet |
std::string | m_SuperDetector |
int | m_AbsorberActive |
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 18 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 18 of file BeastMagnetDetector.h
BeastMagnetDetector::BeastMagnetDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
PHParameters * | parameters, | ||
const std::string & | dnam | ||
) |
constructor
Definition at line 33 of file BeastMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 33 of file BeastMagnetDetector.cc
|
inlinevirtual |
destructor
Definition at line 25 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 25 of file BeastMagnetDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 58 of file BeastMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 58 of file BeastMagnetDetector.cc
References G4GDMLReadStructure::GetAssembly(), G4AssemblyVolume::GetVolumesIterator(), InsertVolumes(), it, m_GDMPath, m_TopVolName, G4AssemblyVolume::MakeImprint(), PHG4Detector::OverlapCheck(), G4GDMLParser::SetOverlapCheck(), and G4AssemblyVolume::TotalImprintedVolumes().
|
private |
Definition at line 91 of file BeastMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 91 of file BeastMagnetDetector.cc
References BeastMagnetDisplayAction::AddLogicalVolume(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), int(), m_DisplayAction, and m_PhysicalVolumesSet.
Referenced by ConstructMe().
int BeastMagnetDetector::IsInDetector | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 47 of file BeastMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 47 of file BeastMagnetDetector.cc
References m_PhysicalVolumesSet.
Referenced by BeastMagnetSteppingAction::UserSteppingAction().
|
overridevirtual |
Reimplemented from PHG4Detector.
Definition at line 108 of file BeastMagnetDetector.cc.
View newest version in sPHENIX GitHub at line 108 of file BeastMagnetDetector.cc
References m_Params, and PHParameters::Print().
Referenced by BeastMagnetSubsystem::Print().
|
inline |
Definition at line 37 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 37 of file BeastMagnetDetector.h
References m_SuperDetector.
Referenced by BeastMagnetSubsystem::InitRunSubsystem(), and BeastMagnetSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 38 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 38 of file BeastMagnetDetector.h
References m_SuperDetector.
|
private |
Definition at line 52 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 52 of file BeastMagnetDetector.h
|
private |
Definition at line 42 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 42 of file BeastMagnetDetector.h
Referenced by InsertVolumes().
|
private |
Definition at line 45 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 45 of file BeastMagnetDetector.h
Referenced by ConstructMe().
|
private |
Definition at line 43 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 43 of file BeastMagnetDetector.h
Referenced by Print().
|
private |
Definition at line 49 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 49 of file BeastMagnetDetector.h
Referenced by InsertVolumes(), and IsInDetector().
|
private |
Definition at line 51 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 51 of file BeastMagnetDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 46 of file BeastMagnetDetector.h.
View newest version in sPHENIX GitHub at line 46 of file BeastMagnetDetector.h
Referenced by ConstructMe().