OMSim
Geant4 for IceCube optical module studies
LOM16 Class Reference
Inheritance diagram for LOM16:
[legend]
Collaboration diagram for LOM16:
[legend]

Public Member Functions

 LOM16 (G4bool pPlaceHarness=false)
 
 ~LOM16 ()
 
void construction ()
 Abstract method you have to define in order to make a derived class from OMSimDetectorComponent.
 
double getPressureVesselWeight ()
 Virtual method to get the weight of the pressure vessel. More...
 
int getNumberOfPMTs ()
 Virtual method to get the number of PMTs in the optical module. More...
 
G4String getName ()
 
- Public Member Functions inherited from OMSimOpticalModule
 OMSimOpticalModule (OMSimPMTConstruction *pPMTManager)
 
void configureSensitiveVolume (OMSimDetectorConstruction *pDetConst)
 
OMSimPMTConstructiongetPMTmanager ()
 
- Public Member Functions inherited from OMSimDetectorComponent
void appendComponent (G4VSolid *pSolid, G4LogicalVolume *pLogical, G4ThreeVector pVector, G4RotationMatrix pRotation, G4String pName)
 Append component to Components vector. More...
 
G4bool checkIfExists (G4String pName)
 Check if a component with a certain name exists in the Components map. More...
 
Component getComponent (G4String pName)
 Retrieves a specified component from the Components map. More...
 
G4Transform3D getNewPosition (G4ThreeVector pPosition, G4RotationMatrix pRotation, G4ThreeVector pObjectPosition, G4RotationMatrix pObjectRotation)
 Computes a new position for a sub-component, based on a given global position and rotation. More...
 
void integrateDetectorComponent (OMSimDetectorComponent *pToIntegrate, G4ThreeVector pPosition, G4RotationMatrix pRotation, G4String pNameExtension)
 Integrates the components of another OMSimDetectorComponent instance. More...
 
void deleteComponent (G4String pName)
 Deletes a specified component from the Components map. More...
 
void placeIt (G4ThreeVector pPosition, G4RotationMatrix pRotation, G4LogicalVolume *&pMother, G4String pNameExtension="")
 Placement of the DetectorComponent. Each Component is placed in the same mother. More...
 
void placeIt (G4Transform3D pTrans, G4LogicalVolume *&pMother, G4String pNameExtension="")
 Places the components in a specified mother volume using a provided transformation. More...
 
G4SubtractionSolid * substractToVolume (G4VSolid *pInputVolume, G4ThreeVector pSubstractionPos, G4RotationMatrix pSubstractionRot, G4String pNewVolumeName)
 Subtracts components from a given solid volume using position and rotation. More...
 
G4SubtractionSolid * substractToVolume (G4VSolid *pInputVolume, G4Transform3D pTrans, G4String pNewVolumeName)
 Subtracts components from a given solid volume. More...
 

Private Member Functions

G4UnionSolid * pressureVessel (const G4double pOutRad, G4String pSuffix)
 
void placeCADSupportStructure ()
 
void appendEquatorBand ()
 
void placePMTsAndGelpads (G4VSolid *lGelSolid, G4LogicalVolume *lGelLogical)
 
void setPMTAndGelpadPositions ()
 
void createGelpadLogicalVolumes (G4VSolid *lGelSolid)
 
void placePMTs (G4LogicalVolume *lInnerVolumeLogical)
 
void placeGelpads (G4LogicalVolume *lInnerVolumeLogical)
 

Private Attributes

G4bool m_placeHarness = true
 
G4bool m_harnessUnion = true
 
std::vector< G4ThreeVector > m_positionsPMT
 
std::vector< G4ThreeVector > m_positionsGelpad
 
std::vector< G4double > m_thetaPMT
 
std::vector< G4double > m_phiPMT
 
std::stringstream m_converter
 
std::stringstream m_converter2
 
std::vector< G4LogicalVolume * > m_gelPadLogical
 
G4String m_PMTModel = "pmt_Hamamatsu_4inch"
 
const G4double m_xInternalCAD = 68.248*mm
 
const G4double m_yInternalCAD = 0*mm
 
const G4double m_zInternalCAD = -124.218*mm
 
const G4double m_gelPadDZ = 30.0*mm
 
const G4double m_glassOutRad = 153.2*mm
 
const G4double m_glassThick = 12.0*mm
 
const G4double m_glassInRad = m_glassOutRad - m_glassThick
 
const G4double m_cylinderHeight = 68.8*mm
 
const G4double m_cylinderAngle = 2.5*deg
 
const G4double m_gelThicknessFrontPMT = 3.6*mm
 
const G4double m_gelThickness = 4.5*mm
 
const G4double m_EqPMTrOffset = 2.6*mm
 
const G4double m_EqPMTzOffset = 62.5*mm
 
const G4double m_reflectorHalfZ = 15*mm
 
const G4double m_reflectorConeSheetThickness = 0.5*mm
 
