Public Member Functions | |
BDSDrift (G4String nameIn, G4double lengthIn, BDSBeamPipeInfo *beamPipeInfoIn, BDSTiltOffset tiltOffset=BDSTiltOffset()) | |
~BDSDrift () | |
Protected Member Functions | |
void | Build () |
Private Member Functions | |
void | BuildContainerLogicalVolume () |
Definition at line 11 of file BDSDrift.hh.
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.