#include <BDSAcceleratorModel.hh>
Collaboration diagram for BDSAcceleratorModel:
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) |
BDSBeamline * | GetFlatBeamline () |
Access flat beamline. | |
Static Public Member Functions | |
static BDSAcceleratorModel * | Instance () |
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 | |
BDSBeamline * | flatBeamline |
flat beam line | |
Static Private Attributes | |
static BDSAcceleratorModel * | _instance = 0 |
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.
Definition at line 25 of file BDSAcceleratorModel.hh.
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: