BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
BDSAcceleratorModel Class Reference

A holder class for all representations of the accelerator model created in BDSIM. More...

#include <BDSAcceleratorModel.hh>

Collaboration diagram for BDSAcceleratorModel:
Collaboration graph

Public Member Functions

G4VPhysicalVolume * WorldPV () const
 Access the physical volume of the world. More...
 
G4LogicalVolume * WorldLV () const
 Access the logical volume of the world. More...
 
void RegisterBeamlineSetMain (const BDSBeamlineSet &setIn)
 Register the main beam line set. More...
 
void RegisterBeamlineSetExtra (const G4String &name, const BDSBeamlineSet &setIn)
 Register a set of beam lines to be managed and cleared up at the end of the simulation. More...
 
void RegisterParallelWorld (G4VUserParallelWorld *world)
 
void RegisterPlacementBeamline (BDSBeamline *placementBLIn)
 Register the beam line of arbitrary placements. More...
 
BDSBeamlinePlacementBeamline () const
 Access the beam line of arbitrary placements. More...
 
void RegisterPlacementFieldPlacements (const std::vector< BDSPlacementToMake > &pIn)
 Register complete placements to make for field volumes in parallel world. More...
 
const std::vector< BDSPlacementToMake > & PlacementFieldPWPlacements () const
 Access field volumes for parallel world. More...
 
void RegisterBLMs (BDSBeamline *blmsIn)
 Register a beam line of blm placements. More...
 
BDSBeamlineBLMsBeamline () const
 Access the beam line of blm placements. More...
 
void RegisterTunnelBeamline (BDSBeamline *beamlineIn)
 Register the beam line containing all the tunnel segments. More...
 
BDSBeamlineTunnelBeamline () const
 Access the beam line containing all the tunnel segments. More...
 
void RegisterFields (std::vector< BDSFieldObjects * > &fieldsIn)
 Register all field objects. More...
 
void RegisterRegion (BDSRegion *region)
 Register a region. More...
 
void RegisterAperture (const G4String &name, BDSApertureInfo *apertureIn)
 Register a single aperture. More...
 
void RegisterApertures (const std::map< G4String, BDSApertureInfo * > &aperturesIn)
 Register a map of apertures with associated names. More...
 
BDSApertureInfoAperture (G4String name) const
 
G4Region * Region (const G4String &name) const
 Access region information. Will exit if not found. More...
 
std::set< G4LogicalVolume * > * VolumeSet (const G4String &name)
 Returns pointer to a set of logical volumes. If no set by that name exits, create it. More...
 
G4bool VolumeInSet (G4LogicalVolume *volume, const G4String &registryName)
 
BDSBeamlineCorrespondingMassWorldBeamline (BDSBeamline *bl) const
 
G4bool BeamlineIsMassWorld (BDSBeamline *bl) const
 
void MassWorldBeamlineAndIndex (BDSBeamline *&bl, G4int &index) const
 
void RegisterScorerHistogramDefinition (const BDSScorerHistogramDef &def)
 
void RegisterScorerPlacement (const G4String &meshName, const G4Transform3D &placement)
 Register a copy of the scorer placement so it can be used in the output. More...
 
void RegisterLinkComponent (BDSLinkComponent *linkComponentIn)
 
const std::set< BDSLinkComponent * > & LinkComponents () const
 
void RegisterWorldPV (G4VPhysicalVolume *worldIn)
 Register constituent of world. More...
 
void RegisterWorldLV (G4LogicalVolume *worldIn)
 Register constituent of world. More...
 
void RegisterWorldSolid (G4VSolid *worldIn)
 Register constituent of world. More...
 
const BDSBeamlineSetBeamlineSetMain () const
 Accessor. More...
 
const BDSBeamlineSetBeamlineSet (const G4String &name) const
 Accessor. More...
 
const std::map< G4String, BDSBeamlineSet > & ExtraBeamlines () const
 Accessor. More...
 
const BDSBeamlineBeamlineMain () const
 Accessor. More...
 
const std::vector< BDSScorerHistogramDef > & ScorerHistogramDefinitions () const
 Access all scorer histogram definitions. More...
 
const std::map< G4String, BDSScorerHistogramDef > & ScorerHistogramDefinitionsMap () const
 Access all scorer histogram definitions. More...
 
const BDSScorerHistogramDefScorerHistogramDef (const G4String &name)
 Access all scorer histogram definitions. More...
 
const std::map< G4String, G4Transform3D > & ScorerMeshPlacementsMap () const
 Access all scorer histogram definitions. More...
 

Static Public Member Functions

static BDSAcceleratorModelInstance ()
 

Private Member Functions

 BDSAcceleratorModel ()
 Default constructor is private as singleton. More...
 
void MapBeamlineSet (const BDSBeamlineSet &setIn)
 Utility function to apply mapping. More...
 

Private Attributes

G4VPhysicalVolume * worldPV
 Physical volume of the mass world. More...
 
G4LogicalVolume * worldLV
 
G4VSolid * worldSolid
 
BDSBeamlineSet mainBeamlineSet
 
std::map< G4String, BDSBeamlineSetextraBeamlines
 Extra beamlines. More...
 
std::set< G4VUserParallelWorld * > parallelWorlds
 Parallel worlds not use with beam lines. More...
 
std::map< BDSBeamline *, BDSBeamline * > clToMassWorldMap
 Mapping from any curvilinear beam line to the corresponding mass world beam line. More...
 
std::map< BDSBeamline *, G4bool > massWorldMapTF
 
BDSBeamlinetunnelBeamline
 Tunnel segments beam line. More...
 
BDSBeamlineplacementBeamline
 Placement beam line. More...
 
BDSBeamlineblmsBeamline
 BLMs beam line. More...
 
std::vector< BDSFieldObjects * > fields
 All field objects. More...
 
std::map< G4String, BDSRegion * > regions
 
std::set< BDSRegion * > regionStorage
 Unique storage of regions. More...
 
std::map< G4String, BDSApertureInfo * > apertures
 All apertures. More...
 
std::vector< BDSPlacementToMakeplacementFieldPlacements
 
std::map< G4String, std::set< G4LogicalVolume * > * > volumeRegistries
 All volume registries. More...
 
std::map< G4String, G4Transform3D > scorerMeshPlacements
 
std::set< BDSLinkComponent * > linkComponents
 
std::vector< BDSScorerHistogramDefscorerHistogramDefs
 Scorer histogram definitions cached from construction here to be used in output creation. More...
 
std::map< G4String, BDSScorerHistogramDefscorerHistogramDefsMap
 Scorer histogram definitions cached from construction here to be used in output creation. More...
 

Static Private Attributes

static BDSAcceleratorModelinstance = nullptr
 

Detailed Description

A holder class for all representations of the accelerator model created in BDSIM.

This can be extended to allow inspection of the model. Holds the readout geometry physical world in a location independent of detector construction.

In future, there may be several more beamlines than just a flat one, and perhaps grouped into a more hierarchical version. These can be contained here and this class can be extended as required.

Author
Laurie Nevay

Definition at line 60 of file BDSAcceleratorModel.hh.

Constructor & Destructor Documentation

◆ ~BDSAcceleratorModel()

BDSAcceleratorModel::~BDSAcceleratorModel ( )

Definition at line 67 of file BDSAcceleratorModel.cc.

◆ BDSAcceleratorModel()

BDSAcceleratorModel::BDSAcceleratorModel ( )
private

Default constructor is private as singleton.

Definition at line 55 of file BDSAcceleratorModel.cc.

References BDSAcceleratorComponentRegistry::Instance(), and BDSPhysicalVolumeInfoRegistry::Instance().

Here is the call graph for this function:

Member Function Documentation

◆ Aperture()

BDSApertureInfo * BDSAcceleratorModel::Aperture ( G4String  name) const

Access an aperture definition. Will exit if not found. Note, we use pointers as we purposively don't provide a default constructor for BDSApertureInfo.

