45 friend class ::Survey;
89 virtual std::vector<double>
103 virtual std::vector<double>
108 double getS(
const Row &,
int = 0,
int = 0)
const;
114 double getX(
const Row &,
int = 0,
int = 0)
const;
117 double getY(
const Row &,
int = 0,
int = 0)
const;
120 double getZ(
const Row &,
int = 0,
int = 0)
const;
123 double getPhi(
const Row &,
int = 0,
int = 0)
const;
126 double getTheta(
const Row &,
int = 0,
int = 0)
const;
129 double getPsi(
const Row &,
int = 0,
int = 0)
const;
133 double getW(
const Row &,
int i1,
int i2)
const;
188 #endif // OPAL_Survey_HH
static const int numColumns
Number of table columns.
std::vector< Cell > CellArray
An array of cell descriptors.
virtual void execute()
Check validity of survey definition.
virtual double getCell(const PlaceRep &row, const std::string &col)
Return a selected value in a selected row.
double getZ(const Row &, int=0, int=0) const
Z component of displacement.
virtual bool isDependent(const std::string &name) const
Find dependency.
Interface for basic beam line object.
TLine::const_iterator current
virtual bool matches(Table *rhs) const
Check compatibility.
virtual Survey * clone(const std::string &name)
Make clone.
Euclid3D euclid
The accumulated geometry transform.
const Euclid3D & getMap(const Row &) const
Position and orientation of local system.
virtual std::vector< double > getColumn(const RangeRep &range, const std::string &col)
Return column [b]col[/b] of this table, limited by [b]range[/b].
virtual CellArray getDefault() const
Return the default print columns.
double getPsi(const Row &, int=0, int=0) const
Rotation about Z.
The class for one row of the survey table.
Survey()
Exemplar constructor.
Representation of a place within a beam line or sequence.
double getX(const Row &, int=0, int=0) const
X component of displacement.
double getY(const Row &, int=0, int=0) const
Y component of displacement.
double getS() const
Return the accumulated length.
virtual std::vector< double > getRow(const PlaceRep &, const std::vector< std::string > &)
Return a table row, possible user-defined.
void operator=(const Survey &)
virtual const Beamline * getLine() const
Return embedded CLASSIC beamline.
Displacement and rotation in space.
double getW(const Row &, int i1, int i2) const
Local axis vectors.
const Row & getCurrent() const
Return current row of table.
double s
The accumulated length.
Representation of a range within a beam line or sequence.
An abstract sequence of beam line components.
double getPhi(const Row &, int=0, int=0) const
Rotation about X.
const Euclid3D & getMap() const
Return the accumulated geometry transform.
const Row & findRow(const PlaceRep &row)
double getTheta(const Row &, int=0, int=0) const
Rotation about Y.
virtual void fill()
Fill the buffer using the survey algorithm.
virtual Expressions::PtrToScalar< double > makeColumnExpression(const std::string &colName) const
Return column.
The base class for all OPAL tables.
virtual double getLength()
Return the length of the table.
virtual void printTable(std::ostream &, const CellArray &) const
Print list for the table.
double getS(const Row &, int=0, int=0) const
Arc length for given row.
A section of a beam line.