OMSim
Geant4 for IceCube optical module studies
OMSimDEGG.hh
Go to the documentation of this file.
1 
7 #pragma once
8 
10 #include "OMSimOpticalModule.hh"
11 class DEggHarness;
12 
22 class DEGG : public OMSimOpticalModule
23 {
24 public:
25  DEGG(G4bool p_placeHarness = true);
26  ~DEGG(){};
27 
28  void construction();
29  double getPressureVesselWeight() { return 18.0 * kg; };
30  int getNumberOfPMTs() { return 2; };
31 
32  G4String getName()
33  {
34  std::stringstream ss;
35  ss << "/DEGG/" << m_index;
36  return ss.str();
37  }
38 
39 private:
40  DEggHarness *m_harness;
41 
42 
43  void appendPMTs();
44  void appendInternalComponentsFromCAD();
45  void appendPressureVesselFromCAD();
46 
47  G4VSolid *createEggSolid(G4int p_segments_1,
48  G4double pSphereRmax,
49  G4double pSpheredTheta,
50  G4double pSphereTransformZ,
51  G4double pTorus1R,
52  G4double pCenterOfTorus1R,
53  G4int pSegments_2,
54  G4double pTorus2R,
55  G4double pCenterOfTorus2R,
56  G4double pCenterOfTorus2_z,
57  G4double pTorus2_Zmin,
58  G4double pTorus2_Zmax,
59  G4double pTorus2_Z0,
60  G4double pTorus1TransformZ);
61 };
62 
Construction of the PMTs.
Construction of the DEGG detector geometry.
Definition: OMSimDEGG.hh:23
G4VSolid * createEggSolid(G4int p_segments_1, G4double pSphereRmax, G4double pSpheredTheta, G4double pSphereTransformZ, G4double pTorus1R, G4double pCenterOfTorus1R, G4int pSegments_2, G4double pTorus2R, G4double pCenterOfTorus2R, G4double pCenterOfTorus2_z, G4double pTorus2_Zmin, G4double pTorus2_Zmax, G4double pTorus2_Z0, G4double pTorus1TransformZ)
Creates the solid shape for the DEGG pressure vessel.
Definition: OMSimDEGG.cc:233
int getNumberOfPMTs()
Virtual method to get the number of PMTs in the optical module.
Definition: OMSimDEGG.hh:30
DEGG(G4bool p_placeHarness=true)
Definition: OMSimDEGG.cc:17
void construction()
Construction of the whole DEGG. If you want to change any component, you have to change it at the spe...
Definition: OMSimDEGG.cc:33
double getPressureVesselWeight()
Virtual method to get the weight of the pressure vessel.
Definition: OMSimDEGG.hh:29
Definition: OMSimDEGGHarness.hh:13
Base class for OMs works as interface.
Definition: OMSimOpticalModule.hh:23