42 filename_m(right.filename_m),
43 scale_m(right.scale_m),
44 phase_m(right.phase_m),
45 frequency_m(right.frequency_m),
46 length_m(right.length_m),
122 Vector_t tmpE(0.0, 0.0, -1.0), tmpB(0.0, 0.0, 0.0);
149 Inform msg(
"ParallelPlate initialization for cyclotron tracker ");
153 msg <<
" Currently parallelplate initialization for cyclotron tracker is empty! " <<
endl;
ParticleAttrib< Vector_t > P
void setPhase(double phase)
Tps< T > sin(const Tps< T > &x)
Sine.
void setFrequency(double freq)
void getDimensions(double &zBegin, double &zEnd) const override
void setAmplitude(double vPeak)
constexpr double pi
The value of .
void setElType(ElemType elt)
set the element type as enumeration needed in the envelope tracker
virtual double getElementLength() const
Get design length.
PartBunchBase< double, 3 > * RefPartBunch_m
virtual bool applyToReferenceParticle(const Vector_t &R, const Vector_t &P, const double &t, Vector_t &E, Vector_t &B) override
virtual bool apply(const size_t &i, const double &t, Vector_t &E, Vector_t &B) override
virtual void accept(BeamlineVisitor &) const override
Apply visitor to ParallelPlate.
virtual bool bends() const override
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
double getAmplitude() const
ElementBase::ElementType getType() const override
Get element type std::string.
virtual void finalise() override
virtual void visitParallelPlate(const ParallelPlate &)=0
Apply the algorithm to an ParallelPlate.
Interface for a single beam element.
std::string getFieldMapFN() const
double getFrequency() const
Inform & endl(Inform &inf)