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

#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eicdirc/G4EicDircDetector.h>

+ Inheritance diagram for G4EicDircDetector:
+ Collaboration diagram for G4EicDircDetector:

Public Member Functions

 G4EicDircDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, PHParameters *parameters, const std::string &dnam)
 constructor
 
virtual ~G4EicDircDetector ()
 destructor
 
virtual void ConstructMe (G4LogicalVolume *world) override
 construct
 
void SetVisualization ()
 
void SetQuantumEfficiency (G4int id)
 
virtual 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 ()
 

Public Attributes

std::string name_base = "test"
 

Protected Member Functions

void DefineMaterials ()
 

Protected Attributes

PHParametersm_Params
 
G4EicDircDisplayActionm_DisplayAction
 
std::map< G4LogicalVolume *, int > m_LogicalVolumes_active
 
std::string m_SuperDetector
 

Private Attributes

G4LogicalVolume * lFd
 
G4LogicalVolume * lBarL
 
G4LogicalVolume * lBarS
 
G4LogicalVolume * lGlue
 
G4LogicalVolume * lMirror
 
G4LogicalVolume * lLens1
 
G4LogicalVolume * lLens2
 
G4LogicalVolume * lLens3
 
G4LogicalVolume * lPrizm
 
G4LogicalVolume * lMcp
 
G4LogicalVolume * lPixel
 
G4Material * defaultMaterial
 
G4Material * BarMaterial
 
G4Material * OilMaterial
 
G4Material * MirrorMaterial
 
G4Material * epotekMaterial
 
G4Material * Nlak33aMaterial
 
G4Material * PbF2Material
 
G4Material * SapphireMaterial
 
G4Material * frontMaterial
 
G4int fNRow
 
G4int fNCol
 
G4int fNBoxes
 
G4double fRadius
 
G4double fNpix1
 
G4double fNpix2
 
G4double fBoxWidth
 
G4int fGeomType
 
G4int fMcpLayout
 
G4int fLensId
 
G4double fNBar
 
G4double fBar [3]
 
G4double fBarL [3]
 
G4double fBarS [3]
 
G4double fMirror [3]
 
G4double fFd [3]
 
G4double fPrizm [4]
 
G4double fLens [4]
 
G4double fMcpTotal [3]
 
G4double fMcpActive [3]
 
G4ThreeVector fPrismShift
 
G4double fBarsGap
 
G4double zshift
 
G4RotationMatrix * fPrtRot
 
G4double * fQuantumEfficiency
 

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 23 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 23 of file G4EicDircDetector.h

Constructor & Destructor Documentation

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

constructor

Definition at line 45 of file G4EicDircDetector.cc.

View newest version in sPHENIX GitHub at line 45 of file G4EicDircDetector.cc

virtual G4EicDircDetector::~G4EicDircDetector ( )
inlinevirtual

destructor

Definition at line 30 of file G4EicDircDetector.h.

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

Member Function Documentation

void G4EicDircDetector::ConstructMe ( G4LogicalVolume *  world)
overridevirtual
void G4EicDircDetector::DefineMaterials ( )
protected

Definition at line 831 of file G4EicDircDetector.cc.

View newest version in sPHENIX GitHub at line 831 of file G4EicDircDetector.cc

References BarMaterial, Acts::UnitConstants::C, Acts::UnitConstants::cm, Acts::UnitConstants::cm3, defaultMaterial, Acts::UnitConstants::e, epotekMaterial, fGeomType, frontMaterial, g(), PHParameters::get_int_param(), Acts::UnitConstants::GeV, H, Acts::UnitConstants::m, m_Params, MirrorMaterial, Acts::UnitConstants::mm, charm_jet_strange_helicity::N, Nlak33aMaterial, num, OilMaterial, PbF2Material, SapphireMaterial, and z.

Referenced by ConstructMe().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int G4EicDircDetector::IsInDetector ( G4VPhysicalVolume *  volume) const

Definition at line 57 of file G4EicDircDetector.cc.

View newest version in sPHENIX GitHub at line 57 of file G4EicDircDetector.cc

References m_LogicalVolumes_active.

Referenced by G4EicDircStackingAction::ClassifyNewTrack(), and G4EicDircSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Reimplemented from PHG4Detector.

Definition at line 1188 of file G4EicDircDetector.cc.

View newest version in sPHENIX GitHub at line 1188 of file G4EicDircDetector.cc

References m_Params, and PHParameters::Print().

Referenced by G4EicDircSubsystem::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4EicDircDetector::SetQuantumEfficiency ( G4int  id)

Definition at line 1158 of file G4EicDircDetector.cc.

View newest version in sPHENIX GitHub at line 1158 of file G4EicDircDetector.cc

References fQuantumEfficiency, and num.

void G4EicDircDetector::SetVisualization ( )

Definition at line 1072 of file G4EicDircDetector.cc.

View newest version in sPHENIX GitHub at line 1072 of file G4EicDircDetector.cc

References fLensId, fMcpLayout, lBarL, lBarS, lFd, lGlue, lLens1, lLens2, lLens3, lMcp, lMirror, lPixel, and lPrizm.

Referenced by ConstructMe().

+ Here is the caller graph for this function:

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

Definition at line 45 of file G4EicDircDetector.h.

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

References m_SuperDetector, and name.

Referenced by G4EicDircSubsystem::InitRunSubsystem().

+ Here is the caller graph for this function:

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

Definition at line 46 of file G4EicDircDetector.h.

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

References m_SuperDetector.

Member Data Documentation

