1 #ifndef CLASSIC_Drift_HH
2 #define CLASSIC_Drift_HH
51 virtual bool bends()
const override;
55 virtual void getDimensions(
double &zBegin,
double &zEnd)
const override;
Interface for a single beam element.
Interface for drift space.
void operator=(const Drift &)
virtual bool bends() const override
virtual void finalise() override
virtual ElementBase::ElementType getType() const override
Get element type std::string.
virtual void getDimensions(double &zBegin, double &zEnd) const override
virtual int getRequiredNumberOfTimeSteps() const override
void setNSlices(const std::size_t &nSlices)
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Drift.
std::size_t getNSlices() const