19#include "BDSCollimatorRectangular.hh"
27 G4double horizontalWidthIn,
28 G4Material* collimatorMaterialIn,
29 G4Material* vacuumMaterialIn,
32 G4double xApertureOutIn,
33 G4double yApertureOutIn,
35 G4bool circularOuterIn):
37 collimatorMaterialIn, vacuumMaterialIn, xApertureIn,
38 yApertureIn, xApertureOutIn, yApertureOutIn, colourIn, circularOuterIn)
52 G4double deltax = xGradient * deltam;
53 G4double deltay = yGradient * deltam;
const G4String name
Const protected member variable that may not be changed by derived classes.
static G4double lengthSafety
Useful variable often used in construction.
static G4double lengthSafetyLarge
G4double chordLength
Protected member variable that can be modified by derived classes.
virtual void BuildInnerCollimator()
BDSCollimatorRectangular()
Private default constructor to force the use of the supplied one.
Base class for collimators with common construction.
G4double xAperture
Aperture at entrance in x dimension.
G4bool tapered
Flag for tapered collimator.
G4double yApertureOut
Aperture at exit in y dimension.
G4VSolid * innerSolid
Geometrical objects:
G4double xApertureOut
Aperture at exit in x dimension.
G4VSolid * vacuumSolid
Geometrical objects:
G4double yAperture
Aperture at entrance in y dimension.
void RegisterSolid(G4VSolid *solid)