19#ifndef BDSMAGNETOUTER_H
20#define BDSMAGNETOUTER_H
22#include "BDSGeometryComponent.hh"
25#include "G4ThreeVector.hh"
49 G4LogicalVolume* containerLVIn,
55 const G4ThreeVector& inputFaceNormalIn = G4ThreeVector(0,0,-1),
56 const G4ThreeVector& outputFaceNormalIn = G4ThreeVector(0,0, 1));
61 const G4ThreeVector& inputFaceNormalIn = G4ThreeVector(0,0,-1),
62 const G4ThreeVector& outputFaceNormalIn = G4ThreeVector(0,0, 1));
105 G4ThreeVector inputFaceNormal;
106 G4ThreeVector outputFaceNormal;
Holder for +- extents in 3 dimensions.
A generic geometry component for a bdsim model.
G4ThreeVector placementOffset
A loaded piece of externally provided geometry.
An object for both the returned magnet outer body but also a tight fitting container for the whole ma...
BDSGeometryComponent * GetMagnetContainer() const
void ClearMagnetContainer()
Clear the memory of the now unneeded magnet container object.
void ClearEndPieces()
Clear the memory of the possibly unneeded end piece objects.
void SetInputFaceNormal(const G4ThreeVector &input)
Setter for face normals.
G4ThreeVector InputFaceNormal() const
Accessor.
BDSSimpleComponent * EndPieceAfter() const
Access the end piece.
BDSGeometryExternal * ExternalGeometry() const
G4ThreeVector OutputFaceNormal() const
Accessor.
void SetOutputFaceNormal(const G4ThreeVector &output)
Setter for face normals.
BDSSimpleComponent * EndPieceBefore() const
Access the end piece.
A BDSAcceleratorComponent wrapper for BDSGeometryComponent.