1 #ifndef BeamSpot_BeamSpot_h 2 #define BeamSpot_BeamSpot_h 68 double x(
const double z)
const {
return x0() +
dxdz() * (z -
z0()); }
70 double y(
const double z)
const {
return y0() +
dydz() * (z -
z0()); }
114 for (
int j = 0;
j < 3;
j++) {
115 for (
int k =
j;
k < 3;
k++) {
141 void print(std::stringstream&
ss)
const;
math::Error< dimension >::type CovarianceMatrix
double BeamWidthX() const
beam width X
double BeamWidthYError() const
error on beam width Y, assume error in X = Y
math::Error< dim3 >::type Covariance3DMatrix
void setbetaStar(double v)
const Point & position() const
position
CovarianceMatrix covariance() const
return full covariance matrix of dim 7
BeamSpot()
default constructor
double y(const double z) const
y coordinate of the beeam spot position at a given z value (it takes into account the dydz slope) ...
double x(const double z) const
x coordinate of the beeam spot position at a given z value (it takes into account the dxdz slope) ...
double x0Error() const
error on x
math::XYZPoint Point
point in the space
double dydz() const
dydz slope
void print(std::stringstream &ss) const
print information
CovarianceMatrix error_
errors
double z0Error() const
error on z
double emittanceY() const
double sigmaZ0Error() const
error on sigma z
void setType(BeamType type)
set beam type
double x0() const
x coordinate
std::ostream & operator<<(std::ostream &, BeamSpot beam)
void setBeamWidthY(double v)
void setEmittanceY(double v)
Covariance3DMatrix covariance3D() const
return only 3D position covariance matrix
double BeamWidthY() const
beam width Y
Covariance3DMatrix rotatedCovariance3D() const
double y0() const
y coordinate
BeamSpot(const Point &point, double sigmaZ, double dxdz, double dydz, double BeamWidthX, const CovarianceMatrix &error, BeamType type=Unknown)
constructor from values
double BeamWidthXError() const
error on beam width X, assume error in X = Y
double sigmaZ() const
sigma z
XYZPointD XYZPoint
point in space with cartesian internal representation
double emittanceX() const
additional information
double dxdz() const
dxdz slope
double covariance(int i, int j) const
(i,j)-th element of error matrix
double z0() const
z coordinate
void setBeamWidthX(double v)
Structure Point Contains parameters of Gaussian fits to DMRs.
math::Error< resdim >::type ResCovMatrix
double dydzError() const
error on dydz
double beamWidthFromBeta(double z, double e) const
void setEmittanceX(double v)
double dxdzError() const
error on dxdz
BeamType type() const
return beam type
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
double y0Error() const
error on y