19#ifndef BDSTUNNELFACTORYRECTABOVEGROUND_H
20#define BDSTUNNELFACTORYRECTABOVEGROUND_H
22#include "BDSTunnelFactoryBase.hh"
25#include "G4ThreeVector.hh"
48 G4double tunnelThickness,
49 G4double tunnelSoilThickness,
50 G4Material* tunnelMaterial,
51 G4Material* tunnelSoilMaterial,
53 G4double tunnelFloorOffset,
61 G4ThreeVector inputFace,
62 G4ThreeVector outputFace,
63 G4double tunnelThickness,
64 G4double tunnelSoilThickness,
65 G4Material* tunnelMaterial,
66 G4Material* tunnelSoilMaterial,
68 G4double tunnelFloorOffset,
77 G4double& tunnelThickness,
78 G4double& tunnelSoilThickness,
79 G4Material*& tunnelMaterial,
80 G4Material*& tunnelSoildMaterial,
86 G4VSolid* BuildContainerStraight(G4String name,
90 G4double tunnelThickness,
91 G4ThreeVector slabDisplacement);
94 G4double slabXHalfWidth;
95 G4double slabYHalfWidth;
97 G4double containerXRadius;
98 G4double containerYRadius;
Abstract base class for tunnel factory classes.
Factory for rectangular tunnel segments above ground.
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 &tunnel1, G4double &tunnel2)
functions below here are private to this particular factory
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.
Class that represents a section of tunnel.