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

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4BbcDetector.h>

+ Inheritance diagram for PHG4BbcDetector:
+ Collaboration diagram for PHG4BbcDetector:

Public Member Functions

 PHG4BbcDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *params, const std::string &dnam="BBC")
 constructor
 
 ~PHG4BbcDetector () override
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct BBC/MBD
 
void Print (const std::string &what="ALL") const override
 
int IsInBbc (G4VPhysicalVolume *) const
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
PHG4BbcDisplayActionGetDisplayAction ()
 
- 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 G4UserSteppingActionGetSteppingAction ()
 
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 ()
 

Protected Attributes

PHG4BbcDisplayActionm_DisplayAction = nullptr
 
PHParametersm_Params = nullptr
 
int m_ActiveFlag = 0
 
int m_SupportActiveFlag = 0
 
float m_bbcz = NAN
 
std::set< G4LogicalVolume * > m_PhysLogicalVolSet
 
std::set< G4LogicalVolume * > m_SupportLogicalVolSet
 
std::string m_SuperDetector
 

Additional Inherited Members

- Static Public Member Functions inherited from PHG4Detector
static G4MaterialGetDetectorMaterial (const std::string &name, const bool quit=true)
 
static G4ElementGetDetectorElement (const std::string &name, const bool quit=true)
 

Detailed Description

Definition at line 19 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 19 of file PHG4BbcDetector.h

Constructor & Destructor Documentation

PHG4BbcDetector::PHG4BbcDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
PHParameters params,
const std::string &  dnam = "BBC" 
)

constructor

Definition at line 31 of file PHG4BbcDetector.cc.

View newest version in sPHENIX GitHub at line 31 of file PHG4BbcDetector.cc

PHG4BbcDetector::~PHG4BbcDetector ( )
inlineoverride

destructor

Definition at line 26 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 26 of file PHG4BbcDetector.h

Member Function Documentation

void PHG4BbcDetector::ConstructMe ( G4LogicalVolume world)
overridevirtual
PHG4BbcDisplayAction* PHG4BbcDetector::GetDisplayAction ( )
inline

Definition at line 40 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 40 of file PHG4BbcDetector.h

References m_DisplayAction.

Referenced by ConstructMe().

+ Here is the caller graph for this function:

int PHG4BbcDetector::IsInBbc ( G4VPhysicalVolume volume) const

Definition at line 42 of file PHG4BbcDetector.cc.

View newest version in sPHENIX GitHub at line 42 of file PHG4BbcDetector.cc

References G4VPhysicalVolume::GetLogicalVolume(), m_ActiveFlag, m_PhysLogicalVolSet, m_SupportActiveFlag, and m_SupportLogicalVolSet.

Referenced by PHG4BbcSteppingAction::UserSteppingAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4BbcDetector::Print ( const std::string &  what = "ALL") const
overridevirtual

Reimplemented from PHG4Detector.

Definition at line 426 of file PHG4BbcDetector.cc.

View newest version in sPHENIX GitHub at line 426 of file PHG4BbcDetector.cc

Referenced by PHG4BbcSubsystem::Print().

+ Here is the caller graph for this function:

void PHG4BbcDetector::SuperDetector ( const std::string &  name)
inline

Definition at line 37 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 37 of file PHG4BbcDetector.h

References m_SuperDetector.

Referenced by PHG4BbcSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

const std::string PHG4BbcDetector::SuperDetector ( ) const
inline

Definition at line 38 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 38 of file PHG4BbcDetector.h

References m_SuperDetector.

Member Data Documentation

int PHG4BbcDetector::m_ActiveFlag = 0
protected

Definition at line 47 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 47 of file PHG4BbcDetector.h

Referenced by IsInBbc().

float PHG4BbcDetector::m_bbcz = NAN
protected

Definition at line 50 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 50 of file PHG4BbcDetector.h

Referenced by ConstructMe().

PHG4BbcDisplayAction* PHG4BbcDetector::m_DisplayAction = nullptr
protected

Definition at line 43 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 43 of file PHG4BbcDetector.h

Referenced by GetDisplayAction().

PHParameters* PHG4BbcDetector::m_Params = nullptr
protected

Definition at line 45 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 45 of file PHG4BbcDetector.h

std::set<G4LogicalVolume *> PHG4BbcDetector::m_PhysLogicalVolSet
protected

Definition at line 52 of file PHG4BbcDetector.h.

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

Referenced by ConstructMe(), and IsInBbc().

std::string PHG4BbcDetector::m_SuperDetector
protected

Definition at line 55 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 55 of file PHG4BbcDetector.h

Referenced by SuperDetector().

int PHG4BbcDetector::m_SupportActiveFlag = 0
protected

Definition at line 48 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 48 of file PHG4BbcDetector.h

Referenced by IsInBbc().

std::set<G4LogicalVolume *> PHG4BbcDetector::m_SupportLogicalVolSet
protected

Definition at line 53 of file PHG4BbcDetector.h.

View newest version in sPHENIX GitHub at line 53 of file PHG4BbcDetector.h

Referenced by ConstructMe(), and IsInBbc().


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