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 |
Definition at line 14 of file BDSSectorBend.hh.
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: