#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... | |
Definition at line 25 of file TtFullLepKinSolver.h.
TtFullLepKinSolver::TtFullLepKinSolver | ( | ) |
default constructor
Definition at line 4 of file TtFullLepKinSolver.cc.
References EventShape_.
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.
References EventShape_.
TtFullLepKinSolver::~TtFullLepKinSolver | ( | ) |
TtDilepEvtSolution TtFullLepKinSolver::addKinSolInfo | ( | TtDilepEvtSolution * | asol | ) |
Definition at line 40 of file TtFullLepKinSolver.cc.
References reco::LeafCandidate::energy(), FindCoeff(), genLV_n, genLV_n_, TtDilepEvtSolution::getCalJetB(), TtDilepEvtSolution::getCalJetBbar(), TtDilepEvtSolution::getElectronm(), TtDilepEvtSolution::getElectronp(), TtDilepEvtSolution::getGenN(), TtDilepEvtSolution::getGenNbar(), TtDilepEvtSolution::getMuonm(), TtDilepEvtSolution::getMuonp(), TtDilepEvtSolution::getTaum(), TtDilepEvtSolution::getTaup(), TtDilepEvtSolution::getWmDecay(), TtDilepEvtSolution::getWpDecay(), reco::LeafCandidate::px(), pxmiss_, reco::LeafCandidate::py(), pymiss_, reco::LeafCandidate::pz(), quartic(), TtDilepEvtSolution::setRecTopMass(), TtDilepEvtSolution::setRecWeightMax(), topmass_begin, topmass_end, topmass_step, TopRec(), useMCforBest_, histoStyle::weight, WeightSolfromMC(), and WeightSolfromShape().
Referenced by TtDilepEvtSolutionMaker::produce().
|
private |
Definition at line 375 of file TtFullLepKinSolver.cc.
References funct::cos(), h, i, AlCaHLTBitMon_ParallelJobs::p, phi, Pi, lumiQueryAPI::q, sqr(), mathSSE::sqrt(), SWAP(), and w.
Referenced by quartic().
|
private |
Definition at line 174 of file TtFullLepKinSolver.cc.
References C, D, F, k16, relval_steps::k2, k26, k36, k46, k51, k56, k61, m1, m2, m3, mb, mw, n1, n2, n3, pom, funct::pow(), and sqr().
Referenced by addKinSolInfo(), and getNuSolution().
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.
References FindCoeff(), LV_n, LV_n_, TtFullLepKinSolver::NeutrinoSolution::neutrino, TtFullLepKinSolver::NeutrinoSolution::neutrinoBar, pxmiss_, pymiss_, quartic(), topmass_begin, topmass_end, topmass_step, TopRec(), TtFullLepKinSolver::NeutrinoSolution::weight, histoStyle::weight, and WeightSolfromShape().
Referenced by TtFullLepKinSolutionProducer::produce().
|
private |
Definition at line 315 of file TtFullLepKinSolver.cc.
References EnergyCorrector::c, cubic(), h, i, sqr(), mathSSE::sqrt(), edmStreamStallGrapher::t, w, and detailsBasic3DVector::z.
Referenced by addKinSolInfo(), and getNuSolution().
void TtFullLepKinSolver::SetConstraints | ( | const double | xx = 0 , |
const double | yy = 0 |
||
) |
Definition at line 131 of file TtFullLepKinSolver.cc.
References pxmiss_, and pymiss_.
Referenced by TtDilepEvtSolutionMaker::produce(), and TtFullLepKinSolutionProducer::produce().
|
inlineprivate |
Definition at line 78 of file TtFullLepKinSolver.h.
Referenced by cubic(), FindCoeff(), and quartic().
|
private |
Definition at line 453 of file TtFullLepKinSolver.cc.
References printConversionInfo::aux.
Referenced by cubic().
|
private |
|
inline |
Definition at line 44 of file TtFullLepKinSolver.h.
References PatBasicFWLiteJetAnalyzer_Selector_cfg::useMC, and useMCforBest_.
Referenced by TtDilepEvtSolutionMaker::produce().
|
private |
Definition at line 300 of file TtFullLepKinSolver.cc.
References genLV_n, genLV_n_, LV_n, LV_n_, and histoStyle::weight.
Referenced by addKinSolInfo().
|
private |
use the parametrized event shape to obtain the solution weight.
Definition at line 309 of file TtFullLepKinSolver.cc.
References EventShape_, LV_n, and LV_n_.
Referenced by addKinSolInfo(), and getNuSolution().
|
private |
Definition at line 96 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 97 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Event shape.
Definition at line 122 of file TtFullLepKinSolver.h.
Referenced by TtFullLepKinSolver(), WeightSolfromShape(), and ~TtFullLepKinSolver().
|
private |
Definition at line 98 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
provisional
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and WeightSolfromMC().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and WeightSolfromMC().
|
private |
Definition at line 100 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 101 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 102 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 103 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 105 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 104 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 106 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 115 of file TtFullLepKinSolver.h.
Referenced by getNuSolution(), TopRec(), WeightSolfromMC(), and WeightSolfromShape().
|
private |
Definition at line 115 of file TtFullLepKinSolver.h.
Referenced by getNuSolution(), TopRec(), WeightSolfromMC(), and WeightSolfromShape().
|
private |
Definition at line 115 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 115 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 115 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 115 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 107 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 108 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 109 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 92 of file TtFullLepKinSolver.h.
Referenced by FindCoeff().
|
private |
Definition at line 90 of file TtFullLepKinSolver.h.
Referenced by FindCoeff().
|
private |
Definition at line 110 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 111 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 112 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 99 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 94 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and SetConstraints().
|
private |
Definition at line 94 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and SetConstraints().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and getNuSolution().
|
private |
Definition at line 86 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and getNuSolution().
|
private |
Definition at line 88 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and getNuSolution().
|
private |
flag to swith from WeightSolfromMC() to WeightSolfromShape()
Definition at line 120 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and useWeightFromMC().