Lab frame.
More...
#include <ReferenceFrame.h>
|
virtual ROOT::Math::XYZVector | getVertex (const ROOT::Math::XYZVector &vector) const override |
| Get vertex 3-vector in lab frame.
|
|
virtual ROOT::Math::PxPyPzEVector | getMomentum (const ROOT::Math::PxPyPzEVector &vector) const override |
| Get Lorentz vector in lab frame.
|
|
virtual TMatrixFSym | getMomentumErrorMatrix (const TMatrixFSym &matrix) const override |
| Get Momentum error matrix in lab frame.
|
|
virtual TMatrixFSym | getVertexErrorMatrix (const TMatrixFSym &matrix) const override |
| Get Vertex error matrix in lab frame.
|
|
virtual ROOT::Math::XYZVector | getVertex (const Particle *particle) const |
| Wrapper for particles.
|
|
virtual ROOT::Math::PxPyPzEVector | getMomentum (const Particle *particle) const |
| Wrapper for particles.
|
|
virtual TMatrixFSym | getMomentumErrorMatrix (const Particle *particle) const |
| Wrapper for particles.
|
|
virtual TMatrixFSym | getVertexErrorMatrix (const Particle *particle) const |
| Wrapper for particles.
|
|
|
static void | Push (const ReferenceFrame *frame) |
| Push rest frame of given particle.
|
|
static void | Pop () |
| Pop current rest frame.
|
|
Lab frame.
Definition at line 178 of file ReferenceFrame.h.
◆ GetCurrent()
Get current rest frame.
- Returns
- RestFrame
Definition at line 26 of file ReferenceFrame.cc.
27{
30 return _default;
31 } else {
33 }
34}
static std::stack< const ReferenceFrame * > m_reference_frames
Stack of current rest frames.
◆ getMomentum() [1/2]
virtual ROOT::Math::PxPyPzEVector getMomentum |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtualinherited |
Wrapper for particles.
- Parameters
-
- Returns
- momentum 4-vector in reference frame
Definition at line 60 of file ReferenceFrame.h.
61 {
63 }
virtual ROOT::Math::PxPyPzEVector getMomentum(const ROOT::Math::PxPyPzEVector &vector) const =0
Get momentum 4-vector in reference frame.
◆ getMomentum() [2/2]
ROOT::Math::PxPyPzEVector getMomentum |
( |
const ROOT::Math::PxPyPzEVector & |
vector | ) |
const |
|
overridevirtual |
Get Lorentz vector in lab frame.
- Parameters
-
vector | Lorentz vector from particle |
- Returns
- Lorentz vector in lab frame
Implements ReferenceFrame.
Definition at line 95 of file ReferenceFrame.cc.
96{
97 return vector;
98}
◆ getMomentumErrorMatrix() [1/2]
virtual TMatrixFSym getMomentumErrorMatrix |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtualinherited |
Wrapper for particles.
- Parameters
-
- Returns
- Covariance matrix in reference frame
Definition at line 77 of file ReferenceFrame.h.
78 {
80 }
virtual TMatrixFSym getMomentumErrorMatrix(const TMatrixFSym &matrix) const =0
Get Momentum error matrix in reference frame.
◆ getMomentumErrorMatrix() [2/2]
TMatrixFSym getMomentumErrorMatrix |
( |
const TMatrixFSym & |
matrix | ) |
const |
|
overridevirtual |
Get Momentum error matrix in lab frame.
- Parameters
-
matrix | Covariance matrix from particle |
- Returns
- Covariance matrix in lab frame
Implements ReferenceFrame.
Definition at line 100 of file ReferenceFrame.cc.
101{
102 return matrix;
103}
◆ getVertex() [1/2]
virtual ROOT::Math::XYZVector getVertex |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtualinherited |
Wrapper for particles.
- Parameters
-
- Returns
- 3-vector in reference frame
Definition at line 43 of file ReferenceFrame.h.
44 {
46 }
virtual ROOT::Math::XYZVector getVertex(const ROOT::Math::XYZVector &vector) const =0
Get vertex 3-vector in reference frame.
◆ getVertex() [2/2]
ROOT::Math::XYZVector getVertex |
( |
const ROOT::Math::XYZVector & |
vector | ) |
const |
|
overridevirtual |
Get vertex 3-vector in lab frame.
- Parameters
-
vector | 3-vector from particle |
- Returns
- 3-vector in lab frame
Implements ReferenceFrame.
Definition at line 90 of file ReferenceFrame.cc.
91{
92 return vector;
93}
◆ getVertexErrorMatrix() [1/2]
virtual TMatrixFSym getVertexErrorMatrix |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtualinherited |
Wrapper for particles.
- Parameters
-
- Returns
- Covariance matrix in reference frame
Definition at line 94 of file ReferenceFrame.h.
95 {
97 }
virtual TMatrixFSym getVertexErrorMatrix(const TMatrixFSym &matrix) const =0
Get Vertex error matrix in reference frame.
◆ getVertexErrorMatrix() [2/2]
TMatrixFSym getVertexErrorMatrix |
( |
const TMatrixFSym & |
matrix | ) |
const |
|
overridevirtual |
Get Vertex error matrix in lab frame.
- Parameters
-
matrix | Covariance matrix from particle |
- Returns
- Covariance matrix in lab frame
Implements ReferenceFrame.
Definition at line 105 of file ReferenceFrame.cc.
106{
107 return matrix;
108}
◆ Pop()
|
inlinestaticprivateinherited |
◆ Push()
|
inlinestaticprivateinherited |
Push rest frame of given particle.
- Parameters
-
frame | Use this reference frame |
Definition at line 110 of file ReferenceFrame.h.
◆ m_reference_frames
The documentation for this class was generated from the following files: