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