BDSDetectorConstruction Class Reference

Collaboration diagram for BDSDetectorConstruction:

Collaboration graph
[legend]

Public Member Functions

 BDSDetectorConstruction ()
 ~BDSDetectorConstruction ()
virtual G4VPhysicalVolume * Construct ()
G4VPhysicalVolume * GetWorldVolume ()

Private Member Functions

BDSDetectorConstructionoperator= (const BDSDetectorConstruction &)
 assignment and copy constructor not implemented nor used
 BDSDetectorConstruction (BDSDetectorConstruction &)
G4VPhysicalVolume * ConstructBDS (ElementList &beamline_list)
void SetMagField (const G4double afield)
void BuildBeamline ()
void BuildWorld ()
void ComponentPlacement ()
 Iterate over the beamline and place each BDSAcceleratorComponent in the world volume.
void SetGFlashOnVolume (G4LogicalVolume *volume)
 Function to add the volume to the gflash parameterisation model.

Private Attributes

G4bool verbose
G4GeometrySampler * itsGeometrySampler
G4Region * precisionRegion
G4Region * gasRegion
G4Box * solidWorld
G4LogicalVolume * logicWorld
G4VPhysicalVolume * physiWorld
std::vector< G4double > itsWorldSize
std::vector< G4VPhysicalVolume * > fPhysicalVolumeVector
G4UniformMagField * magField
G4UserLimits * BDSUserLimits
G4VSensitiveDetector * BDSSensitiveDetector
std::vector< GFlashHomoShowerParameterisation * > theParameterisation
GFlashHitMaker * theHitMaker
GFlashParticleBounds * theParticleBounds
std::vector< BDSShowerModel * > theFastShowerModel
std::vector< G4Region * > gFlashRegion
G4RotationMatrix * _globalRotation

Detailed Description

Definition at line 28 of file BDSDetectorConstruction.hh.


Member Function Documentation

void BDSDetectorConstruction::BuildBeamline (  )  [private]

Convert the parser beamline_list to BDSAcceleratorComponents with help of BDSComponentFactory and put in BDSBeamline container that calcualtes coordinates and extent of beamline

Definition at line 205 of file BDSDetectorConstruction.cc.

References BDSBeamline::AddComponent(), BDS::CalculateAndSetTeleporterDelta(), BDSComponentFactory::createComponent(), BDSComponentFactory::createTeleporter(), BDSComponentFactory::createTerminator(), BDSAcceleratorComponent::Initialise(), BDSAcceleratorModel::Instance(), BDSExecOptions::Instance(), BDSAcceleratorModel::RegisterFlatBeamline(), BDSBeamline::size(), and verbose.

Referenced by ConstructBDS().

Here is the call graph for this function:

Here is the caller graph for this function:

void BDSDetectorConstruction::BuildWorld (  )  [private]

Build the world volume using the extent of the BDSBeamline instance created in BuildBeamline()

Definition at line 264 of file BDSDetectorConstruction.cc.

References BDSGlobalConstants::GetEmptyMaterial(), BDSAcceleratorModel::GetFlatBeamline(), BDSMaterials::GetMaterial(), BDSBeamline::GetMaximumExtentAbsolute(), BDSBeamline::GetMaximumExtentNegative(), BDSBeamline::GetMaximumExtentPositive(), BDSExecOptions::Instance(), BDSMaterials::Instance(), BDSGlobalConstants::Instance(), BDSAcceleratorModel::Instance(), logicWorld, physiWorld, precisionRegion, BDSAcceleratorModel::RegisterReadOutWorldLV(), BDSAcceleratorModel::RegisterReadOutWorldPV(), and solidWorld.

Referenced by ConstructBDS().

Here is the call graph for this function:

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