This class contains the beam spot position and size modeled as a gaussian distribution in space.
More...
#include <BeamSpot.h>
|
| 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.
|
|
void | setIP (const ROOT::Math::XYZVector &ipPosition, const TMatrixDSym &covariance) |
| Set the IP position and its error matrix.
|
|
const ROOT::Math::XYZVector & | 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)
|
|
|
| ClassDef (BeamSpot, 3) |
| beam spot position and size
|
|
|
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.
|
|
TMatrixDSym | m_sizeCovMatrix |
| Size of the luminous region modeled with a three dimensional gaussian.
|
|
This class contains the beam spot position and size modeled as a gaussian distribution in space.
Definition at line 22 of file BeamSpot.h.
◆ 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
Definition at line 30 of file BeamSpot.h.
30 : m_IPPosition(),
31 m_IPPositionCovMatrix(3),
32 m_sizeCovMatrix(3)
33 { }
◆ ~BeamSpot()
◆ getCovVertex()
TMatrixDSym getCovVertex |
( |
| ) |
const |
|
inline |
Get the total covariance matrix of theIP position (for compatibility with BeamParameters)
Definition at line 85 of file BeamSpot.h.
86 {
87 return getSizeCovMatrix() + getIPPositionCovMatrix();
88 }
◆ getGlobalUniqueID()
static unsigned short getGlobalUniqueID |
( |
| ) |
|
|
inlinestatic |
Return unique ID of BeamSpot in global Millepede calibration (1)
Definition at line 91 of file BeamSpot.h.
◆ getIPPosition()
const ROOT::Math::XYZVector & getIPPosition |
( |
| ) |
const |
|
inline |
Get the IP position.
Definition at line 66 of file BeamSpot.h.
67 {
68 return m_IPPosition;
69 }
◆ getIPPositionCovMatrix()
const TMatrixDSym & getIPPositionCovMatrix |
( |
| ) |
const |
|
inline |
Get the covariance matrix of the measured IP position.
Definition at line 72 of file BeamSpot.h.
73 {
74 return m_IPPositionCovMatrix;
75 }
◆ getSizeCovMatrix()
const TMatrixDSym & getSizeCovMatrix |
( |
| ) |
const |
|
inline |
Get the covariance matrix of the size of the IP position modeled as a gaussian.
Definition at line 78 of file BeamSpot.h.
79 {
80 return m_sizeCovMatrix;
81 }
◆ operator==()
bool operator== |
( |
const BeamSpot & | b | ) |
const |
|
inline |
equality operator
Definition at line 40 of file BeamSpot.h.
41 {
42 return
43 b.m_IPPosition == m_IPPosition &&
44 b.m_IPPositionCovMatrix == m_IPPositionCovMatrix &&
45 b.m_sizeCovMatrix == m_sizeCovMatrix;
46 }
◆ setIP()
void setIP |
( |
const ROOT::Math::XYZVector & | ipPosition, |
|
|
const TMatrixDSym & | covariance ) |
|
inline |
Set the IP position and its error matrix.
- Parameters
-
ipPosition | position in basf2 units: cm |
covariance | covariance matrix of the vertex position. |
Definition at line 59 of file BeamSpot.h.
60 {
61 m_IPPosition = ipPosition;
62 m_IPPositionCovMatrix = covariance;
63 }
◆ 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.
51 {
52 m_sizeCovMatrix = size;
53 }
◆ m_IPPosition
ROOT::Math::XYZVector m_IPPosition |
|
private |
Beam spot position defined as the average position of the primary vertex.
Definition at line 97 of file BeamSpot.h.
◆ m_IPPositionCovMatrix
TMatrixDSym m_IPPositionCovMatrix |
|
private |
CovMatrix of the measured beam spot position.
Definition at line 100 of file BeamSpot.h.
◆ 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: