Construction of the geometry in the case of a link model.
More...
#include <BDSLinkDetectorConstruction.hh>
|
| BDSLinkDetectorConstruction () |
| Default constructor. More...
|
|
virtual G4VPhysicalVolume * | Construct () |
|
G4int | AddLinkCollimatorJaw (const std::string &collimatorName, const std::string &materialName, G4double length, G4double halfApertureLeft, G4double halfApertureRight, G4double rotation, G4double xOffset, G4double yOffset, G4bool buildLeftJaw=true, G4bool buildRightJaw=true, G4bool isACrystal=false, G4double crystalAngle=0, G4bool sampleIn=false) |
| Interface to append a collimator of jaw style to the linking. More...
|
|
void | SetDesignParticle (const BDSParticleDefinition *defIn) |
| Set the design particle definition. More...
|
|
void | SetPrimaryGeneratorAction (BDSLinkPrimaryGeneratorAction *pgIn) |
|
void | BuildPhysicsBias () |
|
const std::map< std::string, G4int > & | NameToElementIndex () const |
|
const std::map< int, int > & | LinkIDToBeamlineIndex () const |
|
G4int | NumberOfElements () const |
|
void | SetSamplerWorldID (G4int samplerWorldIDIn) |
|
const BDSBeamline * | LinkBeamline () const |
|
|
BDSExtent | WorldExtent () const |
| Accessor. More...
|
|
BDSLinkRegistry * | LinkRegistry () const |
| Accessor. More...
|
|
Construction of the geometry in the case of a link model.
- Author
- Laurie Nevay
Definition at line 47 of file BDSLinkDetectorConstruction.hh.
◆ BDSLinkDetectorConstruction()
BDSLinkDetectorConstruction::BDSLinkDetectorConstruction |
( |
| ) |
|
◆ ~BDSLinkDetectorConstruction()
BDSLinkDetectorConstruction::~BDSLinkDetectorConstruction |
( |
| ) |
|
|
virtual |
◆ AddLinkCollimatorJaw()
G4int BDSLinkDetectorConstruction::AddLinkCollimatorJaw |
( |
const std::string & |
collimatorName, |
|
|
const std::string & |
materialName, |
|
|
G4double |
length, |
|
|
G4double |
halfApertureLeft, |
|
|
G4double |
halfApertureRight, |
|
|
G4double |
rotation, |
|
|
G4double |
xOffset, |
|
|
G4double |
yOffset, |
|
|
G4bool |
buildLeftJaw = true , |
|
|
G4bool |
buildRightJaw = true , |
|
|
G4bool |
isACrystal = false , |
|
|
G4double |
crystalAngle = 0 , |
|
|
G4bool |
sampleIn = false |
|
) |
| |
◆ BuildPhysicsBias()
void BDSLinkDetectorConstruction::BuildPhysicsBias |
( |
| ) |
|
◆ Construct()
G4VPhysicalVolume * BDSLinkDetectorConstruction::Construct |
( |
| ) |
|
|
virtual |
◆ LinkBeamline()
const BDSBeamline * BDSLinkDetectorConstruction::LinkBeamline |
( |
| ) |
const |
|
inline |
◆ LinkIDToBeamlineIndex()
const std::map< int, int > & BDSLinkDetectorConstruction::LinkIDToBeamlineIndex |
( |
| ) |
const |
|
inline |
◆ LinkRegistry()
◆ NameToElementIndex()
const std::map< std::string, G4int > & BDSLinkDetectorConstruction::NameToElementIndex |
( |
| ) |
const |
|
inline |
◆ NumberOfElements()
G4int BDSLinkDetectorConstruction::NumberOfElements |
( |
| ) |
const |
|
inline |
◆ PlaceOneComponent()
G4int BDSLinkDetectorConstruction::PlaceOneComponent |
( |
const BDSBeamlineElement * |
element, |
|
|
const G4String & |
originalName |
|
) |
| |
|
private |
Place a beam line element in the world.
Definition at line 355 of file BDSLinkDetectorConstruction.cc.
References BDSSamplerPlane::ChordLength(), BDSLinkComponent::Component(), BDSBeamlineElement::GetAcceleratorComponent(), BDSGeometryComponent::GetContainerLogicalVolume(), BDSBeamlineElement::GetCopyNo(), BDSBeamlineElement::GetPlacementName(), BDSBeamlineElement::GetPlacementTransform(), BDSBeamlineElement::GetSamplerType(), BDSBeamlineElement::GetSPositionStart(), BDSGlobalConstants::Instance(), BDSSamplerRegistry::Instance(), BDSBeamlineElement::PlaceElement(), BDSSamplerRegistry::RegisterSampler(), and samplerWorldID.
◆ SetDesignParticle()
◆ SetPrimaryGeneratorAction()
◆ SetSamplerWorldID()
void BDSLinkDetectorConstruction::SetSamplerWorldID |
( |
G4int |
samplerWorldIDIn | ) |
|
|
inline |
◆ UpdateWorldSolid()
void BDSLinkDetectorConstruction::UpdateWorldSolid |
( |
| ) |
|
|
private |
◆ WorldExtent()
BDSExtent BDSLinkDetectorConstruction::WorldExtent |
( |
| ) |
const |
|
inline |
◆ crystalBiasing
G4ChannelingOptrMultiParticleChangeCrossSection* BDSLinkDetectorConstruction::crystalBiasing |
|
private |
◆ designParticle
◆ linkBeamline
◆ linkIDToBeamlineIndex
std::map<G4int, G4int> BDSLinkDetectorConstruction::linkIDToBeamlineIndex |
|
private |
◆ linkRegistry
◆ nameToElementIndex
std::map<std::string, G4int> BDSLinkDetectorConstruction::nameToElementIndex |
|
private |
◆ primaryGeneratorAction
◆ samplerWorldID
G4int BDSLinkDetectorConstruction::samplerWorldID |
|
private |
◆ worldExtent
BDSExtent BDSLinkDetectorConstruction::worldExtent |
|
private |
◆ worldPV
G4VPhysicalVolume* BDSLinkDetectorConstruction::worldPV |
|
private |
◆ worldSolid
G4Box* BDSLinkDetectorConstruction::worldSolid |
|
private |
The documentation for this class was generated from the following files: