54 bool backBeam,
bool backTrack)
const {
57 getMap(ownMap, ref, backBeam, backTrack);
76 bool backBeam,
bool backTrack)
const {
79 getMap(ownMap, ref, backBeam, backTrack);
84 for(
unsigned int i = 0; i < bunch->
getLocalNum(); i++) {
99 bool backBeam,
bool backTrack)
const {
102 getMap(ownMap, ref, backBeam, backTrack);
double & py()
Get reference to vertical momentum (no dimension).
Interface for basic beam line object.
virtual void trackMap(FVps< double, 6 > &, const PartData &, bool revBeam, bool revTrack) const
Track a map.
double & x()
Get reference to horizontal position in m.
virtual void visitMapIntegrator(const MapIntegrator &)=0
Apply the algorithm to an integrator capable of mapping.
FVector< T, N > constantTerm() const
Extract the constant part of the map.
OpalParticle get_part(int ii)
virtual void getMap(FVps< double, 6 > &, const PartData &, bool revBeam, bool revTrack) const =0
virtual void trackBunch(PartBunchBase< double, 3 > *, const PartData &, bool revBeam, bool revTrack) const
Track a particle bunch.
virtual void accept(BeamlineVisitor &visitor) const
Apply visitor.
size_t getLocalNum() const
void set_part(FVector< double, 6 > z, int ii)
double & pt()
Get reference to relative momentum error (no dimension).
double & y()
Get reference to vertical displacement in m.
double & px()
Get reference to horizontal momentum (no dimension).
FVps substitute(const FMatrix< T, N, N > &M, int n) const
Substitute.
virtual void trackParticle(OpalParticle &part, const PartData &, bool revBeam, bool revTrack) const
Track a particle.