BDSDrift Class Reference

Inheritance diagram for BDSDrift:

Inheritance graph
[legend]
Collaboration diagram for BDSDrift:

Collaboration graph
[legend]

Public Member Functions

 BDSDrift (G4String nameIn, G4double lengthIn, BDSBeamPipeInfo *beamPipeInfoIn, BDSTiltOffset tiltOffset=BDSTiltOffset())
 ~BDSDrift ()

Protected Member Functions

void Build ()

Private Member Functions

void BuildContainerLogicalVolume ()

Detailed Description

Definition at line 11 of file BDSDrift.hh.


Member Function Documentation

void BDSDrift::Build (  )  [protected, virtual]

Build the container only. Should be overridden by derived class to add more geometry apart from the container volume. The overridden Build() function can however, call make use of this function to call BuildContainerLogicalVolume() by calling BDSAcceleratorComponent::Build() at the beginning.

Reimplemented from BDSAcceleratorComponent.

Definition at line 25 of file BDSDrift.cc.

References BDSAcceleratorComponent::beamPipeInfo, BDSAcceleratorComponent::chordLength, BDSGeometryComponent::containerLogicalVolume, BDSGeometryComponent::containerSolid, BDSBeamPipeFactory::CreateBeamPipe(), BDSGeometryComponent::GetAllSensitiveVolumes(), BDSGeometryComponent::GetContainerLogicalVolume(), BDSGeometryComponent::GetContainerSolid(), BDSGeometryComponent::GetExtentX(), BDSGeometryComponent::GetExtentY(), BDSGeometryComponent::GetExtentZ(), BDSGlobalConstants::Instance(), BDSBeamPipeFactory::Instance(), BDSAcceleratorComponent::name, BDSGeometryComponent::RegisterSensitiveVolumes(), BDSGeometryComponent::SetExtentX(), BDSGeometryComponent::SetExtentY(), and BDSGeometryComponent::SetExtentZ().

Here is the call graph for this function:

void BDSDrift::BuildContainerLogicalVolume (  )  [inline, private, virtual]

Build the container solid and logical volume that all parts of the component will contained within - must be provided by derived class.

Implements BDSAcceleratorComponent.

Definition at line 24 of file BDSDrift.hh.


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