EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BeastMagnetDetector Class Reference

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4beastmagnet/BeastMagnetDetector.h>

+ Inheritance diagram for BeastMagnetDetector:
+ Collaboration diagram for BeastMagnetDetector:

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 PHCompositeNodetopNode ()
 
virtual PHG4SubsystemGetMySubsystem ()
 

Private Member Functions

void InsertVolumes (G4VPhysicalVolume *physvol)
 

Private Attributes

BeastMagnetDisplayActionm_DisplayAction
 
PHParametersm_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)
 

Detailed Description

Definition at line 18 of file BeastMagnetDetector.h.

View newest version in sPHENIX GitHub at line 18 of file BeastMagnetDetector.h

Constructor & Destructor Documentation

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

virtual BeastMagnetDetector::~BeastMagnetDetector ( )
inlinevirtual

destructor

Definition at line 25 of file BeastMagnetDetector.h.

View newest version in sPHENIX GitHub at line 25 of file BeastMagnetDetector.h

Member Function Documentation

void BeastMagnetDetector::ConstructMe ( G4LogicalVolume *  world)
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(), InsertVolumes(), it, m_GDMPath, m_TopVolName, PHG4Detector::OverlapCheck(), reader(), and G4GDMLParser::SetOverlapCheck().

+ Here is the call graph for this function:

void BeastMagnetDetector::InsertVolumes ( G4VPhysicalVolume *  physvol)
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(), m_DisplayAction, and m_PhysicalVolumesSet.

Referenced by ConstructMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function:

void BeastMagnetDetector::Print ( const std::string &  what = "ALL") const
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void BeastMagnetDetector::SuperDetector ( const std::string &  name)
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, and name.

Referenced by BeastMagnetSubsystem::InitRunSubsystem(), and BeastMagnetSteppingAction::SetInterfacePointers().

+ Here is the caller graph for this function:

const std::string BeastMagnetDetector::SuperDetector ( ) const
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.

Member Data Documentation

int BeastMagnetDetector::m_AbsorberActive
private

Definition at line 52 of file BeastMagnetDetector.h.

View newest version in sPHENIX GitHub at line 52 of file BeastMagnetDetector.h

BeastMagnetDisplayAction* BeastMagnetDetector::m_DisplayAction
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().

std::string BeastMagnetDetector::m_GDMPath
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().

PHParameters* BeastMagnetDetector::m_Params
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().

std::set<G4VPhysicalVolume *> BeastMagnetDetector::m_PhysicalVolumesSet
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().

std::string BeastMagnetDetector::m_SuperDetector
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().

std::string BeastMagnetDetector::m_TopVolName
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().


The documentation for this class was generated from the following files: