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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/EicFRichDetector.h>

+ Inheritance diagram for EicFRichDetector:
+ Collaboration diagram for EicFRichDetector:

Public Member Functions

 EicFRichDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam)
 constructor
 
virtual ~EicFRichDetector ()
 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
 
G4Material * element_material (std::string identifier)
 
void addDetectorSection (G4LogicalVolume *logicWorld, std::string name, double z_pos, double thick, std::string material, std::string color)
 
 EicFRichDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam)
 constructor
 
virtual ~EicFRichDetector ()
 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
 
G4Material * element_material (std::string identifier)
 
void addDetectorSection (G4LogicalVolume *logicWorld, std::string name, double z_pos, double thick, std::string material, std::string color)
 
volume accessors
int IsInDetector (G4VPhysicalVolume *) const
 
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::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 18 of file EicFRichDetector.h.

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

Constructor & Destructor Documentation

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

constructor

Definition at line 50 of file EicFRichDetector.cc.

View newest version in sPHENIX GitHub at line 50 of file EicFRichDetector.cc

virtual EicFRichDetector::~EicFRichDetector ( )
inlinevirtual

destructor

Definition at line 25 of file EicFRichDetector.h.

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

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

constructor

virtual EicFRichDetector::~EicFRichDetector ( )
inlinevirtual

destructor

Definition at line 25 of file EicFRichDetector.h.

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

Member Function Documentation

void EicFRichDetector::addDetectorSection ( G4LogicalVolume *  logicWorld,
std::string  name,
double  z_pos,
double  thick,
std::string  material,
std::string  color 
)

Definition at line 192 of file EicFRichDetector.cc.

View newest version in sPHENIX GitHub at line 192 of file EicFRichDetector.cc

References bp_r(), Acts::UnitConstants::degree, element_material(), m_PhysicalVolumesSet, PHG4Detector::OverlapCheck(), and rmax().

Referenced by ConstructMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void EicFRichDetector::addDetectorSection ( G4LogicalVolume *  logicWorld,
std::string  name,
double  z_pos,
double  thick,
std::string  material,
std::string  color 
)
void EicFRichDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual

construct

Implements PHG4Detector.

void EicFRichDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual

construct

Implements PHG4Detector.

Definition at line 71 of file EicFRichDetector.cc.

View newest version in sPHENIX GitHub at line 71 of file EicFRichDetector.cc

References addDetectorSection(), Acts::UnitConstants::cm, and Acts::UnitConstants::mm.

+ Here is the call graph for this function:

G4Material* EicFRichDetector::element_material ( std::string  identifier)
G4Material * EicFRichDetector::element_material ( std::string  identifier)

Definition at line 136 of file EicFRichDetector.cc.

View newest version in sPHENIX GitHub at line 136 of file EicFRichDetector.cc

References Acts::UnitConstants::cm3, g(), and PHG4Detector::GetDetectorMaterial().

Referenced by addDetectorSection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int EicFRichDetector::IsInDetector ( G4VPhysicalVolume *  volume) const

Definition at line 60 of file EicFRichDetector.cc.

View newest version in sPHENIX GitHub at line 60 of file EicFRichDetector.cc

References m_PhysicalVolumesSet.

Referenced by EicFRichSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int EicFRichDetector::IsInDetector ( G4VPhysicalVolume *  ) const
void EicFRichDetector::Print ( const std::string &  what = "ALL") const
overridevirtual

Reimplemented from PHG4Detector.

Definition at line 124 of file EicFRichDetector.cc.

View newest version in sPHENIX GitHub at line 124 of file EicFRichDetector.cc

References m_Params, and PHParameters::Print().

Referenced by EicFRichSubsystem::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from PHG4Detector.

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

Definition at line 37 of file EicFRichDetector.h.

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

References m_SuperDetector, and name.

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

Definition at line 37 of file EicFRichDetector.h.

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

References m_SuperDetector, and name.

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

Definition at line 38 of file EicFRichDetector.h.

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

References m_SuperDetector.

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

Definition at line 38 of file EicFRichDetector.h.

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

References m_SuperDetector.

Member Data Documentation

PHParameters * EicFRichDetector::m_Params
private

Definition at line 43 of file EicFRichDetector.h.

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

Referenced by Print().

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

Definition at line 46 of file EicFRichDetector.h.

View newest version in sPHENIX GitHub at line 46 of file EicFRichDetector.h

Referenced by addDetectorSection(), and IsInDetector().

std::string EicFRichDetector::m_SuperDetector
private

Definition at line 48 of file EicFRichDetector.h.

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

Referenced by SuperDetector().


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