22#include "BDSAcceleratorComponent.hh"
23#include "BDSGeometryExternal.hh"
44 G4double horizontalWidthIn,
47 std::vector<G4String>* namedVacuumVolumesIn =
nullptr,
48 G4bool autoColourGeometryIn =
true,
49 G4bool markAsCollimatorIn =
false,
50 G4bool stripOuterVolume =
false);
86 G4double horizontalWidth;
87 G4String geometryFileName;
88 std::vector<G4String> namedVacuumVolumes;
89 G4bool autoColourGeometry;
90 G4bool markAsCollimator;
91 G4bool stripOuterVolume;
Abstract class that represents a component of an accelerator.
const G4double arcLength
Const protected member variable that may not be changed by derived classes.
const G4String name
Const protected member variable that may not be changed by derived classes.
G4double angle
Protected member variable that can be modified by derived classes.
A class for a generic piece of external geometry.
virtual std::set< BDSGeometryComponent * > GetAllDaughters() const
Overloads of functions in BDSGeometryComponent.
virtual std::set< G4VSolid * > GetAllSolids() const
Overloads of functions in BDSGeometryComponent.
virtual void ExcludeLogicalVolumeFromBiasing(G4LogicalVolume *lv)
Overloads of functions in BDSGeometryComponent.
BDSElement & operator=(const BDSElement &)=delete
Assignment and copy constructor not implemented nor used.
BDSGeometryExternal * geometry
Cache of the constructed geometry. Used to forward onto various BDSGeometryComponent functions.
BDSElement(BDSElement &)=delete
Assignment and copy constructor not implemented nor used.
virtual std::set< G4LogicalVolume * > GetAllBiasingVolumes() const
Overloads of functions in BDSGeometryComponent.
virtual void BuildContainerLogicalVolume()
This does the full construction. Loads the external geometry and field if there is one.
virtual std::set< G4UserLimits * > GetAllUserLimits() const
Overloads of functions in BDSGeometryComponent.
virtual void AttachSensitiveDetectors()
Overloads of functions in BDSGeometryComponent.
virtual std::map< G4LogicalVolume *, BDSSDType > GetAllSensitiveVolumes() const
Overloads of functions in BDSGeometryComponent.
virtual std::set< G4LogicalVolume * > GetAllLogicalVolumes() const
Overloads of functions in BDSGeometryComponent.
virtual std::set< G4VisAttributes * > GetAllVisAttributes() const
Overloads of functions in BDSGeometryComponent.
virtual std::set< G4RotationMatrix * > GetAllRotationMatrices() const
Overloads of functions in BDSGeometryComponent.
virtual std::set< G4VPhysicalVolume * > GetAllPhysicalVolumes() const
Overloads of functions in BDSGeometryComponent.
A loaded piece of externally provided geometry.