19#include "BDSTunnelFactoryBase.hh"
20#include "BDSTunnelFactorySquare.hh"
21#include "BDSTunnelFactoryRectangular.hh"
22#include "BDSTunnelInfo.hh"
26BDSTunnelFactorySquare::BDSTunnelFactorySquare()
31BDSTunnelFactorySquare::~BDSTunnelFactorySquare()
38 G4double tunnelThickness,
39 G4double tunnelSoilThickness,
40 G4Material* tunnelMaterial,
41 G4Material* tunnelSoilMaterial,
43 G4double tunnelFloorOffset,
50 tunnelSoilMaterial, tunnelFloorOffset, tunnel1);
52 tunnelSoilThickness, tunnelMaterial,
53 tunnelSoilMaterial, tunnelFloor,
54 tunnelFloorOffset, tunnel1, tunnel1, visible);
59 G4ThreeVector inputFace,
60 G4ThreeVector outputFace,
61 G4double tunnelThickness,
62 G4double tunnelSoilThickness,
63 G4Material* tunnelMaterial,
64 G4Material* tunnelSoilMaterial,
66 G4double tunnelFloorOffset,
73 tunnelSoilMaterial, tunnelFloorOffset, tunnel1);
76 tunnelSoilThickness, tunnelMaterial,
77 tunnelSoilMaterial, tunnelFloor,
78 tunnelFloorOffset, tunnel1, tunnel1, visible);
83 G4double& tunnelThickness,
84 G4double& tunnelSoilThickness,
85 G4Material*& tunnelMaterial,
86 G4Material*& tunnelSoilMaterial,
87 G4double& tunnelFloorOffset,
92 if (tunnelFloorOffset < 1e-10)
93 {tunnelFloorOffset = defaultModel->floorOffset;}
96 {tunnel1 = defaultModel->
aper1;}
void CommontTestInputParameters(G4double &length, G4double &tunnelThickness, G4double &tunnelSoilThickness, G4Material *&tunnelMaterial, G4Material *&tunnelSoilMaterial)
virtual BDSTunnelSection * CreateTunnelSectionAngled(G4String name, G4double length, G4ThreeVector inputFaceIn, G4ThreeVector outputFaceIn, G4double tunnelThickness, G4double tunnelSoilThickness, G4Material *tunnelMaterial, G4Material *tunnelSoilMaterial, G4bool tunnelFloor, G4double tunnelFloorOffset, G4double tunnel1, G4double tunnel2, G4bool visible)=0
Create a tunnel section with an angled input and output face. Pure virtual.
virtual BDSTunnelSection * CreateTunnelSection(G4String name, G4double length, G4double tunnelThickness, G4double tunnelSoilThickness, G4Material *tunnelMaterial, G4Material *tunnelSoilMaterial, G4bool tunnelFloor, G4double tunnelFloorOffset, G4double tunnel1, G4double tunnel2, G4bool visible)=0
Create a tunnel section with flat input and output faces. Pure virtual.
Factory for rectangular tunnel segments. Builds floor, tunnel and soil.
virtual BDSTunnelSection * CreateTunnelSection(G4String name, G4double length, G4double tunnelThickness, G4double tunnelSoilThickness, G4Material *tunnelMaterial, G4Material *tunnelSoilMaterial, G4bool tunnelFloor, G4double tunnelFloorOffset, G4double tunnel1, G4double tunnel2, G4bool visible)
Create a tunnel section with flat input and output faces.
virtual BDSTunnelSection * CreateTunnelSectionAngled(G4String name, G4double length, G4ThreeVector inputFace, G4ThreeVector outputFace, G4double tunnelThickness, G4double tunnelSoilThickness, G4Material *tunnelMaterial, G4Material *tunnelSoilMaterial, G4bool tunnelFloor, G4double tunnelFloorOffset, G4double tunnel1, G4double tunnel2, G4bool visible)
Create a tunnel section with an angled input and output face.
void TestInputParameters(G4double &length, G4double &tunnelThickness, G4double &tunnelSoilThickness, G4Material *&tunnelMaterial, G4Material *&tunnelSoildMaterial, G4double &tunnelFloorOffset, G4double &tunnel1)
functions below here are private to this particular factory
G4double aper1
Tunnel aperture / shape parameter 1.
Class that represents a section of tunnel.