1 #ifndef CLASSIC_RFCavityRep_HH
2 #define CLASSIC_RFCavityRep_HH
102 static void setIgnore(
bool ignore =
false);
119 #endif // CLASSIC_RFCavityRep_HH
virtual void setPhase(double phi)
Set phase.
Interface for basic beam line object.
virtual void setAmplitude(double V)
Set amplitude.
void operator=(const RFCavityRep &)
virtual void setFrequency(double f)
Set frequency.
static void setIgnore(bool ignore=false)
Set ignore switch.
virtual double getPhase() const
Get phase.
Representation for a RF cavity.
virtual ElementBase * clone() const
Return clone.
AcceleratingField field
The cavity's field.
virtual ElementImage * getImage() const
Construct an image.
static bool ignoreCavities
Cavities are ignored (amplitude = 0) when this switch is set.
virtual double getAmplitude() const
Get amplitude.
virtual Channel * getChannel(const std::string &aKey, bool=false)
Construct a read/write channel.
A geometry representing a straight line.
Abstract interface for read/write access to variable.
virtual StraightGeometry & getGeometry()
Get geometry.
virtual AcceleratingField & getField()
Get field.
StraightGeometry geometry
The cavity's geometry.
virtual double getFrequency() const
Get frequency.