CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Private Member Functions | Private Attributes
TtFullLepKinSolver Class Reference

#include <TtFullLepKinSolver.h>

Classes

struct  NeutrinoSolution
 

Public Member Functions

TtDilepEvtSolution addKinSolInfo (TtDilepEvtSolution *asol)
 
NeutrinoSolution getNuSolution (const TLorentzVector &LV_l, const TLorentzVector &LV_l_, const TLorentzVector &LV_b, const TLorentzVector &LV_b_)
 
void SetConstraints (const double xx=0, const double yy=0)
 
 TtFullLepKinSolver ()
 default constructor More...
 
 TtFullLepKinSolver (const double, const double, const double, const std::vector< double > &, const double=80.4, const double=4.8)
 constructor with parameters to configure the top-mass scan and the neutrino spectrum More...
 
void useWeightFromMC (bool useMC)
 
 ~TtFullLepKinSolver ()
 destructor More...
 

Private Member Functions

int cubic (const double *c_coeff, double *c_sol) const
 
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)
 
int quartic (double *q_coeff, double *q_sol) const
 
double sqr (const double x) const
 
void SWAP (double &realone, double &realtwo) const
 
void TopRec (const TLorentzVector &al, const TLorentzVector &l, const TLorentzVector &b_al, const TLorentzVector &b_l, const double sol)
 
double WeightSolfromMC () const
 
double WeightSolfromShape () const
 use the parametrized event shape to obtain the solution weight. More...
 

Private Attributes

double C
 
double D
 
TF2 * EventShape_
 Event shape. More...
 
double F
 
TLorentzVector genLV_n
 provisional More...
 
TLorentzVector genLV_n_
 
double k16
 
double k26
 
double k36
 
double k46
 
double k51
 
double k56
 
double k61
 
TLorentzVector LV_n
 
TLorentzVector LV_n_
 
TLorentzVector LV_t
 
TLorentzVector LV_t_
 
TLorentzVector LV_tt_t
 
TLorentzVector LV_tt_t_
 
double m1
 
double m2
 
double m3
 
const double mb
 
const double mw
 
double n1
 
double n2
 
double n3
 
double pom
 
double pxmiss_
 
double pymiss_
 
const double topmass_begin
 
const double topmass_end
 
const double topmass_step
 
bool useMCforBest_
 flag to swith from WeightSolfromMC() to WeightSolfromShape() More...
 

Detailed Description

Definition at line 25 of file TtFullLepKinSolver.h.

Constructor & Destructor Documentation

TtFullLepKinSolver::TtFullLepKinSolver ( )

default constructor

Definition at line 4 of file TtFullLepKinSolver.cc.

TtFullLepKinSolver::TtFullLepKinSolver ( const double  b,
const double  e,
const double  s,
const std::vector< double > &  nupars,
const double  mW = 80.4,
const double  mB = 4.8 
)

constructor with parameters to configure the top-mass scan and the neutrino spectrum

Definition at line 19 of file TtFullLepKinSolver.cc.

TtFullLepKinSolver::~TtFullLepKinSolver ( )

destructor

Definition at line 35 of file TtFullLepKinSolver.cc.

Member Function Documentation

TtDilepEvtSolution TtFullLepKinSolver::addKinSolInfo ( TtDilepEvtSolution asol)

Definition at line 40 of file TtFullLepKinSolver.cc.

int TtFullLepKinSolver::cubic ( const double *  c_coeff,
double *  c_sol 
) const
private

Definition at line 375 of file TtFullLepKinSolver.cc.

void TtFullLepKinSolver::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 
)
private

Definition at line 174 of file TtFullLepKinSolver.cc.

TtFullLepKinSolver::NeutrinoSolution TtFullLepKinSolver::getNuSolution ( const TLorentzVector &  LV_l,
const TLorentzVector &  LV_l_,
const TLorentzVector &  LV_b,
const TLorentzVector &  LV_b_ 
)

Definition at line 138 of file TtFullLepKinSolver.cc.

int TtFullLepKinSolver::quartic ( double *  q_coeff,
double *  q_sol 
) const
private

Definition at line 315 of file TtFullLepKinSolver.cc.

void TtFullLepKinSolver::SetConstraints ( const double  xx = 0,
const double  yy = 0 
)

Definition at line 131 of file TtFullLepKinSolver.cc.

double TtFullLepKinSolver::sqr ( const double  x) const
inlineprivate

Definition at line 78 of file TtFullLepKinSolver.h.

78 {return (x*x);}
void TtFullLepKinSolver::SWAP ( double &  realone,
double &  realtwo 
) const
private

Definition at line 453 of file TtFullLepKinSolver.cc.

void TtFullLepKinSolver::TopRec ( const TLorentzVector &  al,
const TLorentzVector &  l,
const TLorentzVector &  b_al,
const TLorentzVector &  b_l,
const double  sol 
)
private

Definition at line 268 of file TtFullLepKinSolver.cc.

void TtFullLepKinSolver::useWeightFromMC ( bool  useMC)
inline

Definition at line 44 of file TtFullLepKinSolver.h.

References PatBasicFWLiteJetAnalyzer_Selector_cfg::useMC, and useMCforBest_.

44 { useMCforBest_ = useMC; }
bool useMCforBest_
flag to swith from WeightSolfromMC() to WeightSolfromShape()
double TtFullLepKinSolver::WeightSolfromMC ( ) const
private

Definition at line 300 of file TtFullLepKinSolver.cc.

double TtFullLepKinSolver::WeightSolfromShape ( ) const
private

use the parametrized event shape to obtain the solution weight.

Definition at line 309 of file TtFullLepKinSolver.cc.

Member Data Documentation

double TtFullLepKinSolver::C
private

Definition at line 96 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::D
private

Definition at line 97 of file TtFullLepKinSolver.h.

TF2* TtFullLepKinSolver::EventShape_
private

Event shape.

Definition at line 122 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::F
private

Definition at line 98 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::genLV_n
private

provisional

Definition at line 117 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::genLV_n_
private

Definition at line 117 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k16
private

Definition at line 100 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k26
private

Definition at line 101 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k36
private

Definition at line 102 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k46
private

Definition at line 103 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k51
private

Definition at line 105 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k56
private

Definition at line 104 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::k61
private

Definition at line 106 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::LV_n
private

Definition at line 115 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::LV_n_
private

Definition at line 115 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::LV_t
private

Definition at line 115 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::LV_t_
private

Definition at line 115 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::LV_tt_t
private

Definition at line 115 of file TtFullLepKinSolver.h.

TLorentzVector TtFullLepKinSolver::LV_tt_t_
private

Definition at line 115 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::m1
private

Definition at line 107 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::m2
private

Definition at line 108 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::m3
private

Definition at line 109 of file TtFullLepKinSolver.h.

const double TtFullLepKinSolver::mb
private

Definition at line 92 of file TtFullLepKinSolver.h.

const double TtFullLepKinSolver::mw
private

Definition at line 90 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::n1
private

Definition at line 110 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::n2
private

Definition at line 111 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::n3
private

Definition at line 112 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::pom
private

Definition at line 99 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::pxmiss_
private

Definition at line 94 of file TtFullLepKinSolver.h.

double TtFullLepKinSolver::pymiss_
private

Definition at line 94 of file TtFullLepKinSolver.h.

const double TtFullLepKinSolver::topmass_begin
private

Definition at line 84 of file TtFullLepKinSolver.h.

const double TtFullLepKinSolver::topmass_end
private

Definition at line 86 of file TtFullLepKinSolver.h.

const double TtFullLepKinSolver::topmass_step
private

Definition at line 88 of file TtFullLepKinSolver.h.

bool TtFullLepKinSolver::useMCforBest_
private

flag to swith from WeightSolfromMC() to WeightSolfromShape()

Definition at line 120 of file TtFullLepKinSolver.h.

Referenced by useWeightFromMC().