19#ifndef BDSCOLLIMATORCRYSTAL_H
20#define BDSCOLLIMATORCRYSTAL_H
24#include "BDSAcceleratorComponent.hh"
44 G4double halfGapLeftIn = 0,
45 G4double halfGapRightIn = 0,
46 G4double angleYAxisLeftIn = 0,
47 G4double angleYAxisRightIn = 0);
67 G4double crystalAngle,
68 const G4String& side)
const;
76 G4double placementAngle,
81 const G4double halfGapLeft;
82 const G4double halfGapRight;
83 const G4double angleYAxisLeft;
84 const G4double angleYAxisRight;
Abstract class that represents a component of an accelerator.
const G4String name
Const protected member variable that may not be changed by derived classes.
Holder class for all information required to describe a beam pipe model.
A piece of vacuum beam pipe with a crystal for channelling.
void RegisterCrystalLVs(const BDSCrystal *crystal) const
Register logical volumes in crystals and collimator sets in accelerator model.
virtual void BuildContainerLogicalVolume()
Void function to fulfill BDSAcceleratorComponent requirements.
BDSCrystalInfo * crystalInfoRight
Model associated with right crystal.
BDSCollimatorCrystal()=delete
No default constructor.
virtual G4String Material() const
Override base class version and return crystal material.
BDSCrystalInfo * crystalInfoLeft
Model associated with left crystal.
virtual void Build()
Construct geometry.
G4double TransverseOffsetToEdge(const BDSCrystal *crystal, G4double placementAngle, G4bool left) const
void LongitudinalOverlap(const BDSExtent &extCrystal, G4double crystalAngle, const G4String &side) const
Holder for all information required to create a crystal.
An object for both a crystal from a factory.
Holder for +- extents in 3 dimensions.