BDSAcceleratorModel Class Reference

A holder class for all representations of the accelerator model created in BDSIM. Can be extend to allow inspection of the model. Holds the readout geometry physical world in a location independent of detector construction. More...

#include <BDSAcceleratorModel.hh>

Collaboration diagram for BDSAcceleratorModel:

Collaboration graph
[legend]

Public Member Functions

 ~BDSAcceleratorModel ()
void RegisterWorldPV (G4VPhysicalVolume *worldIn)
 Register the physical volume of the world.
G4VPhysicalVolume * GetWorldPV ()
 Access the physical volume of the world.
void RegisterReadOutWorldPV (G4VPhysicalVolume *readOutWorldIn)
 Register the physical volume for the read out geometry.
G4VPhysicalVolume * GetReadOutWorldPV ()
 Access the physical volume for the read out geometry.
void RegisterReadOutWorldLV (G4LogicalVolume *readOutWorldIn)
G4LogicalVolume * GetReadOutWorldLV ()
 Access the logical volume for the read out geometry.
void RegisterFlatBeamline (BDSBeamline *beamlineIn)
BDSBeamlineGetFlatBeamline ()
 Access flat beamline.

Static Public Member Functions

static BDSAcceleratorModelInstance ()

Private Member Functions

 BDSAcceleratorModel ()
 default constructor is private as singleton

Private Attributes

G4VPhysicalVolume * worldPV
 physical volume of the mass world
G4VPhysicalVolume * readOutWorldPV
 physical volume for read out geometry
G4LogicalVolume * readOutWorldLV
 logical volume for read out geometry
BDSBeamlineflatBeamline
 flat beam line

Static Private Attributes

static BDSAcceleratorModel_instance = 0

Detailed Description

A holder class for all representations of the accelerator model created in BDSIM. Can be extend to allow inspection of the model. Holds the readout geometry physical world in a location independent of detector construction.

In future, there may be more than several beamlines - 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 <laurie.nevay@rhul.ac.uk>

Definition at line 25 of file BDSAcceleratorModel.hh.


Member Function Documentation

void BDSAcceleratorModel::RegisterFlatBeamline ( BDSBeamline beamlineIn  )  [inline]

Register the flat beamline - flat means that each element in the beamline represents one element in the accelerator lattice

Definition at line 88 of file BDSAcceleratorModel.hh.

References flatBeamline.

Referenced by BDSDetectorConstruction::BuildBeamline().

Here is the caller graph for this function:

void BDSAcceleratorModel::RegisterReadOutWorldLV ( G4LogicalVolume *  readOutWorldIn  )  [inline]

Register the logical volume for the read out geometry - needed for placement of read out geometry items

Definition at line 82 of file BDSAcceleratorModel.hh.

References readOutWorldLV.

Referenced by BDSDetectorConstruction::BuildWorld().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7