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