11#include <TMatrixDSym.h>
59 void setIP(
const TVector3& 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.
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.
BeamSpot()
default constructor IP position at the nominal origin error on the position 0 in all directions Lumin...
void setIP(const TVector3 &ipPosition, const TMatrixDSym &covariance)
Set the IP position and its error matrix.
bool operator==(const BeamSpot &b) const
equality operator
TVector3 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.
const TVector3 & getIPPosition() const
Get the IP position.
TMatrixDSym m_sizeCovMatrix
Size of the luminous region modeled with a three dimensional gaussian.
ClassDef(BeamSpot, 2)
beam spot position and size
Abstract base class for different kinds of events.