#include "TLorentzVector.h"
#include "TVector3.h"
Go to the source code of this file.
void calCSVariables |
( |
TLorentzVector |
mu, |
|
|
TLorentzVector |
mubar, |
|
|
double * |
res, |
|
|
bool |
swap |
|
) |
| |
|
inline |
Definition at line 10 of file ColinsSoperVariables.h.
References CM_ENERGY, funct::pow(), dttmaxenums::R, and mathSSE::sqrt().
Referenced by ColinsSoperVariablesComputer::produce().
23 double muplus = 1.0 /
sqrt(2.0) * (
mu.E() +
mu.Z());
24 double muminus = 1.0 /
sqrt(2.0) * (
mu.E() -
mu.Z());
30 2.0 / Q.Mag() /
sqrt(
pow(Q.Mag(), 2) +
pow(Q.Pt(), 2)) * (muplus * mubarminus - muminus * mubarplus);
40 double dt_qt =
D.X() * Q.X() +
D.Y() * Q.Y();
42 pow(
D.Pt() / Q.Mag(), 2) - 1.0 /
pow(Q.Mag(), 2) / (
pow(Q.Mag(), 2) +
pow(Q.Pt(), 2)) *
pow(dt_qt, 2);
50 TVector3
R = Pbeam.Vect().Cross(Q.Vect());
51 TVector3 Runit = R.Unit();
54 TVector3 Qt = Q.Vect();
56 TVector3 Qtunit = Qt.Unit();
58 TVector3 Dt =
D.Vect();
60 double tanphi =
sqrt(
pow(Q.Mag(), 2) +
pow(Q.Pt(), 2)) / Q.Mag() * Dt.Dot(Runit) / Dt.Dot(Qtunit);
void swap(Association< C > &lhs, Association< C > &rhs)
DecomposeProduct< arg, typename Div::arg > D
Power< A, B >::type pow(const A &a, const B &b)