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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4drich/EICG4dRICHDetector.h>

+ Inheritance diagram for EICG4dRICHDetector:
+ Collaboration diagram for EICG4dRICHDetector:

Public Member Functions

 EICG4dRICHDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam)
 constructor
 
virtual ~EICG4dRICHDetector ()
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct
 
void Print (const std::string &what="ALL") const override
 
void ActivateVolumeTree (G4VPhysicalVolume *volu, G4int petal=0)
 
int GetPetal (G4VPhysicalVolume *volu)
 
int GetPSST (G4VPhysicalVolume *volu)
 
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 Attributes

PHParametersm_Params
 
std::set< G4VPhysicalVolume * > m_PhysicalVolumesSet
 
std::map< G4VPhysicalVolume
*, G4int > 
m_PetalMap
 
std::string m_SuperDetector
 

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 17 of file EICG4dRICHDetector.h.

View newest version in sPHENIX GitHub at line 17 of file EICG4dRICHDetector.h

Constructor & Destructor Documentation

EICG4dRICHDetector::EICG4dRICHDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
PHParameters parameters,
const std::string &  dnam 
)

constructor

Definition at line 27 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 27 of file EICG4dRICHDetector.cc

virtual EICG4dRICHDetector::~EICG4dRICHDetector ( )
inlinevirtual

destructor

Definition at line 25 of file EICG4dRICHDetector.h.

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

Member Function Documentation

void EICG4dRICHDetector::ActivateVolumeTree ( G4VPhysicalVolume *  volu,
G4int  petal = 0 
)

Definition at line 132 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 132 of file EICG4dRICHDetector.cc

References d, m_PetalMap, m_PhysicalVolumesSet, PHG4Detector::Verbosity(), and Fun4AllBase::VERBOSITY_SOME.

Referenced by ConstructMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EICG4dRICHDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual

construct

Implements PHG4Detector.

Definition at line 47 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 47 of file EICG4dRICHDetector.cc

References ActivateVolumeTree(), EICG4dRICHConfig::aerOptModel, Acts::UnitConstants::cm, EICG4dRICHConfig::filter_thr, PHParameters::get_double_param(), PHParameters::get_string_param(), m_Params, EICG4dRICHConfig::model_file, Acts::UnitConstants::nm, Acts::VectorHelpers::position(), PHG4Detector::Verbosity(), and Fun4AllBase::VERBOSITY_MORE.

+ Here is the call graph for this function:

int EICG4dRICHDetector::GetPetal ( G4VPhysicalVolume *  volu)

Definition at line 170 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 170 of file EICG4dRICHDetector.cc

References m_PetalMap.

Referenced by EICG4dRICHSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EICG4dRICHDetector::GetPSST ( G4VPhysicalVolume *  volu)

Definition at line 188 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 188 of file EICG4dRICHDetector.cc

Referenced by EICG4dRICHSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EICG4dRICHDetector::IsInDetector ( G4VPhysicalVolume *  volume) const

Definition at line 35 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 35 of file EICG4dRICHDetector.cc

References m_PhysicalVolumesSet.

Referenced by EICG4dRICHSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Reimplemented from PHG4Detector.

Definition at line 194 of file EICG4dRICHDetector.cc.

View newest version in sPHENIX GitHub at line 194 of file EICG4dRICHDetector.cc

References m_Params, and PHParameters::Print().

Referenced by EICG4dRICHSubsystem::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 44 of file EICG4dRICHDetector.h.

View newest version in sPHENIX GitHub at line 44 of file EICG4dRICHDetector.h

References m_SuperDetector, and name.

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

Definition at line 45 of file EICG4dRICHDetector.h.

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

References m_SuperDetector.

Member Data Documentation

PHParameters* EICG4dRICHDetector::m_Params
private

Definition at line 48 of file EICG4dRICHDetector.h.

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

Referenced by ConstructMe(), and Print().

std::map<G4VPhysicalVolume *, G4int> EICG4dRICHDetector::m_PetalMap
private

Definition at line 52 of file EICG4dRICHDetector.h.

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

Referenced by ActivateVolumeTree(), and GetPetal().

std::set<G4VPhysicalVolume *> EICG4dRICHDetector::m_PhysicalVolumesSet
private

Definition at line 51 of file EICG4dRICHDetector.h.

View newest version in sPHENIX GitHub at line 51 of file EICG4dRICHDetector.h

Referenced by ActivateVolumeTree(), and IsInDetector().

std::string EICG4dRICHDetector::m_SuperDetector
private

Definition at line 54 of file EICG4dRICHDetector.h.

View newest version in sPHENIX GitHub at line 54 of file EICG4dRICHDetector.h

Referenced by SuperDetector().


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