G4Material* G4EicDircDetector::BarMaterial
private

Definition at line 74 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 74 of file G4EicDircDetector.h

Referenced by ConstructMe(), and DefineMaterials().

G4Material* G4EicDircDetector::defaultMaterial
private

Definition at line 73 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 73 of file G4EicDircDetector.h

Referenced by ConstructMe(), and DefineMaterials().

G4Material* G4EicDircDetector::epotekMaterial
private

Definition at line 77 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 77 of file G4EicDircDetector.h

Referenced by ConstructMe(), and DefineMaterials().

G4double G4EicDircDetector::fBar[3]
private

Definition at line 94 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 94 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fBarL[3]
private

Definition at line 95 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 95 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fBarS[3]
private

Definition at line 95 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 95 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fBarsGap
private

Definition at line 103 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 103 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fBoxWidth
private

Definition at line 89 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 89 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fFd[3]
private

Definition at line 97 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 97 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4int G4EicDircDetector::fGeomType
private

Definition at line 90 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 90 of file G4EicDircDetector.h

Referenced by ConstructMe(), and DefineMaterials().

G4double G4EicDircDetector::fLens[4]
private

Definition at line 99 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 99 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4int G4EicDircDetector::fLensId
private

Definition at line 92 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 92 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4double G4EicDircDetector::fMcpActive[3]
private

Definition at line 101 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 101 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4int G4EicDircDetector::fMcpLayout
private

Definition at line 91 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 91 of file G4EicDircDetector.h

Referenced by SetVisualization().

G4double G4EicDircDetector::fMcpTotal[3]
private

Definition at line 100 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 100 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fMirror[3]
private

Definition at line 96 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 96 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fNBar
private

Definition at line 93 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 93 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4int G4EicDircDetector::fNBoxes
private

Definition at line 85 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 85 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4int G4EicDircDetector::fNCol
private

Definition at line 84 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 84 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fNpix1
private

Definition at line 87 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 87 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fNpix2
private

Definition at line 88 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 88 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4int G4EicDircDetector::fNRow
private

Definition at line 83 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 83 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4ThreeVector G4EicDircDetector::fPrismShift
private

Definition at line 102 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 102 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double G4EicDircDetector::fPrizm[4]
private

Definition at line 98 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 98 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4RotationMatrix* G4EicDircDetector::fPrtRot
private

Definition at line 107 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 107 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4double* G4EicDircDetector::fQuantumEfficiency
private

Definition at line 108 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 108 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetQuantumEfficiency().

G4double G4EicDircDetector::fRadius
private

Definition at line 86 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 86 of file G4EicDircDetector.h

Referenced by ConstructMe().

G4Material* G4EicDircDetector::frontMaterial
private

Definition at line 81 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 81 of file G4EicDircDetector.h

Referenced by DefineMaterials().

G4LogicalVolume* G4EicDircDetector::lBarL
private

Definition at line 60 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 60 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume * G4EicDircDetector::lBarS
private

Definition at line 60 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 60 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lFd
private

Definition at line 59 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 59 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lGlue
private

Definition at line 61 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 61 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lLens1
private

Definition at line 63 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 63 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lLens2
private

Definition at line 64 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 64 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lLens3
private

Definition at line 65 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 65 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lMcp
private

Definition at line 67 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 67 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lMirror
private

Definition at line 62 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 62 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lPixel
private

Definition at line 68 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 68 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4LogicalVolume* G4EicDircDetector::lPrizm
private

Definition at line 66 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 66 of file G4EicDircDetector.h

Referenced by ConstructMe(), and SetVisualization().

G4EicDircDisplayAction* G4EicDircDetector::m_DisplayAction
protected

Definition at line 114 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 114 of file G4EicDircDetector.h

std::map<G4LogicalVolume*, int> G4EicDircDetector::m_LogicalVolumes_active
protected

Definition at line 118 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 118 of file G4EicDircDetector.h

Referenced by ConstructMe(), and IsInDetector().

PHParameters* G4EicDircDetector::m_Params
protected

Definition at line 112 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 112 of file G4EicDircDetector.h

Referenced by ConstructMe(), DefineMaterials(), and Print().

std::string G4EicDircDetector::m_SuperDetector
protected

Definition at line 120 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 120 of file G4EicDircDetector.h

Referenced by SuperDetector().

G4Material* G4EicDircDetector::MirrorMaterial
private

Definition at line 76 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 76 of file G4EicDircDetector.h

Referenced by ConstructMe(), and DefineMaterials().

std::string G4EicDircDetector::name_base = "test"

Definition at line 47 of file G4EicDircDetector.h.

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

G4Material* G4EicDircDetector::Nlak33aMaterial
private

Definition at line 78 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 78 of file G4EicDircDetector.h

Referenced by ConstructMe(), and DefineMaterials().

G4Material* G4EicDircDetector::OilMaterial
private

Definition at line 75 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 75 of file G4EicDircDetector.h

Referenced by DefineMaterials().

G4Material* G4EicDircDetector::PbF2Material
private

Definition at line 79 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 79 of file G4EicDircDetector.h

Referenced by DefineMaterials().

G4Material* G4EicDircDetector::SapphireMaterial
private

Definition at line 80 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 80 of file G4EicDircDetector.h

Referenced by DefineMaterials().

G4double G4EicDircDetector::zshift
private

Definition at line 104 of file G4EicDircDetector.h.

View newest version in sPHENIX GitHub at line 104 of file G4EicDircDetector.h

Referenced by ConstructMe().


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