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