11#include <TMatrixDSym.h>
12#include <Math/Vector3D.h>
59 void setIP(
const ROOT::Math::XYZVector& ipPosition,
const TMatrixDSym& covariance)
This class contains the beam spot position and size modeled as a gaussian distribution in space.
static unsigned short getGlobalUniqueID()
Return unique ID of BeamSpot in global Millepede calibration (1)
void setSizeCovMatrix(const TMatrixDSym &size)
Set the covariance matrix of the size of the IP position.
void setIP(const ROOT::Math::XYZVector &ipPosition, const TMatrixDSym &covariance)
Set the IP position and its error matrix.
TMatrixDSym getCovVertex() const
Get the total covariance matrix of theIP position (for compatibility with BeamParameters)
const TMatrixDSym & getSizeCovMatrix() const
Get the covariance matrix of the size of the IP position modeled as a gaussian.
ClassDef(BeamSpot, 3)
beam spot position and size
BeamSpot()
default constructor IP position at the nominal origin error on the position 0 in all directions Lumin...
bool operator==(const BeamSpot &b) const
equality operator
ROOT::Math::XYZVector m_IPPosition
Beam spot position defined as the average position of the primary vertex.
TMatrixDSym m_IPPositionCovMatrix
CovMatrix of the measured beam spot position.
const TMatrixDSym & getIPPositionCovMatrix() const
Get the covariance matrix of the measured IP position.
TMatrixDSym m_sizeCovMatrix
Size of the luminous region modeled with a three dimensional gaussian.
const ROOT::Math::XYZVector & getIPPosition() const
Get the IP position.
Abstract base class for different kinds of events.