Definition at line 148 of file BDSAcceleratorModel.cc.

References apertures.

Referenced by BDSParallelWorldSampler::BuildSampler(), and BDSDetectorConstruction::CalculateExtentOfSamplerPlacement().

Here is the caller graph for this function:

◆ BeamlineIsMassWorld()

G4bool BDSAcceleratorModel::BeamlineIsMassWorld ( BDSBeamline bl) const

Return whether a beam line is a mass world beam line. If in the unlikely event the beam line isn't registered, false is returned by default.

Definition at line 213 of file BDSAcceleratorModel.cc.

References BDS::MapGetWithDefault(), and massWorldMapTF.

Referenced by MassWorldBeamlineAndIndex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BeamlineMain()

const BDSBeamline * BDSAcceleratorModel::BeamlineMain ( ) const
inline

◆ BeamlineSet()

const BDSBeamlineSet & BDSAcceleratorModel::BeamlineSet ( const G4String &  name) const

Accessor.

Definition at line 125 of file BDSAcceleratorModel.cc.

References extraBeamlines.

Referenced by BDSParallelWorldCurvilinear::Construct(), and BDSParallelWorldCurvilinearBridge::Construct().

Here is the caller graph for this function:

◆ BeamlineSetMain()

const BDSBeamlineSet & BDSAcceleratorModel::BeamlineSetMain ( ) const
inline

Accessor.

Definition at line 83 of file BDSAcceleratorModel.hh.

Referenced by BDSDetectorConstruction::BuildWorld(), BDSDetectorConstruction::ComponentPlacement(), and BDSDetectorConstruction::Construct().

Here is the caller graph for this function:

◆ BLMsBeamline()

BDSBeamline * BDSAcceleratorModel::BLMsBeamline ( ) const
inline

Access the beam line of blm placements.

Definition at line 107 of file BDSAcceleratorModel.hh.

References blmsBeamline.

◆ CorrespondingMassWorldBeamline()

BDSBeamline * BDSAcceleratorModel::CorrespondingMassWorldBeamline ( BDSBeamline bl) const

Find a corresponding mass world beam line for a curvilinear (or bridge) beam line from the registered beam line sets.

Definition at line 191 of file BDSAcceleratorModel.cc.

References clToMassWorldMap.

Referenced by BDSSDCollimator::ProcessHitsOrdered().

Here is the caller graph for this function:

◆ ExtraBeamlines()

const std::map< G4String, BDSBeamlineSet > & BDSAcceleratorModel::ExtraBeamlines ( ) const
inline

Accessor.

Definition at line 85 of file BDSAcceleratorModel.hh.

References extraBeamlines.

Referenced by BDSDetectorConstruction::BuildWorld(), and BDSDetectorConstruction::ComponentPlacement().

Here is the caller graph for this function:

◆ Instance()

BDSAcceleratorModel * BDSAcceleratorModel::Instance ( )
static

Definition at line 48 of file BDSAcceleratorModel.cc.

◆ LinkComponents()

const std::set< BDSLinkComponent * > & BDSAcceleratorModel::LinkComponents ( ) const
inline

Definition at line 172 of file BDSAcceleratorModel.hh.

◆ MapBeamlineSet()

void BDSAcceleratorModel::MapBeamlineSet ( const BDSBeamlineSet setIn)
private

Utility function to apply mapping.

Definition at line 200 of file BDSAcceleratorModel.cc.

References clToMassWorldMap, and massWorldMapTF.

Referenced by RegisterBeamlineSetExtra(), and RegisterBeamlineSetMain().

Here is the caller graph for this function:

◆ MassWorldBeamlineAndIndex()

void BDSAcceleratorModel::MassWorldBeamlineAndIndex ( BDSBeamline *&  bl,
G4int &  index 
) const

Update a beam line pointer and index if required for the equivalent ones in the mass world beam line. If the beam line supplied is a mass world one, nothing is done.

Definition at line 218 of file BDSAcceleratorModel.cc.

References BeamlineIsMassWorld(), and clToMassWorldMap.

