BDSSectorBend Class Reference

Inheritance diagram for BDSSectorBend:

Inheritance graph
[legend]
Collaboration diagram for BDSSectorBend:

Collaboration graph
[legend]

Public Member Functions

 BDSSectorBend (G4String nameIn, G4double lengthIn, G4double angleIn, G4double bFieldIn, G4double bGradIn, BDSBeamPipeInfo *beamPipeInfo, BDSMagnetOuterInfo magnetOuterInfo, BDSTiltOffset tiltOffset=BDSTiltOffset())
 ~BDSSectorBend ()

Private Member Functions

virtual void Build ()
virtual void BuildBPFieldAndStepper ()
 define field and stepper
virtual void BuildBeampipe ()
 general straight beampipe - can be overloaded by derived classes

Private Attributes

G4double itsBField
G4double itsBGrad
G4int orientation
 orientation of shifts - depends on angle - calculations use absolute value of angle for safety

Detailed Description

Definition at line 14 of file BDSSectorBend.hh.


Member Function Documentation

void BDSSectorBend::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 BDSMagnet.

Definition at line 49 of file BDSSectorBend.cc.

References BDSMagnet::Build(), BDSMagnet::BuildOuterFieldManager(), BDSGlobalConstants::GetComponentBoxSize(), BDSGlobalConstants::GetMagnetPoleRadius(), BDSGlobalConstants::GetMagnetPoleSize(), BDSGlobalConstants::Instance(), and BDSMagnet::itsMagField.

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