NAGASH 0.9.8
Next Generation Analysis System
|
Provide some static functions to calculate kinematic variables. More...
#include "NAGASH/Kinematics.h"
Public Member Functions | |
Kinematics (std::shared_ptr< MSGTool > MSG) | |
Static Public Member Functions | |
static double | CosthStar (const TLorentzVector &Lepton, const TLorentzVector &AntiLepton) |
Calculate the Collins-Soper angle of a two-particle-system. | |
static double | DeltaPhi (double, double) |
Calculate the \(\Delta\phi\) between two angles. | |
static double | DeltaR (double, double, double, double) |
Calculate the \(\Delta R\) between two particles. | |
static std::vector< double > | GetAiPolynominals (double costh, double phi) |
Calculate angular terms corresponding to each angular coefficient. | |
static void | GetAiPolynominals (double costh, double phi, std::vector< double > &aipols) |
Calculate angular terms corresponding to each angular coefficient. | |
static void | GetBDFAngles (const TLorentzVector &tlv1, const int &charge1, const TLorentzVector &tlv2, double &costh, double &phi) |
Calculate the decay angles in the Beam Direction Frame. | |
static void | GetCSFAngles (const TLorentzVector &lep1, const int &charge1, const TLorentzVector &lep2, double ebeam, double &costh, double &phi) |
Calculate the decay angles in the Collins-Soper Frame. | |
static void | GetProjections (const TLorentzVector &proj, const TLorentzVector &axis, double &par, double &perp) |
Get the parallel and perpendicular components of a vector corresponding to an axis. | |
static void | GetVHFAngles (const TLorentzVector &lep1, const int &charge1, const TLorentzVector &lep2, double &costh, double &phi) |
Calculate the decay angles in the Vector Boson Helicity Frame. | |
static double | MT (const TLorentzVector &l1, const TLorentzVector &l2) |
Calculate the transverse momentum of a two-particle-system. | |
static double | SumAiPolynominals (std::vector< double > &ai, std::vector< double > &aimom) |
Calculate the angular polynomials. | |
Additional Inherited Members | |
![]() | |
Tool ()=delete | |
Tool (const Tool &tool)=delete | |
Tool (std::shared_ptr< MSGTool > MSG) | |
Constructor. | |
Tool (Tool &&tool)=delete | |
virtual | ~Tool ()=default |
std::shared_ptr< MSGTool > | MSGUser () |
return the MSGTool inside. | |
Tool & | operator= (const Tool &tool)=delete |
Tool & | operator= (Tool &&tool)=delete |
Provide some static functions to calculate kinematic variables.
Definition at line 16 of file Kinematics.h.
|
inline |
Definition at line 19 of file Kinematics.h.
|
inlinestatic |
Calculate the Collins-Soper angle of a two-particle-system.
Lepton | four-vector of the lepton. |
AntiLepton | four-vector of the anti-lepton. |
Definition at line 50 of file Kinematics.h.
|
inlinestatic |
Calculate the \(\Delta\phi\) between two angles.
phi1 | angle 1. |
phi2 | angle 2. |
Definition at line 107 of file Kinematics.h.
|
inlinestatic |
Calculate the \(\Delta R\) between two particles.
eta1 | the \(\eta\) of the first particle. |
phi1 | the \(\phi\) of the first particle. |
eta2 | the \(\eta\) of the second particle. |
phi2 | the \(\phi\) of the second particle. |
Definition at line 98 of file Kinematics.h.
|
static |
Calculate angular terms corresponding to each angular coefficient.
[in] | costh | Cosine value of the decay angle. |
[in] | phi | Phi value of the decay angle. |
Definition at line 119 of file Kinematics.cxx.
|
static |
Calculate angular terms corresponding to each angular coefficient.
[in] | costh | Cosine value of the decay angle. |
[in] | phi | Phi value of the decay angle. |
[out] | aipols | Output terms in the form of a vector. |
Definition at line 91 of file Kinematics.cxx.
|
static |
Calculate the decay angles in the Beam Direction Frame.
[in] | lep1 | four-vector of lepton one. |
[in] | charge1 | charge of lepton one. |
[in] | lep2 | four-vector of lepton two. |
[out] | costh | \(\cos\theta_{BD}\). |
[out] | phi | \(\phi_{BD}\). |
Definition at line 56 of file Kinematics.cxx.
|
static |
Calculate the decay angles in the Collins-Soper Frame.
[in] | lep1 | four-vector of lepton one. |
[in] | charge1 | charge of lepton one. |
[in] | lep2 | four-vector of lepton two. |
[in] | ebeam | energy of the beam. |
[out] | costh | \(\cos\theta_{CS}\). |
[out] | phi | \(\phi_{CS}\). |
Definition at line 13 of file Kinematics.cxx.
|
inlinestatic |
Get the parallel and perpendicular components of a vector corresponding to an axis.
[in] | proj | the vector to be projected. |
[in] | axis | the axis. |
[out] | par | the parallel component of the vector. |
[out] | perp | the perpendicular component of the vector. |
Definition at line 70 of file Kinematics.h.
|
static |
Calculate the decay angles in the Vector Boson Helicity Frame.
[in] | lep1 | four-vector of lepton one. |
[in] | charge1 | charge of lepton one. |
[in] | lep2 | four-vector of lepton two. |
[out] | costh | \(\cos\theta_{VH}\). |
[out] | phi | \(\phi_{VH}\). |
Definition at line 74 of file Kinematics.cxx.
|
inlinestatic |
Calculate the transverse momentum of a two-particle-system.
l1 | four-vector of particle one. |
l2 | four-vector particle two. |
Definition at line 41 of file Kinematics.h.
|
inlinestatic |
Calculate the angular polynomials.
ai | the \(A_i\)s |
aimom | the value of each angular term. |
Definition at line 80 of file Kinematics.h.