Here is the call graph for this function:

◆ PlacementBeamline()

BDSBeamline * BDSAcceleratorModel::PlacementBeamline ( ) const
inline

Access the beam line of arbitrary placements.

Definition at line 95 of file BDSAcceleratorModel.hh.

References placementBeamline.

Referenced by BDSDetectorConstruction::BuildWorld().

Here is the caller graph for this function:

◆ PlacementFieldPWPlacements()

const std::vector< BDSPlacementToMake > & BDSAcceleratorModel::PlacementFieldPWPlacements ( ) const
inline

Access field volumes for parallel world.

Definition at line 101 of file BDSAcceleratorModel.hh.

References placementFieldPlacements.

Referenced by BDSParallelWorldPlacementFields::Construct().

Here is the caller graph for this function:

◆ Region()

G4Region * BDSAcceleratorModel::Region ( const G4String &  name) const

Access region information. Will exit if not found.

Definition at line 157 of file BDSAcceleratorModel.cc.

Referenced by BDSDetectorConstruction::PlaceBeamlineInWorld().

Here is the caller graph for this function:

◆ RegisterAperture()

void BDSAcceleratorModel::RegisterAperture ( const G4String &  name,
BDSApertureInfo apertureIn 
)
inline

Register a single aperture.

Definition at line 122 of file BDSAcceleratorModel.hh.

References apertures.

◆ RegisterApertures()

void BDSAcceleratorModel::RegisterApertures ( const std::map< G4String, BDSApertureInfo * > &  aperturesIn)

Register a map of apertures with associated names.

Definition at line 143 of file BDSAcceleratorModel.cc.

References apertures.

Referenced by BDSDetectorConstruction::InitialiseApertures().

Here is the caller graph for this function:

◆ RegisterBeamlineSetExtra()

void BDSAcceleratorModel::RegisterBeamlineSetExtra ( const G4String &  name,
const BDSBeamlineSet setIn 
)

Register a set of beam lines to be managed and cleared up at the end of the simulation.

Definition at line 115 of file BDSAcceleratorModel.cc.

References extraBeamlines, and MapBeamlineSet().

Referenced by BDSDetectorConstruction::BuildBeamlines().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterBeamlineSetMain()

void BDSAcceleratorModel::RegisterBeamlineSetMain ( const BDSBeamlineSet setIn)

Register the main beam line set.

Definition at line 109 of file BDSAcceleratorModel.cc.

References MapBeamlineSet().

Referenced by BDSDetectorConstruction::BuildBeamlines().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterBLMs()

void BDSAcceleratorModel::RegisterBLMs ( BDSBeamline blmsIn)
inline

Register a beam line of blm placements.

Definition at line 104 of file BDSAcceleratorModel.hh.

References blmsBeamline.

Referenced by BDSDetectorConstruction::Construct().

Here is the caller graph for this function:

◆ RegisterFields()

void BDSAcceleratorModel::RegisterFields ( std::vector< BDSFieldObjects * > &  fieldsIn)
inline

Register all field objects.

Definition at line 116 of file BDSAcceleratorModel.hh.

References fields.

Referenced by BDSDetectorConstruction::ConstructSDandField().

Here is the caller graph for this function:

◆ RegisterLinkComponent()

void BDSAcceleratorModel::RegisterLinkComponent ( BDSLinkComponent linkComponentIn)
inline

Definition at line 171 of file BDSAcceleratorModel.hh.

◆ RegisterParallelWorld()

void BDSAcceleratorModel::RegisterParallelWorld ( G4VUserParallelWorld *  world)
inline

Definition at line 89 of file BDSAcceleratorModel.hh.

◆ RegisterPlacementBeamline()

void BDSAcceleratorModel::RegisterPlacementBeamline ( BDSBeamline placementBLIn)
inline

Register the beam line of arbitrary placements.

Definition at line 92 of file BDSAcceleratorModel.hh.

References placementBeamline.

Referenced by BDSDetectorConstruction::Construct().

