class
AbstractMapper
: public DefaultVisitor
(Return to index)
Build transfer map.
An abstract visitor class implementing the default behaviour for all
visitors capable of tracking a transfer map through a beam line.
It implements access to the accumulated map, and keeps track of the
beam reference data.
This class redefines all visitXXX() methods for elements as pure
to force their implementation in derived classes.
Type: |
Abstract |
Superclasses: |
public DefaultVisitor |
Include file: |
./Algorithms/AbstractMapper.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
- Protected Members:
Documentation:
- Public members:
-
AbstractMapper
(const Beamline&,const PartData&,bool,bool)
;
- Constructor.
The beam line to be tracked is bl.
The particle reference data are taken from data.
If revBeam is true, the beam runs from s = C to s = 0.
If revTrack is true, we track against the beam.
-
virtual void getMap
(LinearMap<double,6>&)const
= 0
;
- Return the linear part of the accumulated map.
-
virtual void getMap
(FVps<double,6>&)const
= 0
;
- Return the full map accumulated so far.
-
virtual void setMap
(const LinearMap<double,6>&)
= 0
;
- Reset the linear part of the accumulated map for restart.
-
virtual void setMap
(const FVps<double,6>&)
= 0
;
- Reset the full map for restart.
-
virtual void visitBeamBeam
(const BeamBeam&)
= 0
;
- Apply the algorithm to a beam-beam.
-
virtual void visitCollimator
(const Collimator&)
= 0
;
- Apply the algorithm to a collimator.
-
virtual void visitComponent
(const Component&)
= 0
;
- Apply the algorithm to an arbitrary component.
-
virtual void visitCorrector
(const Corrector&)
= 0
;
- Apply the algorithm to a corrector.
-
virtual void visitDiagnostic
(const Diagnostic&)
= 0
;
- Apply the algorithm to a diagnostic.
-
virtual void visitDrift
(const Drift&)
= 0
;
- Apply the algorithm to a drift.
-
virtual void visitLambertson
(const Lambertson&)
= 0
;
- Apply the algorithm to a Lambertson.
-
virtual void visitMarker
(const Marker&)
= 0
;
- Apply the algorithm to a marker.
-
virtual void visitMonitor
(const Monitor&)
= 0
;
- Apply the algorithm to a monitor.
-
virtual void visitMultipole
(const Multipole&)
= 0
;
- Apply the algorithm to a multipole.
-
virtual void visitPatch
(const Patch&)
= 0
;
- Apply the algorithm to a patch.
-
virtual void visitRBend
(const RBend&)
= 0
;
- Apply the algorithm to a rectangular bend.
-
virtual void visitRFCavity
(const RFCavity&)
= 0
;
- Apply the algorithm to a RF cavity.
-
virtual void visitRFQuadrupole
(const RFQuadrupole&)
= 0
;
- Apply the algorithm to a RF quadrupole.
-
virtual void visitSBend
(const SBend&)
= 0
;
- Apply the algorithm to a sector bend.
-
virtual void visitSeparator
(const Separator&)
= 0
;
- Apply the algorithm to a separator.
-
virtual void visitSeptum
(const Septum&)
= 0
;
- Apply the algorithm to a septum.
-
virtual void visitSolenoid
(const Solenoid&)
= 0
;
- Apply the algorithm to a solenoid.
- Protected members:
-
FTps<double,6> buildMultipoleVectorPotential
(const BMultipoleField&)
;
- Construct the vector potential for a Multipole.
-
FTps<double,6> buildSBendVectorPotential
(const BMultipoleField&,double)
;
- Construct the vector potential for a SBend.
-
const PartData itsReference
;
- The reference information.
Documentation generated by fci on Mon Feb 7 11:41:30 2000