1 #ifndef _UTIL_DIMUON__H_
2 #define _UTIL_DIMUON__H_
16 void CalcVar(
const SQDimuon* dim,
double& mass,
double& pT,
double& x1,
double& x2,
double& xF);
17 void CalcVar(
const TLorentzVector& p_pos,
const TLorentzVector& p_neg,
double& mass,
double& pT,
double& x1,
double& x2,
double& xF);
19 void CalcVar(
const SQDimuon* dim,
double& mass,
double& pT,
double& x1,
double& x2,
double& xF,
double& costh,
double& phi);
20 void CalcVar(
const TLorentzVector& p_pos,
const TLorentzVector& p_neg,
double& mass,
double& pT,
double& x1,
double& x2,
double& xF,
double& costh,
double& phi);
23 void Lab2CollinsSoper(
const TLorentzVector& p1,
const TLorentzVector& p2,
double& costh,
double& phi);
24 void Lab2CollinsSoper(
const TVector3& p1,
const TVector3& p2,
double& costh,
double& phi);
26 const double px2,
const double py2,
const double pz2,
double& costh,
double& phi);
An SQ interface class to hold a list of SQDimuon objects.
An SQ interface class to hold one true or reconstructed dimuon.
void GetX1X2(const SQDimuon *dim, double &x1, double &x2)
OBSOLETE: Use CalcVar() instead.
SQDimuon * FindDimuonByID(const SQDimuonVector *vec, const int id_dim, const bool do_assert=false)
Find a dimuon by dimuon ID in the given dimuon list.
double GetX1(const SQDimuon *dim)
OBSOLETE: Use CalcVar() instead.
void CalcVar(const SQDimuon *dim, double &mass, double &pT, double &x1, double &x2, double &xF)
Calculate the key kinematic variables of dimuon.
double GetX2(const SQDimuon *dim)
OBSOLETE: Use CalcVar() instead.
void Lab2CollinsSoper(const SQDimuon *dim, double &costh, double &phi)
Convert the momenta of muon pair from Lab frame to Collins-Soper frame.