Representation of a range within a beam line or sequence.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the algorithm to a FlaggedElmPtr.
DefaultVisitor(const Beamline &beamline, bool backBeam, bool backTrack)
Constructor.
virtual void execute()
Apply the algorithm to the top-level beamline.
An abstract sequence of beam line components.
ElementBase * getElement() const
Get the element pointer.
A section of a beam line.
virtual void handleElement(const FlaggedElmPtr &)
The operation to be done for elements.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the visitor to an FlaggedElmPtr.
virtual void handleBeamline(const FlaggedElmPtr &)
The operation to be done for beamlines.
virtual void execute()
Execute the algorithm.
RangeRep itsRange
Working data for range.