#include "TLorentzVector.h"
#include "TVector3.h"
Go to the source code of this file.
◆ CM_ENERGY
◆ calCSVariables()
void calCSVariables |
( |
TLorentzVector |
mu, |
|
|
TLorentzVector |
mubar, |
|
|
double * |
res, |
|
|
bool |
swap |
|
) |
| |
|
inline |
Definition at line 10 of file ColinsSoperVariables.h.
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);
References CM_ENERGY, amptDefaultParameters_cff::mu, RPCpg::mubar, BPhysicsValidation_cfi::muminus, BPhysicsValidation_cfi::muplus, funct::pow(), class-composition::Q, dttmaxenums::R, mathSSE::sqrt(), and edm::swap().
Referenced by ColinsSoperVariablesComputer::produce().