const G4double m_reflectorConeToHolder = 1.55*mm
 
const G4double m_thetaPolar = 36.0*deg
 
const G4double m_thetaEquatorial = 62.0*deg
 
const G4int m_numberPolarPMTs = 4
 
const G4int m_numberEqPMTs = 4
 
const G4double m_polarEquatorialPMTphiPhase = 45.0*deg
 
const G4double m_equatorialTiltAngle = 15.0*deg
 
const G4double m_polarPadOpeningAngle = 30.0*deg
 
const G4double m_equatorialPadOpeningAngle = 22.0*deg
 
const G4int m_totalNumberPMTs = (m_numberPolarPMTs + m_numberEqPMTs) * 2
 
G4double m_PMToffset
 
G4double m_maxPMTRadius
 
const G4double m_equatorialBandWidth = 45 * mm
 
const G4double m_equatorialBandThickness = 1 * mm
 

Additional Inherited Members

- Public Attributes inherited from OMSimOpticalModule
G4int m_index
 
- Public Attributes inherited from OMSimDetectorComponent
OMSimInputDatam_data
 Instance of OMSimInputdata, which should be started only once.
 
bool m_checkOverlaps = false
 
std::vector< G4ThreeVector > m_placedPositions
 store the positions each time the components are placed
 
std::vector< G4RotationMatrix > m_placedOrientations
 store the orientations each time the components are placed
 
std::vector< G4Transform3D > m_placedTranslations
 store the translation each time the components are placed
 
std::map< G4String, Componentm_components
 dictionary with each component
 
std::map< G4String, G4PVPlacement * > m_lastPhysicals
 dictionary with the (last) G4PVPlacement of each component mComponents produced after calling placeIt
 
- Protected Attributes inherited from OMSimOpticalModule
OMSimPMTConstructionm_managerPMT
 
- Static Protected Attributes inherited from OMSimDetectorComponent
static const G4VisAttributes m_glassVis = G4VisAttributes(G4Colour(0.7, 0.7, 0.8, 0.25))
 
static const G4VisAttributes m_gelVis = G4VisAttributes(G4Colour(0.45, 0.5, 0.35, 0.2))
 
static const G4VisAttributes m_steelVis = G4VisAttributes(G4Colour(0.6, 0.6, 0.7, 1.0))
 
static const G4VisAttributes m_aluVis = G4VisAttributes(G4Colour(0.8, 0.8, 0.9, 1.0))
 
static const G4VisAttributes m_whiteVis = G4VisAttributes(G4Colour(1, 1, 1, 1.0))
 
static const G4VisAttributes m_absorberSemiTransparentVis = G4VisAttributes(G4Colour(0.2, 0.2, 0.2, 0.5))
 
static const G4VisAttributes m_absorberVis = G4VisAttributes(G4Colour(0.2, 0.2, 0.2, 1.0))
 
static const G4VisAttributes m_boardVis = G4VisAttributes(G4Colour(0, 1, 0, 1))
 
static const G4VisAttributes m_blueVis = G4VisAttributes(G4Colour(0, 0, 1, 1))
 
static const G4VisAttributes m_airVis = G4VisAttributes(G4Colour(0.7, 0.7, 0.8, 0.2))
 
static const G4VisAttributes m_airVis2 = G4VisAttributes(G4Colour(0.0, 0, 1., 0.5))
 
static const G4VisAttributes m_redVis = G4VisAttributes(G4Colour(1.0, 0.0, 0.0, 1))
 
static const G4VisAttributes m_blackVis = G4VisAttributes(G4Colour(0.0, 0.0, 0.0, 1.0))
 
static const G4VisAttributes m_LEDvis = G4VisAttributes(G4Colour(0.2, 0.6, 0.8, 0.5))
 
static const G4VisAttributes m_photocathodeVis = G4VisAttributes(G4Colour(1.0, 1.0, 0.0, 0.1))
 
static const G4VisAttributes m_invisibleVis = G4VisAttributes::GetInvisible()
 

Constructor & Destructor Documentation

◆ ~LOM16()

LOM16::~LOM16 ( )
Todo:
  • 18/07/22 Solve collisions of CAD with PMTs
    • Clean up magic number variables and comment their meaning
    • Write documentation and parse current comments into Doxygen style

Member Function Documentation

◆ getNumberOfPMTs()

int LOM16::getNumberOfPMTs ( )
inlinevirtual

This method should be overridden in derived classes to provide the number of PMTs in the specific optical module.

Returns
Number of PMTs in the optical module.

Implements OMSimOpticalModule.

◆ getPressureVesselWeight()

double LOM16::getPressureVesselWeight ( )
inlinevirtual

This method should be overridden in derived classes to provide the weight of the pressure vessel for the specific optical module.

Returns
Weight of the pressure vessel.

Implements OMSimOpticalModule.


The documentation for this class was generated from the following files: