| OPAL (Object Oriented Parallel Accelerator Library)
    2.2.0
    OPAL | 
#include <SpecificElementVisitor.h>


| Public Types | |
| typedef std::list< const ELEM * > | ElementList_t | 
| typedef ElementList_t::iterator | iterator_t | 
| typedef ElementList_t::const_iterator | const_iterator_t | 
| typedef ElementList_t::reference | reference_t | 
| typedef ElementList_t::const_reference | const_reference_t | 
| Public Member Functions | |
| SpecificElementVisitor (const Beamline &beamline) | |
| virtual void | execute () | 
| Execute the algorithm on the attached beam line.  More... | |
| virtual void | visitBeamBeam (const BeamBeam &) | 
| Apply the algorithm to a beam-beam.  More... | |
| virtual void | visitBeamStripping (const BeamStripping &) | 
| Apply the algorithm to a beam stripping.  More... | |
| virtual void | visitCCollimator (const CCollimator &) | 
| Apply the algorithm to a collimator.  More... | |
| virtual void | visitComponent (const Component &) | 
| Apply the algorithm to an arbitrary component.  More... | |
| virtual void | visitCyclotron (const Cyclotron &) | 
| Apply the algorithm to an cyclotron.  More... | |
| virtual void | visitRing (const Ring &) | 
| Apply the algorithm to an opal ring..  More... | |
| virtual void | visitCorrector (const Corrector &) | 
| Apply the algorithm to a corrector.  More... | |
| virtual void | visitDegrader (const Degrader &) | 
| Apply the algorithm to a drift.  More... | |
| virtual void | visitDiagnostic (const Diagnostic &) | 
| Apply the algorithm to a diagnostic.  More... | |
| virtual void | visitDrift (const Drift &) | 
| Apply the algorithm to a drift.  More... | |
| virtual void | visitFlexibleCollimator (const FlexibleCollimator &) | 
| Apply the algorithm to a flexible collimator.  More... | |
| virtual void | visitLambertson (const Lambertson &) | 
| Apply the algorithm to a Lambertson.  More... | |
| virtual void | visitMarker (const Marker &) | 
| Apply the algorithm to a marker.  More... | |
| virtual void | visitMonitor (const Monitor &) | 
| Apply the algorithm to a monitor.  More... | |
| virtual void | visitMultipole (const Multipole &) | 
| Apply the algorithm to a multipole.  More... | |
| virtual void | visitMultipoleT (const MultipoleT &) | 
| Apply the algorithm to a multipoleT.  More... | |
| virtual void | visitMultipoleTStraight (const MultipoleTStraight &) | 
| Apply the algorithm to a multipoleTStraight.  More... | |
| virtual void | visitMultipoleTCurvedConstRadius (const MultipoleTCurvedConstRadius &) | 
| Apply the algorithm to a multipoleT.  More... | |
| virtual void | visitMultipoleTCurvedVarRadius (const MultipoleTCurvedVarRadius &) | 
| Apply the algorithm to a multipoleT.  More... | |
| virtual void | visitOffset (const Offset &) | 
| Apply the algorithm to an Offset.  More... | |
| virtual void | visitPatch (const Patch &pat) | 
| Apply the algorithm to a patch.  More... | |
| virtual void | visitProbe (const Probe &prob) | 
| Apply the algorithm to a probe.  More... | |
| virtual void | visitRBend (const RBend &) | 
| Apply the algorithm to a rectangular bend.  More... | |
| virtual void | visitRBend3D (const RBend3D &) | 
| Apply the algorithm to a rectangular bend.  More... | |
| virtual void | visitVariableRFCavity (const VariableRFCavity &vcav) | 
| Apply the algorithm to a RF cavity.  More... | |
| virtual void | visitVariableRFCavityFringeField (const VariableRFCavityFringeField &vcav) | 
| Apply the algorithm to a RF cavity.  More... | |
| virtual void | visitRFCavity (const RFCavity &) | 
| Apply the algorithm to a RF cavity.  More... | |
| virtual void | visitTravelingWave (const TravelingWave &) | 
| Apply the algorithm to a RF cavity.  More... | |
| virtual void | visitRFQuadrupole (const RFQuadrupole &) | 
| Apply the algorithm to a RF quadrupole.  More... | |
| virtual void | visitSBend (const SBend &) | 
| Apply the algorithm to a sector bend.  More... | |
| virtual void | visitSBend3D (const SBend3D &) | 
| Apply the algorithm to a sector bend.  More... | |
| virtual void | visitSeparator (const Separator &) | 
| Apply the algorithm to a separator.  More... | |
| virtual void | visitSeptum (const Septum &) | 
| Apply the algorithm to a septum.  More... | |
| virtual void | visitSolenoid (const Solenoid &) | 
| Apply the algorithm to a solenoid.  More... | |
| virtual void | visitSource (const Source &) | 
| Apply the algorithm to a solenoid.  More... | |
| virtual void | visitScalingFFAMagnet (const ScalingFFAMagnet &) | 
| Apply the algorithm to a spiral sector magnet.  More... | |
| virtual void | visitVerticalFFAMagnet (const VerticalFFAMagnet &) | 
| Apply the algorithm to a spiral sector magnet.  More... | |
| virtual void | visitParallelPlate (const ParallelPlate &) | 
| Apply the algorithm to a ParallelPlate.  More... | |
| virtual void | visitCyclotronValley (const CyclotronValley &) | 
| Apply the algorithm to a CyclotronValley.  More... | |
| virtual void | visitStripper (const Stripper &) | 
| Apply the algorithm to a charge stripper.  More... | |
| virtual void | visitBeamline (const Beamline &) | 
| Apply the algorithm to a beam line.  More... | |
| virtual void | visitFlaggedElmPtr (const FlaggedElmPtr &) | 
| Apply the algorithm to a FlaggedElmPtr.  More... | |
| virtual void | visitAlignWrapper (const AlignWrapper &) | 
| Apply the algorithm to an align wrapper..  More... | |
| virtual void | visitCorrectorWrapper (const CorrectorWrapper &) | 
| Apply the algorithm to an corrector wrapper..  More... | |
| virtual void | visitCyclotronWrapper (const CyclotronWrapper &) | 
| Apply the algorithm to an cyclotron wrapper..  More... | |
| virtual void | visitMultipoleWrapper (const MultipoleWrapper &) | 
| Apply the algorithm to an multipole wrapper..  More... | |
| virtual void | visitRBendWrapper (const RBendWrapper &) | 
| Apply the algorithm to an RBend wrapper..  More... | |
| virtual void | visitSBendWrapper (const SBendWrapper &) | 
| Apply the algorithm to an SBend wrapper..  More... | |
| virtual void | visitIntegrator (const Integrator &) | 
| Apply the algorithm to a generic integrator.  More... | |
| virtual void | visitMapIntegrator (const MapIntegrator &) | 
| Apply the algorithm to an integrator capable of mapping.  More... | |
| virtual void | visitTrackIntegrator (const TrackIntegrator &) | 
| Apply the algorithm to an integrator capable of tracking.  More... | |
| size_t | size () const | 
| iterator_t | begin () | 
| const_iterator_t | begin () const | 
| iterator_t | end () | 
| const_iterator_t | end () const | 
| reference_t | front () | 
| const_reference_t | front () const | 
|  Public Member Functions inherited from BeamlineVisitor | |
| BeamlineVisitor () | |
| virtual | ~BeamlineVisitor () | 
| Private Attributes | |
| ElementList_t | allElementsOfTypeE | 
Definition at line 79 of file SpecificElementVisitor.h.
| typedef ElementList_t::const_iterator SpecificElementVisitor< ELEM >::const_iterator_t | 
Definition at line 245 of file SpecificElementVisitor.h.
| typedef ElementList_t::const_reference SpecificElementVisitor< ELEM >::const_reference_t | 
Definition at line 248 of file SpecificElementVisitor.h.
| typedef std::list<const ELEM*> SpecificElementVisitor< ELEM >::ElementList_t | 
Definition at line 243 of file SpecificElementVisitor.h.
| typedef ElementList_t::iterator SpecificElementVisitor< ELEM >::iterator_t | 
Definition at line 244 of file SpecificElementVisitor.h.
| typedef ElementList_t::reference SpecificElementVisitor< ELEM >::reference_t | 
Definition at line 247 of file SpecificElementVisitor.h.
| SpecificElementVisitor< ELEM >::SpecificElementVisitor | ( | const Beamline & | beamline | ) | 
Definition at line 264 of file SpecificElementVisitor.h.
References Beamline::iterate().

| SpecificElementVisitor< ELEM >::iterator_t SpecificElementVisitor< ELEM >::begin | ( | ) | 
Definition at line 541 of file SpecificElementVisitor.h.
| SpecificElementVisitor< ELEM >::const_iterator_t SpecificElementVisitor< ELEM >::begin | ( | ) | const | 
Definition at line 546 of file SpecificElementVisitor.h.
| SpecificElementVisitor< ELEM >::iterator_t SpecificElementVisitor< ELEM >::end | ( | ) | 
Definition at line 551 of file SpecificElementVisitor.h.
| SpecificElementVisitor< ELEM >::const_iterator_t SpecificElementVisitor< ELEM >::end | ( | ) | const | 
Definition at line 556 of file SpecificElementVisitor.h.
| 
 | virtual | 
Execute the algorithm on the attached beam line.
Implements BeamlineVisitor.
Definition at line 272 of file SpecificElementVisitor.h.
Referenced by Distribution::createMatchedGaussDistribution().
| SpecificElementVisitor< ELEM >::reference_t SpecificElementVisitor< ELEM >::front | ( | ) | 
Definition at line 561 of file SpecificElementVisitor.h.
| SpecificElementVisitor< ELEM >::const_reference_t SpecificElementVisitor< ELEM >::front | ( | ) | const | 
Definition at line 566 of file SpecificElementVisitor.h.
| size_t SpecificElementVisitor< ELEM >::size | ( | ) | const | 
Definition at line 536 of file SpecificElementVisitor.h.
| 
 | virtual | 
Apply the algorithm to an align wrapper..
Implements BeamlineVisitor.
Definition at line 490 of file SpecificElementVisitor.h.
References ElementBase::accept(), and AlignWrapper::getElement().

| 
 | virtual | 
Apply the algorithm to a beam-beam.
Implements BeamlineVisitor.
Definition at line 276 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a beam line.
Implements BeamlineVisitor.
Definition at line 479 of file SpecificElementVisitor.h.
References Beamline::iterate().

| 
 | virtual | 
Apply the algorithm to a beam stripping.
Implements BeamlineVisitor.
Definition at line 281 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a collimator.
Implements BeamlineVisitor.
Definition at line 286 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an arbitrary component.
Implements BeamlineVisitor.
Definition at line 291 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a corrector.
Implements BeamlineVisitor.
Definition at line 306 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an corrector wrapper..
Implements BeamlineVisitor.
Definition at line 496 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an cyclotron.
Implements BeamlineVisitor.
Definition at line 296 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a CyclotronValley.
Implements BeamlineVisitor.
Definition at line 469 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an cyclotron wrapper..
Implements BeamlineVisitor.
Definition at line 501 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a drift.
Implements BeamlineVisitor.
Definition at line 311 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a diagnostic.
Implements BeamlineVisitor.
Definition at line 316 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a drift.
Implements BeamlineVisitor.
Definition at line 321 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a FlaggedElmPtr.
Implements BeamlineVisitor.
Definition at line 484 of file SpecificElementVisitor.h.
References ElementBase::accept(), and ElmPtr::getElement().

| 
 | virtual | 
Apply the algorithm to a flexible collimator.
Implements BeamlineVisitor.
Definition at line 326 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a generic integrator.
Implements BeamlineVisitor.
Definition at line 521 of file SpecificElementVisitor.h.
| 
 | virtual | 
Apply the algorithm to a Lambertson.
Implements BeamlineVisitor.
Definition at line 331 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an integrator capable of mapping.
Implements BeamlineVisitor.
Definition at line 526 of file SpecificElementVisitor.h.
| 
 | virtual | 
Apply the algorithm to a marker.
Implements BeamlineVisitor.
Definition at line 336 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a monitor.
Implements BeamlineVisitor.
Definition at line 341 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a multipole.
Implements BeamlineVisitor.
Definition at line 346 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a multipoleT.
Implements BeamlineVisitor.
Definition at line 351 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a multipoleT.
Implements BeamlineVisitor.
Definition at line 361 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a multipoleT.
Implements BeamlineVisitor.
Definition at line 366 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a multipoleTStraight.
Implements BeamlineVisitor.
Definition at line 356 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an multipole wrapper..
Implements BeamlineVisitor.
Definition at line 506 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an Offset.
Implements BeamlineVisitor.
Definition at line 371 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a ParallelPlate.
Implements BeamlineVisitor.
Definition at line 464 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a patch.
Implements BeamlineVisitor.
Definition at line 376 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a probe.
Implements BeamlineVisitor.
Definition at line 381 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a rectangular bend.
Implements BeamlineVisitor.
Definition at line 386 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a rectangular bend.
Reimplemented from BeamlineVisitor.
Definition at line 391 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an RBend wrapper..
Implements BeamlineVisitor.
Definition at line 511 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a RF cavity.
Implements BeamlineVisitor.
Definition at line 409 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a RF quadrupole.
Implements BeamlineVisitor.
Definition at line 419 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an opal ring..
Implements BeamlineVisitor.
Definition at line 301 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a sector bend.
Implements BeamlineVisitor.
Definition at line 424 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a sector bend.
Implements BeamlineVisitor.
Definition at line 429 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an SBend wrapper..
Implements BeamlineVisitor.
Definition at line 516 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a spiral sector magnet.
Implements BeamlineVisitor.
Definition at line 434 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a separator.
Implements BeamlineVisitor.
Definition at line 444 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a septum.
Implements BeamlineVisitor.
Definition at line 449 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a solenoid.
Implements BeamlineVisitor.
Definition at line 454 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a solenoid.
Implements BeamlineVisitor.
Definition at line 459 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a charge stripper.
Implements BeamlineVisitor.
Definition at line 474 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to an integrator capable of tracking.
Implements BeamlineVisitor.
Definition at line 531 of file SpecificElementVisitor.h.
| 
 | virtual | 
Apply the algorithm to a RF cavity.
Implements BeamlineVisitor.
Definition at line 414 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a RF cavity.
Implements BeamlineVisitor.
Definition at line 397 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a RF cavity.
Implements BeamlineVisitor.
Definition at line 403 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | virtual | 
Apply the algorithm to a spiral sector magnet.
Implements BeamlineVisitor.
Definition at line 439 of file SpecificElementVisitor.h.
References CastsTrait< ELEM1, ELEM2 >::apply().

| 
 | private | 
Definition at line 260 of file SpecificElementVisitor.h.
 1.8.5
 1.8.5