#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 12 of file TtFullLepKinSolver.cc.
References EventShape_.
TtFullLepKinSolver::~TtFullLepKinSolver | ( | ) |
TtDilepEvtSolution TtFullLepKinSolver::addKinSolInfo | ( | TtDilepEvtSolution * | asol | ) |
Definition at line 24 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(), TtSemiLepEvtBuilder_cfi::mt, reco::LeafCandidate::px(), pxmiss_, reco::LeafCandidate::py(), pymiss_, reco::LeafCandidate::pz(), quartic(), TtDilepEvtSolution::setRecTopMass(), TtDilepEvtSolution::setRecWeightMax(), topmass_begin, topmass_end, topmass_step, TopRec(), useMCforBest_, mps_merge::weight, WeightSolfromMC(), and WeightSolfromShape().
Referenced by TtDilepEvtSolutionMaker::produce(), and useWeightFromMC().
|
private |
Definition at line 372 of file TtFullLepKinSolver.cc.
References funct::cos(), h, mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, phi, Pi, data-class-funcs::q, sqr(), mathSSE::sqrt(), SWAP(), and w.
Referenced by quartic(), and useWeightFromMC().
|
private |
Definition at line 157 of file TtFullLepKinSolver.cc.
References C, D, F, createfilelist::int, k16, k26, k36, k46, k51, k56, k61, m1, m2, m3, mb, mw, n1, n2, n3, pom, funct::pow(), and sqr().
Referenced by addKinSolInfo(), getNuSolution(), and useWeightFromMC().
TtFullLepKinSolver::NeutrinoSolution TtFullLepKinSolver::getNuSolution | ( | const TLorentzVector & | LV_l, |
const TLorentzVector & | LV_l_, | ||
const TLorentzVector & | LV_b, | ||
const TLorentzVector & | LV_b_ | ||
) |
Definition at line 125 of file TtFullLepKinSolver.cc.
References FindCoeff(), LV_n, LV_n_, TtSemiLepEvtBuilder_cfi::mt, TtFullLepKinSolver::NeutrinoSolution::neutrino, TtFullLepKinSolver::NeutrinoSolution::neutrinoBar, pxmiss_, pymiss_, quartic(), topmass_begin, topmass_end, topmass_step, TopRec(), TtFullLepKinSolver::NeutrinoSolution::weight, mps_merge::weight, and WeightSolfromShape().
Referenced by TtFullLepKinSolutionProducer::produce(), and useWeightFromMC().
|
private |
Definition at line 314 of file TtFullLepKinSolver.cc.
References parametrizedMagneticField_OAE85l_cfi::b0, HltBtagPostValidation_cff::c, cubic(), HLTMuonOfflineAnalyzer_cfi::d0, h, mps_fire::i, multPhiCorr_741_25nsDY_cfi::px, sqr(), mathSSE::sqrt(), OrderedSet::t, w, and z.
Referenced by addKinSolInfo(), getNuSolution(), and useWeightFromMC().
void TtFullLepKinSolver::SetConstraints | ( | const double | xx = 0 , |
const double | yy = 0 |
||
) |
Definition at line 120 of file TtFullLepKinSolver.cc.
References pxmiss_, pymiss_, geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by TtDilepEvtSolutionMaker::produce(), TtFullLepKinSolutionProducer::produce(), and useWeightFromMC().
|
inlineprivate |
Definition at line 80 of file TtFullLepKinSolver.h.
References SWAP().
Referenced by cubic(), FindCoeff(), and quartic().
|
private |
Definition at line 450 of file TtFullLepKinSolver.cc.
References printConversionInfo::aux.
Referenced by cubic(), and sqr().
|
private |
Definition at line 275 of file TtFullLepKinSolver.cc.
References printConversionInfo::aux, C, D, F, k16, k26, k36, k46, k51, k56, k61, LV_n, LV_n_, LV_t, LV_t_, LV_tt_t, LV_tt_t_, m1, m2, m3, n1, n2, n3, pom, and funct::pow().
Referenced by addKinSolInfo(), getNuSolution(), and useWeightFromMC().
|
inline |
Definition at line 43 of file TtFullLepKinSolver.h.
References addKinSolInfo(), cubic(), FindCoeff(), getNuSolution(), cmsLHEtoEOSManager::l, TtSemiLepEvtBuilder_cfi::mt, quartic(), SetConstraints(), TopRec(), PatBasicFWLiteJetAnalyzer_Selector_cfg::useMC, useMCforBest_, WeightSolfromMC(), WeightSolfromShape(), geometryCSVtoXML::xx, and geometryCSVtoXML::yy.
Referenced by TtDilepEvtSolutionMaker::produce().
|
private |
Definition at line 305 of file TtFullLepKinSolver.cc.
References genLV_n, genLV_n_, LV_n, LV_n_, and mps_merge::weight.
Referenced by addKinSolInfo(), and useWeightFromMC().
|
private |
use the parametrized event shape to obtain the solution weight.
Definition at line 312 of file TtFullLepKinSolver.cc.
References EventShape_, LV_n, and LV_n_.
Referenced by addKinSolInfo(), getNuSolution(), and useWeightFromMC().
|
private |
Definition at line 98 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 99 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Event shape.
Definition at line 124 of file TtFullLepKinSolver.h.
Referenced by TtFullLepKinSolver(), WeightSolfromShape(), and ~TtFullLepKinSolver().
|
private |
Definition at line 100 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
provisional
Definition at line 119 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and WeightSolfromMC().
|
private |
Definition at line 119 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and WeightSolfromMC().
|
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 104 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 107 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 108 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by getNuSolution(), TopRec(), WeightSolfromMC(), and WeightSolfromShape().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by getNuSolution(), TopRec(), WeightSolfromMC(), and WeightSolfromShape().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 117 of file TtFullLepKinSolver.h.
Referenced by TopRec().
|
private |
Definition at line 109 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
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 94 of file TtFullLepKinSolver.h.
Referenced by FindCoeff().
|
private |
Definition at line 92 of file TtFullLepKinSolver.h.
Referenced by FindCoeff().
|
private |
Definition at line 112 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 113 of file TtFullLepKinSolver.h.
Referenced by FindCoeff(), and TopRec().
|
private |
Definition at line 114 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 96 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and SetConstraints().
|
private |
Definition at line 96 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), getNuSolution(), and SetConstraints().
|
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 |
Definition at line 90 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and getNuSolution().
|
private |
flag to swith from WeightSolfromMC() to WeightSolfromShape()
Definition at line 122 of file TtFullLepKinSolver.h.
Referenced by addKinSolInfo(), and useWeightFromMC().