Belle II Software  release-08-01-10
BeamSpot Class Reference

This class contains the beam spot position and size modeled as a gaussian distribution in space. More...

#include <BeamSpot.h>

Inheritance diagram for BeamSpot:
Collaboration diagram for BeamSpot:

Public Member Functions

 BeamSpot ()
 default constructor IP position at the nominal origin error on the position 0 in all directions Luminous region size set to 0 in all directions
 
 ~BeamSpot ()
 Destructor.
 
bool operator== (const BeamSpot &b) const
 equality operator
 
void setSizeCovMatrix (const TMatrixDSym &size)
 Set the covariance matrix of the size of the IP position. More...
 
void setIP (const TVector3 &ipPosition, const TMatrixDSym &covariance)
 Set the IP position and its error matrix. More...
 
const TVector3 & getIPPosition () const
 Get the IP position.
 
const TMatrixDSym & getIPPositionCovMatrix () const
 Get the covariance matrix of the measured IP position.
 
const TMatrixDSym & getSizeCovMatrix () const
 Get the covariance matrix of the size of the IP position modeled as a gaussian.
 
TMatrixDSym getCovVertex () const
 Get the total covariance matrix of theIP position (for compatibility with BeamParameters)
 

Static Public Member Functions

static unsigned short getGlobalUniqueID ()
 Return unique ID of BeamSpot in global Millepede calibration (1)
 

Private Member Functions

 ClassDef (BeamSpot, 2)
 beam spot position and size
 

Private Attributes

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.
 
TMatrixDSym m_sizeCovMatrix
 Size of the luminous region modeled with a three dimensional gaussian. More...
 

Detailed Description

This class contains the beam spot position and size modeled as a gaussian distribution in space.

Definition at line 22 of file BeamSpot.h.

Member Function Documentation

◆ setIP()

void setIP ( const TVector3 &  ipPosition,
const TMatrixDSym &  covariance 
)
inline

Set the IP position and its error matrix.

Parameters
ipPositionposition in basf2 units: cm
covariancecovariance matrix of the vertex position.

Definition at line 59 of file BeamSpot.h.

60  {
61  m_IPPosition = ipPosition;
62  m_IPPositionCovMatrix = covariance;
63  }
TVector3 m_IPPosition
Beam spot position defined as the average position of the primary vertex.
Definition: BeamSpot.h:97
TMatrixDSym m_IPPositionCovMatrix
CovMatrix of the measured beam spot position.
Definition: BeamSpot.h:100

◆ setSizeCovMatrix()

void setSizeCovMatrix ( const TMatrixDSym &  size)
inline

Set the covariance matrix of the size of the IP position.

The upper triangle will be saved.

Definition at line 50 of file BeamSpot.h.

Member Data Documentation

◆ m_sizeCovMatrix

TMatrixDSym m_sizeCovMatrix
private

Size of the luminous region modeled with a three dimensional gaussian.

Covariance matrix

Definition at line 104 of file BeamSpot.h.


The documentation for this class was generated from the following file: