Go to the documentation of this file. 1 #ifndef TtFullLepKinSolver_h
2 #define TtFullLepKinSolver_h
7 #include "TLorentzVector.h"
38 const double,
const double,
const double,
const std::vector<double>&,
const double = 80.4,
const double = 4.8);
50 const TLorentzVector& LV_l_,
51 const TLorentzVector& LV_b,
52 const TLorentzVector& LV_b_);
57 const TLorentzVector&
l,
58 const TLorentzVector& b_al,
59 const TLorentzVector& b_l,
66 void TopRec(
const TLorentzVector& al,
67 const TLorentzVector&
l,
68 const TLorentzVector& b_al,
69 const TLorentzVector& b_l,
76 int quartic(
double* q_coeff,
double* q_sol)
const;
78 int cubic(
const double* c_coeff,
double* c_sol)
const;
80 double sqr(
const double x)
const {
return (
x *
x); }
82 void SWAP(
double& realone,
double& realtwo)
const;
~TtFullLepKinSolver()
destructor
const double topmass_begin
double sqr(const double x) const
TtDilepEvtSolution addKinSolInfo(TtDilepEvtSolution *asol)
void useWeightFromMC(bool useMC)
void SetConstraints(const double xx=0, const double yy=0)
reco::LeafCandidate neutrino
bool useMCforBest_
flag to swith from WeightSolfromMC() to WeightSolfromShape()
void FindCoeff(const TLorentzVector &al, const TLorentzVector &l, const TLorentzVector &b_al, const TLorentzVector &b_l, const double mt, const double mat, const double pxboost, const double pyboost, double *q_coeff)
NeutrinoSolution getNuSolution(const TLorentzVector &LV_l, const TLorentzVector &LV_l_, const TLorentzVector &LV_b, const TLorentzVector &LV_b_)
double WeightSolfromMC() const
int quartic(double *q_coeff, double *q_sol) const
TtFullLepKinSolver()
default constructor
reco::LeafCandidate neutrinoBar
void TopRec(const TLorentzVector &al, const TLorentzVector &l, const TLorentzVector &b_al, const TLorentzVector &b_l, const double sol)
int cubic(const double *c_coeff, double *c_sol) const
void SWAP(double &realone, double &realtwo) const
TLorentzVector genLV_n
provisional
const double topmass_step
double WeightSolfromShape() const
use the parametrized event shape to obtain the solution weight.
TF2 * EventShape_
Event shape.