Class to hold Lorentz transformations from/to CMS and boost vector.
More...
#include <PCmsLabTransform.h>
|
| PCmsLabTransform () |
| Constructor.
|
|
B2Vector3D | getBoostVector () const |
| Returns boost vector (beta=p/E)
|
|
double | getCMSEnergy () const |
| Returns CMS energy of e+e- (aka.
|
|
ROOT::Math::PxPyPzEVector | getBeamFourMomentum () const |
| Returns LAB four-momentum of e+e-, i.e.
|
|
const ROOT::Math::LorentzRotation | rotateLabToCms () const |
| Returns Lorentz transformation from Lab to CMS.
|
|
const ROOT::Math::LorentzRotation | rotateCmsToLab () const |
| Returns Lorentz transformation from CMS to Lab.
|
|
|
static ROOT::Math::PxPyPzMVector | labToCms (const ROOT::Math::PxPyPzMVector &vec) |
| Transforms Lorentz vector into CM System.
|
|
static ROOT::Math::PxPyPzMVector | cmsToLab (const ROOT::Math::PxPyPzMVector &vec) |
| Transforms Lorentz vector into Laboratory System.
|
|
static ROOT::Math::PxPyPzEVector | labToCms (const ROOT::Math::PxPyPzEVector &vec) |
| Transforms Lorentz vector into CM System.
|
|
static ROOT::Math::PxPyPzEVector | cmsToLab (const ROOT::Math::PxPyPzEVector &vec) |
| Transforms Lorentz vector into Laboratory System.
|
|
Class to hold Lorentz transformations from/to CMS and boost vector.
Definition at line 30 of file PCmsLabTransform.h.
◆ cmsToLab() [1/2]
ROOT::Math::PxPyPzEVector cmsToLab |
( |
const ROOT::Math::PxPyPzEVector & |
vec | ) |
|
|
static |
Transforms Lorentz vector into Laboratory System.
- Parameters
-
vec | Lorentz vector in CM System |
- Returns
- Lorentz vector in Laboratory System
Definition at line 31 of file PCmsLabTransform.cc.
◆ cmsToLab() [2/2]
ROOT::Math::PxPyPzMVector cmsToLab |
( |
const ROOT::Math::PxPyPzMVector & |
vec | ) |
|
|
static |
Transforms Lorentz vector into Laboratory System.
- Parameters
-
vec | Lorentz vector in CM System |
- Returns
- Lorentz vector in Laboratory System
Definition at line 19 of file PCmsLabTransform.cc.
◆ getBeamFourMomentum()
ROOT::Math::PxPyPzEVector getBeamFourMomentum |
( |
| ) |
const |
|
inline |
Returns LAB four-momentum of e+e-, i.e.
pHER + pLER
Definition at line 58 of file PCmsLabTransform.h.
◆ getBoostVector()
◆ getCMSEnergy()
double getCMSEnergy |
( |
| ) |
const |
|
inline |
Returns CMS energy of e+e- (aka.
invariant mass in any system)
Definition at line 50 of file PCmsLabTransform.h.
◆ labToCms() [1/2]
ROOT::Math::PxPyPzEVector labToCms |
( |
const ROOT::Math::PxPyPzEVector & |
vec | ) |
|
|
static |
Transforms Lorentz vector into CM System.
- Parameters
-
vec | Lorentz vector in Laboratory System |
- Returns
- Lorentz vector in CM System
Definition at line 25 of file PCmsLabTransform.cc.
◆ labToCms() [2/2]
ROOT::Math::PxPyPzMVector labToCms |
( |
const ROOT::Math::PxPyPzMVector & |
vec | ) |
|
|
static |
Transforms Lorentz vector into CM System.
- Parameters
-
vec | Lorentz vector in Laboratory System |
- Returns
- Lorentz vector in CM System
Definition at line 13 of file PCmsLabTransform.cc.
◆ rotateCmsToLab()
const ROOT::Math::LorentzRotation rotateCmsToLab |
( |
| ) |
const |
|
inline |
Returns Lorentz transformation from CMS to Lab.
- Returns
- const reference to Lorentz rotation matrix
Definition at line 76 of file PCmsLabTransform.h.
◆ rotateLabToCms()
const ROOT::Math::LorentzRotation rotateLabToCms |
( |
| ) |
const |
|
inline |
Returns Lorentz transformation from Lab to CMS.
- Returns
- const reference to Lorentz rotation matrix
Definition at line 67 of file PCmsLabTransform.h.
68 {
70 }
static ROOT::Math::LorentzRotation rotateLabToCms(const ROOT::Math::XYZVector &boostVector, double cmsAngleXZ, double cmsAngleYZ)
Function takes 3D boostVector and angles of the HER momentum in the CM system obtained by pure boost.
◆ m_axisCmsDB
◆ m_boostVectorDB
◆ m_invariantMassDB
The documentation for this class was generated from the following files: