Abstract base class of all reference frames.
More...
#include <ReferenceFrame.h>
|
virtual ROOT::Math::XYZVector | getVertex (const ROOT::Math::XYZVector &vector) const =0 |
| Get vertex 3-vector in reference frame.
|
|
virtual ROOT::Math::XYZVector | getVertex (const Particle *particle) const |
| Wrapper for particles.
|
|
virtual ROOT::Math::PxPyPzEVector | getMomentum (const ROOT::Math::PxPyPzEVector &vector) const =0 |
| Get momentum 4-vector in reference frame.
|
|
virtual ROOT::Math::PxPyPzEVector | getMomentum (const Particle *particle) const |
| Wrapper for particles.
|
|
virtual TMatrixFSym | getMomentumErrorMatrix (const TMatrixFSym &matrix) const =0 |
| Get Momentum error matrix in reference frame.
|
|
virtual TMatrixFSym | getMomentumErrorMatrix (const Particle *particle) const |
| Wrapper for particles.
|
|
virtual TMatrixFSym | getVertexErrorMatrix (const TMatrixFSym &matrix) const =0 |
| Get Vertex error matrix in reference frame.
|
|
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.
|
|
Abstract base class of all reference frames.
Definition at line 29 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 |
|
inlinevirtual |
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]
virtual ROOT::Math::PxPyPzEVector getMomentum |
( |
const ROOT::Math::PxPyPzEVector & |
vector | ) |
const |
|
pure virtual |
◆ getMomentumErrorMatrix() [1/2]
virtual TMatrixFSym getMomentumErrorMatrix |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtual |
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]
virtual TMatrixFSym getMomentumErrorMatrix |
( |
const TMatrixFSym & |
matrix | ) |
const |
|
pure virtual |
◆ getVertex() [1/2]
virtual ROOT::Math::XYZVector getVertex |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtual |
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]
virtual ROOT::Math::XYZVector getVertex |
( |
const ROOT::Math::XYZVector & |
vector | ) |
const |
|
pure virtual |
◆ getVertexErrorMatrix() [1/2]
virtual TMatrixFSym getVertexErrorMatrix |
( |
const Particle * |
particle | ) |
const |
|
inlinevirtual |
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]
virtual TMatrixFSym getVertexErrorMatrix |
( |
const TMatrixFSym & |
matrix | ) |
const |
|
pure virtual |
◆ Pop()
◆ Push()
Push rest frame of given particle.
- Parameters
-
frame | Use this reference frame |
Definition at line 110 of file ReferenceFrame.h.
◆ UseReferenceFrame
◆ m_reference_frames
The documentation for this class was generated from the following files: