OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
OMSimDEGG.hh
Go to the documentation of this file.
1
7#pragma once
8
10#include "OMSimOpticalModule.hh"
11class DEggHarness;
12
23{
24public:
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
39private:
40 DEggHarness *m_harness;
41
42
43 void appendPMTs();
44 void placePMTs(G4LogicalVolume* lInnerVolumeLogical);
45 void appendInternalComponentsFromCAD();
46 void appendPressureVesselFromCAD();
47
48 //helper variables
49 std::stringstream m_converter;
50
51 G4VSolid *createEggSolid(G4int p_segments_1,
52 G4double pSphereRmax,
53 G4double pSpheredTheta,
54 G4double pSphereTransformZ,
55 G4double pTorus1R,
56 G4double pCenterOfTorus1R,
57 G4int pSegments_2,
58 G4double pTorus2R,
59 G4double pCenterOfTorus2R,
60 G4double pCenterOfTorus2_z,
61 G4double pTorus2_Zmin,
62 G4double pTorus2_Zmax,
63 G4double pTorus2_Z0,
64 G4double pTorus1TransformZ);
65};
66
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:234
int getNumberOfPMTs()
Virtual method to get the number of PMTs in the optical module.
Definition OMSimDEGG.hh:30
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