Here is the caller graph for this function:

◆ RegisterPlacementFieldPlacements()

void BDSAcceleratorModel::RegisterPlacementFieldPlacements ( const std::vector< BDSPlacementToMake > &  pIn)
inline

Register complete placements to make for field volumes in parallel world.

Definition at line 98 of file BDSAcceleratorModel.hh.

References placementFieldPlacements.

Referenced by BDS::BuildPlacementGeometry().

Here is the caller graph for this function:

◆ RegisterRegion()

void BDSAcceleratorModel::RegisterRegion ( BDSRegion region)

Register a region.

Definition at line 137 of file BDSAcceleratorModel.cc.

References BDSRegion::name, and regionStorage.

Referenced by BDSDetectorConstruction::InitialiseRegions().

Here is the caller graph for this function:

◆ RegisterScorerHistogramDefinition()

void BDSAcceleratorModel::RegisterScorerHistogramDefinition ( const BDSScorerHistogramDef def)

Register a scorer histogram definition so it can be used in the output. The definition is stored both in a vector and a map. Note, repeated entries will exist in the vector but be overwritten in the map.

Definition at line 233 of file BDSAcceleratorModel.cc.

References scorerHistogramDefs, scorerHistogramDefsMap, and BDSScorerHistogramDef::uniqueName.

Referenced by BDSDetectorConstruction::ConstructScoringMeshes().

Here is the caller graph for this function:

◆ RegisterScorerPlacement()

void BDSAcceleratorModel::RegisterScorerPlacement ( const G4String &  meshName,
const G4Transform3D &  placement 
)

Register a copy of the scorer placement so it can be used in the output.

Definition at line 241 of file BDSAcceleratorModel.cc.

Referenced by BDSDetectorConstruction::ConstructScoringMeshes().

Here is the caller graph for this function:

◆ RegisterTunnelBeamline()

void BDSAcceleratorModel::RegisterTunnelBeamline ( BDSBeamline beamlineIn)
inline

Register the beam line containing all the tunnel segments.

Definition at line 110 of file BDSAcceleratorModel.hh.

References tunnelBeamline.

Referenced by BDSDetectorConstruction::BuildTunnel().

Here is the caller graph for this function:

◆ RegisterWorldLV()

void BDSAcceleratorModel::RegisterWorldLV ( G4LogicalVolume *  worldIn)
inline

Register constituent of world.

Definition at line 68 of file BDSAcceleratorModel.hh.

Referenced by BDSDetectorConstruction::BuildWorld().

Here is the caller graph for this function:

◆ RegisterWorldPV()

void BDSAcceleratorModel::RegisterWorldPV ( G4VPhysicalVolume *  worldIn)
inline

Register constituent of world.

Definition at line 67 of file BDSAcceleratorModel.hh.

References worldPV.

Referenced by BDSDetectorConstruction::BuildWorld().

Here is the caller graph for this function:

◆ RegisterWorldSolid()

void BDSAcceleratorModel::RegisterWorldSolid ( G4VSolid *  worldIn)
inline

Register constituent of world.

Definition at line 69 of file BDSAcceleratorModel.hh.

Referenced by BDSDetectorConstruction::BuildWorld().

Here is the caller graph for this function:

◆ ScorerHistogramDef()

const BDSScorerHistogramDef * BDSAcceleratorModel::ScorerHistogramDef ( const G4String &  name)

Access all scorer histogram definitions.

Definition at line 247 of file BDSAcceleratorModel.cc.

References scorerHistogramDefsMap.

◆ ScorerHistogramDefinitions()

const std::vector< BDSScorerHistogramDef > & BDSAcceleratorModel::ScorerHistogramDefinitions ( ) const
inline

Access all scorer histogram definitions.

Definition at line 165 of file BDSAcceleratorModel.hh.

References scorerHistogramDefs.

◆ ScorerHistogramDefinitionsMap()

const std::map< G4String, BDSScorerHistogramDef > & BDSAcceleratorModel::ScorerHistogramDefinitionsMap ( ) const
inline

