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
14{
15public:
16 DEGG(G4bool p_placeHarness = true);
17 ~DEGG(){};
18
19 void construction();
20 double getPressureVesselWeight() { return 18.0 * kg; };
21 int getNumberOfPMTs() { return 2; };
22
23 G4String getName()
24 {
25 std::stringstream ss;
26 ss << "/DEGG/" << m_index;
27 return ss.str();
28 }
29
30private:
31 DEggHarness *m_harness;
32 G4bool m_placeHarness = true;
33 G4SubtractionSolid *substractHarnessPCA(G4VSolid *pSolid);
34
35 void appendPMTs();
36 G4VSolid* placePMTs(G4LogicalVolume *p_innerVolume, G4VSolid* p_gelLayer);
37 void appendInternalComponentsFromCAD();
38
39 std::stringstream m_converter;
40
41
66 G4VSolid *createEggSolid(G4int p_segments_1,
67 G4double pSphereRmax,
68 G4double pSpheredTheta,
69 G4double pSphereTransformZ,
70 G4double pTorus1R,
71 G4double pCenterOfTorus1R,
72 G4int pSegments_2,
73 G4double pTorus2R,
74 G4double pCenterOfTorus2R,
75 G4double pCenterOfTorus2_z,
76 G4double pTorus2_Zmin,
77 G4double pTorus2_Zmax,
78 G4double pTorus2_Z0,
79 G4double pTorus1TransformZ);
80};
81
Construction of the PMTs.
Definition OMSimDEGG.hh:14
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 egg-shaped pressure vessel solid.
Definition OMSimDEGG.cc:207
int getNumberOfPMTs()
Virtual method to get the number of PMTs in the optical module.
Definition OMSimDEGG.hh:21
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:31
double getPressureVesselWeight()
Virtual method to get the weight of the pressure vessel.
Definition OMSimDEGG.hh:20
Definition OMSimDEGGHarness.hh:12
Base class for OMs works as interface.
Definition OMSimOpticalModule.hh:23