19#include "BDSExtent.hh"
20#include "BDSMaterials.hh"
21#include "BDSTunnelInfo.hh"
22#include "BDSTunnelType.hh"
24#include "CLHEP/Units/SystemOfUnits.h"
28 G4double soilThicknessIn,
29 G4Material* materialIn,
30 G4Material* soilMaterialIn,
32 G4double floorOffsetIn,
37 type(typeIn), thickness(thicknessIn),
38 soilThickness(soilThicknessIn), material(materialIn),
39 soilMaterial(soilMaterialIn), buildFloor(buildFloorIn),
40 floorOffset(floorOffsetIn), aper1(aper1In), aper2(aper2In),
41 sensitive(sensitiveIn), visible(visibleIn)
46 G4double soilThicknessIn,
48 G4String soilMaterialIn,
50 G4double floorOffsetIn,
55 thickness(thicknessIn), soilThickness(soilThicknessIn),
56 buildFloor(buildFloorIn), floorOffset(floorOffsetIn),
57 aper1(aper1In), aper2(aper2In),
58 sensitive(sensitiveIn), visible(visibleIn)
65BDSExtent BDSTunnelInfo::IndicativeExtent()
const
68 maxParam += thickness + soilThickness + 1*CLHEP::cm;
Holder for +- extents in 3 dimensions.
static BDSMaterials * Instance()
Singleton pattern access.
G4Material * GetMaterial(G4String material) const
Get material by name.
BDSTunnelInfo()=delete
Default constructor, not needed.
G4double aper2
Tunnel aperture / shape parameter 2.
G4double aper1
Tunnel aperture / shape parameter 1.
BDSTunnelType DetermineTunnelType(G4String tunnelType)
Function to determine the enum type of the tunnel (case-insensitive)