19 #ifndef CLASSIC_CorrectorRep_HH
20 #define CLASSIC_CorrectorRep_HH
61 virtual double getBx()
const;
64 virtual double getBy()
const;
73 virtual void setBx(
double);
76 virtual void setBy(
double);
Interface for general corrector.
virtual double getBy() const
Get vertical field component in Teslas.
bool active
The active/inactive flag.
virtual double getBx() const
Get horizontal field component in Teslas.
virtual BDipoleField & getField()
Get corrector field.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
void operator=(const CorrectorRep &)
virtual void setBx(double)
Set horizontal field component in Teslas.
virtual void setBy(double)
Set vertical field component in Teslas.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual Plane getPlane() const
Get plane(s) of action.
BDipoleField field
The corrector strengths.
StraightGeometry geometry
The corrector geometry.
virtual void setActive(bool flag=true)
Set active flag.
virtual ElementBase * clone() const
Return clone.
A geometry representing a straight line.
Abstract interface for read/write access to variable.
The field of a magnetic dipole.