52 bool operator < (
const Ray &b)
const 54 return (energy < b.energy);
77 void setBeam(
const std::vector<double> & energy, \
78 const std::vector<double> & weight = std::vector<double>(),\
79 const std::vector<int> & characteristic = std::vector<int>(),\
80 const std::vector<double> & divergency = std::vector<double>());
82 friend std::ostream& operator<< (std::ostream& o,
Beam const & beam);
88 void setBeam(
const int & nValues,
const double *energy,
const double *weight = NULL,
89 const int *characteristic = NULL,
const double *divergency = NULL);
91 void setBeam(
const int & nValues,
const double *energy,
const double *weight = NULL,
92 const double *characteristic = NULL,
const double *divergency = NULL);
94 void setBeam(
const double & energy,
const double divergency = 0.0);
99 const std::vector<Ray> & getBeam();
110 std::vector<std::vector<double> > getBeamAsDoubleVectors()
const;
114 void normalizeBeam(
void);
115 std::vector<Ray> rays;
Class describing an X-ray beam.
Definition: fisx_beam.h:65
Definition: fisx_element.cpp:34
Definition: fisx_beam.h:37