Public Member Functions | |
BDSTeleporter (G4String name, G4double length) | |
~BDSTeleporter () | |
Protected Attributes | |
G4ChordFinder * | itsChordFinder |
G4FieldManager * | itsFieldManager |
G4MagIntegratorStepper * | itsStepper |
BDSMagField * | itsMagField |
G4Mag_UsualEqRhs * | itsEqRhs |
Private Member Functions | |
virtual void | Build () |
virtual void | BuildContainerLogicalVolume () |
void | BuildBPFieldAndStepper () |
define field and stepper | |
void | BuildBPFieldMgr (G4MagIntegratorStepper *stepper, G4MagneticField *field) |
build and set field manager and chord finder |
Definition at line 13 of file BDSTeleporter.hh.
void BDSTeleporter::Build | ( | ) | [private, 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 31 of file BDSTeleporter.cc.
References BDSAcceleratorComponent::Build(), BuildBPFieldAndStepper(), BuildBPFieldMgr(), itsMagField, and itsStepper.
Here is the call graph for this function:
void BDSTeleporter::BuildContainerLogicalVolume | ( | ) | [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 38 of file BDSTeleporter.cc.
References BDSAcceleratorComponent::chordLength, BDSGeometryComponent::containerLogicalVolume, BDSGeometryComponent::containerSolid, BDSAcceleratorComponent::emptyMaterial, BDSGlobalConstants::GetSamplerDiameter(), BDSGlobalConstants::Instance(), itsFieldManager, BDSAcceleratorComponent::name, BDSGeometryComponent::SetExtentX(), BDSGeometryComponent::SetExtentY(), and BDSGeometryComponent::SetExtentZ().
Here is the call graph for this function: