ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4eicdirc/G4EicDircDetector.h>
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 PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
Public Attributes | |
std::string | name_base = "test" |
Protected Member Functions | |
void | DefineMaterials () |
Protected Attributes | |
PHParameters * | m_Params |
G4EicDircDisplayAction * | m_DisplayAction |
std::map< G4LogicalVolume *, int > | m_LogicalVolumes_active |
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) |
Definition at line 23 of file G4EicDircDetector.h.
View newest version in sPHENIX GitHub at line 23 of file G4EicDircDetector.h
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
|
inlinevirtual |
destructor
Definition at line 30 of file G4EicDircDetector.h.
View newest version in sPHENIX GitHub at line 30 of file G4EicDircDetector.h
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 75 of file G4EicDircDetector.cc.
View newest version in sPHENIX GitHub at line 75 of file G4EicDircDetector.cc
References G4AssemblyVolume::AddPlacedVolume(), G4MaterialPropertiesTable::AddProperty(), BarMaterial, defaultMaterial, DefineMaterials(), deg, dielectric_metal, dx, dy, epotekMaterial, fBar, fBarL, fBarS, fBarsGap, fBoxWidth, fFd, fGeomType, fLens, fLensId, fMcpActive, fMcpTotal, fMirror, fNBar, fNBoxes, fNCol, fNpix1, fNpix2, fNRow, fPrismShift, fPrizm, fPrtRot, fQuantumEfficiency, fRadius, PHParameters::get_double_param(), PHParameters::get_int_param(), GeV, glisur, k, lBarL, lBarS, lFd, lGlue, lLens1, lLens2, lLens3, lMcp, lMirror, lPixel, lPrizm, m, m_LogicalVolumes_active, m_Params, M_PI, G4AssemblyVolume::MakeImprint(), MirrorMaterial, nanometer, Nlak33aMaterial, num, PHG4Detector::OverlapCheck(), polished, r1, r2, rad, CLHEP::HepRotation::rotateX(), CLHEP::HepRotation::rotateZ(), G4OpticalSurface::SetMaterialPropertiesTable(), SetVisualization(), PHG4Detector::Verbosity(), z, and zshift.
|
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().
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().
|
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().
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.
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().
|
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().
|
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.
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
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().
|
protected |
Definition at line 114 of file G4EicDircDetector.h.
View newest version in sPHENIX GitHub at line 114 of file G4EicDircDetector.h
|
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().
|
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().
|
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().
|
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
|
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().
|
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().
|
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().
|
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().
|
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().