33 const std::string &name,
virtual const std::string & getName() const
Get element name.
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the algorithm to a FlaggedElmPtr.
DefaultVisitor(const Beamline &beamline, bool backBeam, bool backTrack)
Constructor.
An abstract sequence of beam line components.
ElementBase * getElement() const
Get the element pointer.
A section of a beam line.
const std::string itsName
virtual void visitFlaggedElmPtr(const FlaggedElmPtr &)
Apply the visitor to an FlaggedElmPtr.