ECCE @ 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 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 ()
 

Public Attributes

std::string name_base = "test"
 

Protected Member Functions

void DefineMaterials ()
 

Protected Attributes

PHParametersm_Params
 
G4EicDircDisplayActionm_DisplayAction
 
std::map< G4LogicalVolume *, intm_LogicalVolumes_active
 
std::string m_SuperDetector
 

Private Attributes

G4LogicalVolumelFd
 
G4LogicalVolumelBarL
 
G4LogicalVolumelBarS
 
G4LogicalVolumelGlue
 
G4LogicalVolumelMirror
 
G4LogicalVolumelLens1
 
G4LogicalVolumelLens2
 
G4LogicalVolumelLens3
 
G4LogicalVolumelPrizm
 
G4LogicalVolumelMcp
 
G4LogicalVolumelPixel
 
G4MaterialdefaultMaterial
 
G4MaterialBarMaterial
 
G4MaterialOilMaterial
 
G4MaterialMirrorMaterial
 
G4MaterialepotekMaterial
 
G4MaterialNlak33aMaterial
 
G4MaterialPbF2Material
 
G4MaterialSapphireMaterial
 
G4MaterialfrontMaterial
 
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
 
G4RotationMatrixfPrtRot
 
G4doublefQuantumEfficiency
 

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 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::DefineMaterials ( )
protected

Definition at line 831 of file G4EicDircDetector.cc.

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

References a, G4Material::AddElement(), G4MaterialPropertiesTable::AddProperty(), BarMaterial, C(), cm, cm3, defaultMaterial, e, epotekMaterial, fGeomType, frontMaterial, Acts::UnitConstants::g, PHParameters::get_int_param(), GeV, H, kelvin, kStateGas, m, m_Params, mg, MirrorMaterial, mm, mole, N, nanometer, Nlak33aMaterial, num, OilMaterial, pascal, PbF2Material, SapphireMaterial, G4Material::SetMaterialPropertiesTable(), 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 G4VPhysicalVolume::GetLogicalVolume(), and m_LogicalVolumes_active.

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

+ Here is the call graph for this function:

+ 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, G4RunManager::GeometryHasBeenModified(), G4RunManager::GetRunManager(), and num.

+ Here is the call graph for this function:

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, lPrizm, G4VisAttributes::SetColour(), G4VisAttributes::SetForceSolid(), G4VisAttributes::SetForceWireframe(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().

Referenced by ConstructMe().

+ Here is the call graph for this function:

+ 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.

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: