19#ifndef BDSTIPCOLLIMATOR_H
20#define BDSTIPCOLLIMATOR_H
22#include "BDSAcceleratorComponent.hh"
46 G4double xApertureIn = 0,
47 G4double yApertureIn = 0,
48 G4double xApertureOutIn = 0,
49 G4double yApertureOutIn = 0,
50 G4Colour* colourIn =
nullptr,
51 G4Colour* tipColourIn =
nullptr,
52 G4double tipThicknessIn = 0,
53 G4bool circularOuterIn =
false);
Abstract class that represents a component of an accelerator.
const G4String name
Const protected member variable that may not be changed by derived classes.
const G4String type
Const protected member variable that may not be changed by derived classes.
Base class for collimators with a bulk material and a tip of a different material.
G4double xApertureOut
Aperture at exit in x dimension.
G4double yAperture
Aperture at entrance in y dimension.
virtual void CheckParameters()
virtual G4double YApertureOut() const
Accessor.
G4VSolid * innerSolid
Geometrical objects:
BDSTipCollimator(BDSTipCollimator &)=delete
Assignment and copy constructor not implemented nor used.
G4double minKineticEnergy
Optional minimum kinetic energy for collimator materials.
G4double horizontalWidth
Horizontal width.
G4Colour * tipColour
Colour of collimator tip.
BDSTipCollimator & operator=(const BDSTipCollimator &)=delete
Assignment and copy constructor not implemented nor used.
G4VSolid * collimatorSolid
Geometrical objects:
virtual G4String Material() const
Accessor.
G4double yApertureOut
Aperture at exit in y dimension.
G4Material * collimatorTipMaterial
Tip material.
G4Material * vacuumMaterial
Vacuum material.
G4Colour * colour
Colour of collimator.
virtual G4double XApertureOut() const
Accessor.
G4Material * collimatorMaterial
Material.
virtual G4double XApertureIn() const
Accessor.
BDSTipCollimator()=delete
Private default constructor to force the use of the supplied one.
G4double tipThickness
Thickness of the collimator tip.
virtual void BuildContainerLogicalVolume()
G4UserLimits * CollimatorUserLimits()
Return either default user limits or custom ones based on optional minimumKineticEnergy.
virtual void SetMinimumKineticEnergy(G4double minimimumKineticEnergyIn)
G4double xAperture
Aperture at entrance in x dimension.
virtual G4double YApertureIn() const
Accessor.
virtual void BuildInnerCollimator()=0
G4bool tapered
Flag for tapered collimator.
G4VSolid * vacuumSolid
Geometrical objects:
G4bool circularOuter
Aperture type of the collimator.