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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4trd/PHG4TRDDetector.h>

+ Inheritance diagram for PHG4TRDDetector:
+ Collaboration diagram for PHG4TRDDetector:

Public Member Functions

 PHG4TRDDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam="TRD", const int lyr=0)
 
 ~PHG4TRDDetector () override
 destructor
 
void ConstructMe (G4LogicalVolume *world) override
 construct TRD
 
int IsInTRD (const G4VPhysicalVolume *) const
 
void SuperDetector (const std::string &name)
 
const std::string SuperDetector () const
 
int get_Layer () 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 void Print (const std::string &="ALL") 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
 
G4VPhysicalVolume * Phys
 
G4VPhysicalVolume * fPhysicsRadiator
 
G4VPhysicalVolume * TRD_det_Phys
 
G4VPhysicalVolume * MPGD_win_Phys
 
G4VPhysicalVolume * Cathode_Phys
 
G4VPhysicalVolume * Gas_Active
 
G4VPhysicalVolume * GEM_top_Phys
 
G4VPhysicalVolume * GEM_diel_Phys
 
G4VPhysicalVolume * GEM_bottom_Phys
 
G4VPhysicalVolume * MMG_mesh_Phys
 
G4VPhysicalVolume * Res_lay_Phys
 
G4VPhysicalVolume * MMG_strips_Phys
 
G4VPhysicalVolume * PCB_Phys
 
int m_Active
 
int m_AbsorberActive
 
int m_Layer
 
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 16 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 16 of file PHG4TRDDetector.h

Constructor & Destructor Documentation

PHG4TRDDetector::PHG4TRDDetector ( PHG4Subsystem subsys,
PHCompositeNode Node,
PHParameters parameters,
const std::string &  dnam = "TRD",
const int  lyr = 0 
)

Definition at line 26 of file PHG4TRDDetector.cc.

View newest version in sPHENIX GitHub at line 26 of file PHG4TRDDetector.cc

PHG4TRDDetector::~PHG4TRDDetector ( )
inlineoverride

destructor

Definition at line 22 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 22 of file PHG4TRDDetector.h

Member Function Documentation

void PHG4TRDDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual

construct TRD

Implements PHG4Detector.

Definition at line 71 of file PHG4TRDDetector.cc.

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

References Cathode_Phys, Acts::UnitConstants::cm, Acts::UnitConstants::cm3, fPhysicsRadiator, g(), Gas_Active, GEM_bottom_Phys, GEM_diel_Phys, GEM_top_Phys, PHParameters::get_double_param(), PHParameters::get_string_param(), PHG4Detector::GetDetectorMaterial(), m_Params, MMG_mesh_Phys, MMG_strips_Phys, MPGD_win_Phys, PHG4Detector::OverlapCheck(), PCB_Phys, Phys, Res_lay_Phys, and TRD_det_Phys.

+ Here is the call graph for this function:

int PHG4TRDDetector::get_Layer ( ) const
inline

Definition at line 32 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 32 of file PHG4TRDDetector.h

References m_Layer.

Referenced by PHG4TRDSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

int PHG4TRDDetector::IsInTRD ( const G4VPhysicalVolume *  volume) const

Definition at line 50 of file PHG4TRDDetector.cc.

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

References fPhysicsRadiator, Gas_Active, m_AbsorberActive, and m_Active.

Referenced by PHG4TRDSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Definition at line 30 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 30 of file PHG4TRDDetector.h

References m_SuperDetector, and name.

Referenced by PHG4TRDSubsystem::InitRunSubsystem(), and PHG4TRDSteppingAction::SetInterfacePointers().

+ Here is the caller graph for this function:

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

Definition at line 31 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4TRDDetector.h

References m_SuperDetector.

Member Data Documentation

G4VPhysicalVolume* PHG4TRDDetector::Cathode_Phys
private

Definition at line 41 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 41 of file PHG4TRDDetector.h

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::fPhysicsRadiator
private

Definition at line 38 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe(), and IsInTRD().

G4VPhysicalVolume* PHG4TRDDetector::Gas_Active
private

Definition at line 42 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 42 of file PHG4TRDDetector.h

Referenced by ConstructMe(), and IsInTRD().

G4VPhysicalVolume* PHG4TRDDetector::GEM_bottom_Phys
private

Definition at line 45 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::GEM_diel_Phys
private

Definition at line 44 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::GEM_top_Phys
private

Definition at line 43 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

int PHG4TRDDetector::m_AbsorberActive
private

Definition at line 52 of file PHG4TRDDetector.h.

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

Referenced by IsInTRD().

int PHG4TRDDetector::m_Active
private

Definition at line 51 of file PHG4TRDDetector.h.

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

Referenced by IsInTRD().

int PHG4TRDDetector::m_Layer
private

Definition at line 54 of file PHG4TRDDetector.h.

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

Referenced by get_Layer().

PHParameters* PHG4TRDDetector::m_Params
private

Definition at line 35 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 35 of file PHG4TRDDetector.h

Referenced by ConstructMe().

std::string PHG4TRDDetector::m_SuperDetector
private

Definition at line 55 of file PHG4TRDDetector.h.

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

Referenced by SuperDetector().

G4VPhysicalVolume* PHG4TRDDetector::MMG_mesh_Phys
private

Definition at line 46 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::MMG_strips_Phys
private

Definition at line 48 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::MPGD_win_Phys
private

Definition at line 40 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::PCB_Phys
private

Definition at line 49 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 49 of file PHG4TRDDetector.h

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::Phys
private

Definition at line 37 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::Res_lay_Phys
private

Definition at line 47 of file PHG4TRDDetector.h.

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

Referenced by ConstructMe().

G4VPhysicalVolume* PHG4TRDDetector::TRD_det_Phys
private

Definition at line 39 of file PHG4TRDDetector.h.

View newest version in sPHENIX GitHub at line 39 of file PHG4TRDDetector.h

Referenced by ConstructMe().


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