Access all scorer histogram definitions.

Definition at line 166 of file BDSAcceleratorModel.hh.

References scorerHistogramDefsMap.

Referenced by BDSOutput::CreateHistograms().

Here is the caller graph for this function:

◆ ScorerMeshPlacementsMap()

const std::map< G4String, G4Transform3D > & BDSAcceleratorModel::ScorerMeshPlacementsMap ( ) const
inline

Access all scorer histogram definitions.

Definition at line 168 of file BDSAcceleratorModel.hh.

Referenced by BDSOutput::FillModel().

Here is the caller graph for this function:

◆ TunnelBeamline()

BDSBeamline * BDSAcceleratorModel::TunnelBeamline ( ) const
inline

Access the beam line containing all the tunnel segments.

Definition at line 113 of file BDSAcceleratorModel.hh.

References tunnelBeamline.

Referenced by BDSDetectorConstruction::BuildWorld(), BDSDetectorConstruction::ComponentPlacement(), and BDSOutput::CreateHistograms().

Here is the caller graph for this function:

◆ VolumeInSet()

G4bool BDSAcceleratorModel::VolumeInSet ( G4LogicalVolume *  volume,
const G4String &  registryName 
)

Check whether a volume is in a registry of volumes (a set). If no such registry exists then return false.

Definition at line 179 of file BDSAcceleratorModel.cc.

References volumeRegistries.

◆ VolumeSet()

std::set< G4LogicalVolume * > * BDSAcceleratorModel::VolumeSet ( const G4String &  name)

◆ WorldLV()

G4LogicalVolume * BDSAcceleratorModel::WorldLV ( ) const
inline

Access the logical volume of the world.

Definition at line 73 of file BDSAcceleratorModel.hh.

Referenced by BDSDetectorConstruction::ConstructScoringMeshes().

Here is the caller graph for this function:

◆ WorldPV()

G4VPhysicalVolume * BDSAcceleratorModel::WorldPV ( ) const
inline

Access the physical volume of the world.

Definition at line 72 of file BDSAcceleratorModel.hh.

References worldPV.

Field Documentation

◆ apertures

std::map<G4String, BDSApertureInfo*> BDSAcceleratorModel::apertures
private

All apertures.

Definition at line 205 of file BDSAcceleratorModel.hh.

Referenced by Aperture(), RegisterAperture(), and RegisterApertures().

◆ blmsBeamline

BDSBeamline* BDSAcceleratorModel::blmsBeamline
private

BLMs beam line.

Definition at line 200 of file BDSAcceleratorModel.hh.

Referenced by BLMsBeamline(), and RegisterBLMs().

◆ clToMassWorldMap

std::map<BDSBeamline*, BDSBeamline*> BDSAcceleratorModel::clToMassWorldMap
private

Mapping from any curvilinear beam line to the corresponding mass world beam line.

Definition at line 189 of file BDSAcceleratorModel.hh.

Referenced by CorrespondingMassWorldBeamline(), MapBeamlineSet(), and MassWorldBeamlineAndIndex().

◆ extraBeamlines

std::map<G4String, BDSBeamlineSet> BDSAcceleratorModel::extraBeamlines
private

Extra beamlines.

Definition at line 184 of file BDSAcceleratorModel.hh.

Referenced by BeamlineSet(), ExtraBeamlines(), and RegisterBeamlineSetExtra().

◆ fields

std::vector<BDSFieldObjects*> BDSAcceleratorModel::fields
private

All field objects.

Definition at line 202 of file BDSAcceleratorModel.hh.

Referenced by RegisterFields().

◆ instance

BDSAcceleratorModel * BDSAcceleratorModel::instance = nullptr
staticprivate

Definition at line 177 of file BDSAcceleratorModel.hh.

◆ linkComponents

std::set<BDSLinkComponent*> BDSAcceleratorModel::linkComponents
private

Definition at line 219 of file BDSAcceleratorModel.hh.

◆ mainBeamlineSet

BDSBeamlineSet BDSAcceleratorModel::mainBeamlineSet
private

