BDSTeleporter Class Reference

Inheritance diagram for BDSTeleporter:

Inheritance graph
[legend]
Collaboration diagram for BDSTeleporter:

Collaboration graph
[legend]

Public Member Functions

 BDSTeleporter (G4String name, G4double length)
 ~BDSTeleporter ()

Protected Attributes

G4ChordFinder * itsChordFinder
G4FieldManager * itsFieldManager
G4MagIntegratorStepper * itsStepper
BDSMagFielditsMagField
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

Detailed Description

Definition at line 13 of file BDSTeleporter.hh.


Member Function Documentation

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:


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