19#ifndef BDSCOLLIMATORTIPJAW_H
20#define BDSCOLLIMATORTIPJAW_H
22#include "BDSTipCollimator.hh"
25#include "G4Material.hh"
41 G4double horizontalWidthIn,
43 G4double yHalfHeightIn,
45 G4double xsizeRightIn,
46 G4double leftJawTiltIn,
47 G4double rightJawTiltIn,
48 G4double tipThicknessIn,
49 G4bool buildLeftJawIn,
50 G4bool buildRightJawIn,
51 G4Material* collimatorMaterialIn,
52 G4Material* collimatorTipMaterialIn,
53 G4Material* vacuumMaterialIn,
54 G4Colour* colourIn =
nullptr,
55 G4Colour* tipColourIn =
nullptr);
58 inline G4double GetJawTiltLeft()
const {
return jawTiltLeft;}
59 inline G4double GetJawTiltRight()
const {
return jawTiltRight;}
67 virtual void Build()
override;
Collimator with jaws having a bulk material and a tip of a different material.
G4double jawTiltRight
Tilt of jaw 2 (angle in x-z plane)
G4double tipThickness
Thickness of collimator tip.
G4double jawTiltLeft
Tilt of jaw 1 (angle in x-z plane)
G4VSolid * jawSolid
Jaw solid.
virtual void BuildInnerCollimator() final
To fulfill inheritance but unused.
G4double xHalfGap
Half gap separation between jaws.
BDSCollimatorTipJaw()=delete
Private default constructor to force the use of the supplied one.
G4bool buildRightJaw
Build right jaw or not.
G4double xSizeLeft
Offset of jaw 1.
G4bool buildAperture
Build aperture or not.
virtual void CheckParameters() override
virtual void Build() override
Override function in BDSCollimator for totally different construction.
G4double jawHalfWidth
Half width of each jaw.
G4double xSizeRight
Offset of jaw 2.
BDSCollimatorTipJaw & operator=(const BDSCollimatorTipJaw &)=delete
Assignment and copy constructor not implemented nor used.
BDSCollimatorTipJaw(BDSCollimatorTipJaw &)=delete
Assignment and copy constructor not implemented nor used.
G4bool buildLeftJaw
Build left jaw or not.
virtual void BuildContainerLogicalVolume() override
Override function in BDSCollimator for different size based container.
G4double yHalfHeight
Half height of each jaw.
Base class for collimators with a bulk material and a tip of a different material.