1 #ifndef CLASSIC_Separator_HH
2 #define CLASSIC_Separator_HH
48 virtual double getEx()
const = 0;
51 virtual double getEy()
const = 0;
57 virtual bool bends()
const override;
61 virtual void getDimensions(
double &zBegin,
double &zEnd)
const override;
69 #endif // CLASSIC_Separator_HH
virtual ElementBase::ElementType getType() const override
Get element type std::string.
virtual void finalise() override
Interface for electrostatic separator.
virtual void getDimensions(double &zBegin, double &zEnd) const override
virtual bool bends() const override
virtual double getEx() const =0
Get horizontal component Ex of field in V/m.
virtual double getEy() const =0
Get vertical component Ey of field in V/m.
Interface for a single beam element.
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
void operator=(const Separator &)
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Separator.