#include <TtFullLepKinSolver.h>
Classes | |
struct | NeutrinoSolution |
Public Member Functions | |
TtDilepEvtSolution | addKinSolInfo (TtDilepEvtSolution *asol) |
NeutrinoSolution | getNuSolution (TLorentzVector LV_l, TLorentzVector LV_l_, TLorentzVector LV_b, TLorentzVector LV_b_) |
void | SetConstraints (double xx=0, double yy=0) |
TtFullLepKinSolver () | |
TtFullLepKinSolver (double, double, double, std::vector< double >) | |
void | useWeightFromMC (bool useMC) |
~TtFullLepKinSolver () | |
Private Member Functions | |
int | cubic (double *c_coeff, double *c_sol) |
void | FindCoeff (const TLorentzVector al, const TLorentzVector l, const TLorentzVector b_al, const TLorentzVector b_l, double mt, double mat, double pxboost, double pyboost, double *q_coeff) |
int | quartic (double *q_coeff, double *q_sol) |
double | sqr (double x) |
void | SWAP (double &realone, double &realtwo) |
void | TopRec (const TLorentzVector al, const TLorentzVector l, const TLorentzVector b_al, const TLorentzVector b_l, double sol) |
double | WeightSolfromMC () |
double | WeightSolfromShape () |
Private Attributes | |
double | C |
double | D |
TF2 * | EventShape_ |
double | F |
TLorentzVector | genLV_n |
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 |
double | mab |
double | maw |
double | mb |
double | mw |
double | n1 |
double | n2 |
double | n3 |
double | pom |
double | pxmiss_ |
double | pymiss_ |
double | topmass_begin |
double | topmass_end |
double | topmass_step |
bool | useMCforBest_ |
Definition at line 13 of file TtFullLepKinSolver.h.
TtFullLepKinSolver::TtFullLepKinSolver | ( | ) |
Definition at line 5 of file TtFullLepKinSolver.cc.
References EventShape_.
TtFullLepKinSolver::TtFullLepKinSolver | ( | double | b, |
double | e, | ||
double | s, | ||
std::vector< double > | nupars | ||
) |
Definition at line 13 of file TtFullLepKinSolver.cc.
References b, EventShape_, mab, maw, mb, mw, pxmiss_, pymiss_, asciidump::s, topmass_begin, topmass_end, and topmass_step.
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_, CommonMethods::weight(), WeightSolfromMC(), and WeightSolfromShape().
Referenced by TtDilepEvtSolutionMaker::produce().
|
private |
Definition at line 378 of file TtFullLepKinSolver.cc.
References funct::cos(), h, i, L1TEmulatorMonitor_cff::p, phi, Pi, lumiQueryAPI::q, sqr(), mathSSE::sqrt(), and SWAP().
Referenced by quartic().
|
private |
Definition at line 171 of file TtFullLepKinSolver.cc.
References C, D, F, k16, k26, k36, k46, k51, k56, k61, m1, m2, m3, mab, maw, mb, mw, n1, n2, n3, pom, funct::pow(), and sqr().
Referenced by addKinSolInfo(), and getNuSolution().
TtFullLepKinSolver::NeutrinoSolution TtFullLepKinSolver::getNuSolution | ( | TLorentzVector | LV_l, |
TLorentzVector | LV_l_, | ||
TLorentzVector | LV_b, | ||
TLorentzVector | LV_b_ | ||
) |
Definition at line 136 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, CommonMethods::weight(), and WeightSolfromShape().
Referenced by TtFullLepKinSolutionProducer::produce().
|
private |
Definition at line 317 of file TtFullLepKinSolver.cc.
References trackerHits::c, cubic(), debug_cff::d0, debug_cff::d1, h, i, sqr(), mathSSE::sqrt(), matplotRender::t, and detailsBasic3DVector::z.
Referenced by addKinSolInfo(), and getNuSolution().
void TtFullLepKinSolver::SetConstraints | ( | double | xx = 0 , |
double | yy = 0 |
||
) |
Definition at line 130 of file TtFullLepKinSolver.cc.
References pxmiss_, and pymiss_.
Referenced by TtDilepEvtSolutionMaker::produce(), and TtFullLepKinSolutionProducer::produce().
|
inlineprivate |
Definition at line 55 of file TtFullLepKinSolver.h.
Referenced by cubic(), FindCoeff(), and quartic().
|
private |
Definition at line 454 of file TtFullLepKinSolver.cc.
References printConversionInfo::aux.
Referenced by cubic().
|
private |
|
inline |
Definition at line 21 of file TtFullLepKinSolver.h.
References PatBasicFWLiteJetAnalyzer_Selector_cfg::useMC, and useMCforBest_.
Referenced by TtDilepEvtSolutionMaker::produce().
|
private |
Definition at line 301 of file TtFullLepKinSolver.cc.
References genLV_n, genLV_n_, LV_n, LV_n_, and CommonMethods::weight().
Referenced by addKinSolInfo().
|
private |
Definition at line 310 of file TtFullLepKinSolver.cc.
References EventShape_, LV_n, and LV_n_.
Referenced by addKinSolInfo(), and getNuSolution().
|
private |
Definition at line 66 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 67 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 91 of file TtFullLepKinSolver.h.
Referenced by TtFullLepKinSolver(), WeightSolfromShape(), and ~TtFullLepKinSolver().
|
private |
Definition at line 68 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 86 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and WeightSolfromMC().
|
private |
Definition at line 86 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and WeightSolfromMC().
|
private |
Definition at line 70 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 71 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 72 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 73 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 75 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 74 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 76 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by getNuSolution(), TopRec(), WeightSolfromMC(), and WeightSolfromShape().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by getNuSolution(), TopRec(), WeightSolfromMC(), and WeightSolfromShape().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 84 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 77 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 78 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 79 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 64 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TtFullLepKinSolver().
|
private |
Definition at line 64 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TtFullLepKinSolver().
|
private |
Definition at line 64 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TtFullLepKinSolver().
|
private |
Definition at line 64 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TtFullLepKinSolver().
|
private |
Definition at line 80 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 81 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 82 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 69 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 62 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), SetConstraints(), and TtFullLepKinSolver().
|
private |
Definition at line 62 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), SetConstraints(), and TtFullLepKinSolver().
|
private |
Definition at line 59 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and TtFullLepKinSolver().
|
private |
Definition at line 60 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and TtFullLepKinSolver().
|
private |
Definition at line 61 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and TtFullLepKinSolver().
|
private |
Definition at line 89 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and useWeightFromMC().