18#ifndef BDSTUNNELFACTORYSQUARE_H
19#define BDSTUNNELFACTORYSQUARE_H
21#include "BDSTunnelFactoryBase.hh"
42 G4double tunnelThickness,
43 G4double tunnelSoilThickness,
44 G4Material* tunnelMaterial,
45 G4Material* tunnelSoilMaterial,
47 G4double tunnelFloorOffset,
55 G4ThreeVector inputFace,
56 G4ThreeVector outputFace,
57 G4double tunnelThickness,
58 G4double tunnelSoilThickness,
59 G4Material* tunnelMaterial,
60 G4Material* tunnelSoilMaterial,
62 G4double tunnelFloorOffset,
71 G4double& tunnelThickness,
72 G4double& tunnelSoilThickness,
73 G4Material*& tunnelMaterial,
74 G4Material*& tunnelSoildMaterial,
75 G4double& tunnelFloorOffset,
Abstract base class for tunnel factory classes.
Factory for square 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
Class that represents a section of tunnel.