Definition at line 183 of file BDSAcceleratorModel.hh.

◆ massWorldMapTF

std::map<BDSBeamline*, G4bool> BDSAcceleratorModel::massWorldMapTF
private

Map from beam line pointer to whether that beam line object is a mass world one, i.e. not a curvilinear or bridge one. 'TF' for true false.

Definition at line 193 of file BDSAcceleratorModel.hh.

Referenced by BeamlineIsMassWorld(), and MapBeamlineSet().

◆ parallelWorlds

std::set<G4VUserParallelWorld*> BDSAcceleratorModel::parallelWorlds
private

Parallel worlds not use with beam lines.

Definition at line 186 of file BDSAcceleratorModel.hh.

◆ placementBeamline

BDSBeamline* BDSAcceleratorModel::placementBeamline
private

Placement beam line.

Definition at line 199 of file BDSAcceleratorModel.hh.

Referenced by PlacementBeamline(), and RegisterPlacementBeamline().

◆ placementFieldPlacements

std::vector<BDSPlacementToMake> BDSAcceleratorModel::placementFieldPlacements
private

Placements for parallel world field volumes for geometry placements (the placement beam line). These contain lvs and transforms to place in a parallel world when it's built for the coordinate look ups.

Definition at line 209 of file BDSAcceleratorModel.hh.

Referenced by PlacementFieldPWPlacements(), and RegisterPlacementFieldPlacements().

◆ regions

std::map<G4String, BDSRegion*> BDSAcceleratorModel::regions
private

Definition at line 203 of file BDSAcceleratorModel.hh.

◆ regionStorage

std::set<BDSRegion*> BDSAcceleratorModel::regionStorage
private

Unique storage of regions.

Definition at line 204 of file BDSAcceleratorModel.hh.

Referenced by RegisterRegion().

◆ scorerHistogramDefs

std::vector<BDSScorerHistogramDef> BDSAcceleratorModel::scorerHistogramDefs
private

Scorer histogram definitions cached from construction here to be used in output creation.

Definition at line 214 of file BDSAcceleratorModel.hh.

Referenced by RegisterScorerHistogramDefinition(), and ScorerHistogramDefinitions().

◆ scorerHistogramDefsMap

std::map<G4String, BDSScorerHistogramDef> BDSAcceleratorModel::scorerHistogramDefsMap
private

Scorer histogram definitions cached from construction here to be used in output creation.

Definition at line 215 of file BDSAcceleratorModel.hh.

Referenced by RegisterScorerHistogramDefinition(), ScorerHistogramDef(), and ScorerHistogramDefinitionsMap().

◆ scorerMeshPlacements

std::map<G4String, G4Transform3D> BDSAcceleratorModel::scorerMeshPlacements
private

Definition at line 217 of file BDSAcceleratorModel.hh.

◆ tunnelBeamline

BDSBeamline* BDSAcceleratorModel::tunnelBeamline
private

Tunnel segments beam line.

Definition at line 198 of file BDSAcceleratorModel.hh.

Referenced by RegisterTunnelBeamline(), and TunnelBeamline().

◆ volumeRegistries

std::map<G4String, std::set<G4LogicalVolume*>* > BDSAcceleratorModel::volumeRegistries
private

All volume registries.

Definition at line 211 of file BDSAcceleratorModel.hh.

Referenced by VolumeInSet(), and VolumeSet().

◆ worldLV

G4LogicalVolume* BDSAcceleratorModel::worldLV
private

Definition at line 180 of file BDSAcceleratorModel.hh.

◆ worldPV

G4VPhysicalVolume* BDSAcceleratorModel::worldPV
private

Physical volume of the mass world.

Definition at line 179 of file BDSAcceleratorModel.hh.

Referenced by RegisterWorldPV(), and WorldPV().

◆ worldSolid

G4VSolid* BDSAcceleratorModel::worldSolid
private

Definition at line 181 of file BDSAcceleratorModel.hh.


The documentation for this class was generated from the following files: