1 #ifndef CLASSIC_CorrectorRep_HH
2 #define CLASSIC_CorrectorRep_HH
73 virtual double getBx()
const;
76 virtual double getBy()
const;
85 virtual void setBx(
double);
88 virtual void setBy(
double);
117 #endif // CLASSIC_CorrectorRep_HH
Representation of a closed orbit corrector.
StraightGeometry geometry
The corrector geometry.
Interface for basic beam line object.
The field of a magnetic dipole.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
Interface for general corrector.
virtual ElementImage * getImage() const
Construct an image.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual double getBy() const
Get vertical field component in Teslas.
virtual ElementBase * makeFieldWrapper()
Allow field errors.
virtual Plane getPlane() const
Get plane(s) of action.
virtual double getBx() const
Get horizontal field component in Teslas.
BDipoleField field
The corrector strengths.
virtual ElementBase * clone() const
Return clone.
virtual BDipoleField & getField()
Get corrector field.
virtual void setBy(double)
Set vertical field component in Teslas.
A geometry representing a straight line.
Abstract interface for read/write access to variable.
void operator=(const CorrectorRep &)
virtual void setActive(bool flag=true)
Set active flag.
virtual void setBx(double)
Set horizontal field component in Teslas.
bool active
The active/inactive flag.