#include <StKinFitter.h>
Public Member Functions | |
StEvtSolution | addKinFitInfo (StEvtSolution *asol) |
StKinFitter () | |
StKinFitter (int jetParam, int lepParam, int metParam, int maxNrIter, double maxDeltaS, double maxF, const std::vector< int > &constraints) | |
StKinFitter (Param jetParam, Param lepParam, Param metParam, int maxNrIter, double maxDeltaS, double maxF, const std::vector< int > &constraints) | |
~StKinFitter () | |
Public Member Functions inherited from TopKinFitter | |
int | fitNrIter () const |
return number of used iterations More... | |
double | fitProb () const |
return fit probability More... | |
double | fitS () const |
return chi2 of fit (not normalized to degrees of freedom) More... | |
void | setVerbosity (const int verbosityLevel) |
allows to change the verbosity of the TKinFitter More... | |
TopKinFitter (const int maxNrIter=200, const double maxDeltaS=5e-5, const double maxF=1e-4, const double mW=80.4, const double mTop=173.) | |
default constructor More... | |
~TopKinFitter () | |
default destructor More... | |
Private Member Functions | |
void | setupFitter () |
Private Attributes | |
std::unique_ptr< TFitConstraintM > | cons1_ |
std::unique_ptr< TFitConstraintM > | cons2_ |
std::unique_ptr< TFitConstraintM > | cons3_ |
std::vector< int > | constraints_ |
std::unique_ptr< TAbsFitParticle > | fitBottom_ |
std::unique_ptr< TAbsFitParticle > | fitLepton_ |
std::unique_ptr< TAbsFitParticle > | fitLight_ |
std::unique_ptr< TAbsFitParticle > | fitNeutrino_ |
Param | jetParam_ |
Param | lepParam_ |
Param | metParam_ |
Additional Inherited Members | |
Public Types inherited from TopKinFitter | |
enum | Param { kEMom, kEtEtaPhi, kEtThetaPhi } |
supported parameterizations More... | |
Protected Member Functions inherited from TopKinFitter | |
std::string | param (const Param ¶m) const |
convert Param to human readable form More... | |
Protected Attributes inherited from TopKinFitter | |
std::unique_ptr< TKinFitter > | fitter_ |
kinematic fitter More... | |
double | maxDeltaS_ |
maximal allowed chi2 (not normalized to degrees of freedom) More... | |
double | maxF_ |
maximal allowed distance from constraints More... | |
int | maxNrIter_ |
maximal allowed number of iterations to be used for the fit More... | |
double | mTop_ |
top mass value used for constraints More... | |
double | mW_ |
W mass value used for constraints. More... | |
Definition at line 20 of file StKinFitter.h.
StKinFitter::StKinFitter | ( | ) |
Definition at line 27 of file StKinFitter.cc.
References setupFitter().
StKinFitter::StKinFitter | ( | int | jetParam, |
int | lepParam, | ||
int | metParam, | ||
int | maxNrIter, | ||
double | maxDeltaS, | ||
double | maxF, | ||
const std::vector< int > & | constraints | ||
) |
Definition at line 29 of file StKinFitter.cc.
References setupFitter().
StKinFitter::StKinFitter | ( | Param | jetParam, |
Param | lepParam, | ||
Param | metParam, | ||
int | maxNrIter, | ||
double | maxDeltaS, | ||
double | maxF, | ||
const std::vector< int > & | constraints | ||
) |
Definition at line 44 of file StKinFitter.cc.
References setupFitter().
|
default |
StEvtSolution StKinFitter::addKinFitInfo | ( | StEvtSolution * | asol | ) |
Definition at line 61 of file StKinFitter.cc.
References reco::LeafCandidate::energy(), reco::LeafCandidate::et(), res::HelperMuon::eta(), res::HelperElectron::eta(), res::HelperJet::eta(), PVValHelper::eta, reco::LeafCandidate::eta(), fitBottom_, fitLepton_, fitLight_, fitNeutrino_, TopKinFitter::fitProb(), TopKinFitter::fitter_, StEvtSolution::getBottom(), StEvtSolution::getDecay(), StEvtSolution::getElectron(), StEvtSolution::getLight(), StEvtSolution::getMuon(), StEvtSolution::getNeutrino(), jetParam_, res::HelperJet::kB, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, res::HelperJet::kUds, lepParam_, callgraph::m2, res::HelperMET::met(), BTaggingMonitor_cfi::met, metParam_, res::HelperMuon::phi(), res::HelperElectron::phi(), res::HelperJet::phi(), res::HelperMET::phi(), conifer::pow(), res::HelperMuon::pt(), res::HelperElectron::pt(), res::HelperJet::pt(), DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), StEvtSolution::setChi2Prob(), StEvtSolution::setFitBottom(), StEvtSolution::setFitLepton(), StEvtSolution::setFitLight(), and StEvtSolution::setFitNeutrino().
|
private |
Definition at line 245 of file StKinFitter.cc.
References cons1_, cons2_, cons3_, constraints_, gather_cfg::cout, fitBottom_, fitLepton_, fitLight_, fitNeutrino_, TopKinFitter::fitter_, mps_fire::i, jetParam_, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, lepParam_, TopKinFitter::maxDeltaS_, TopKinFitter::maxF_, TopKinFitter::maxNrIter_, metParam_, TopKinFitter::mTop_, TopKinFitter::mW_, and TopKinFitter::param().
Referenced by StKinFitter().
|
private |
Definition at line 51 of file StKinFitter.h.
Referenced by setupFitter().
|
private |
Definition at line 52 of file StKinFitter.h.
Referenced by setupFitter().
|
private |
Definition at line 53 of file StKinFitter.h.
Referenced by setupFitter().
|
private |
Definition at line 56 of file StKinFitter.h.
Referenced by setupFitter().
|
private |
Definition at line 46 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().
|
private |
Definition at line 48 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().
|
private |
Definition at line 47 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().
|
private |
Definition at line 49 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().
|
private |
Definition at line 55 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().
|
private |
Definition at line 55 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().
|
private |
Definition at line 55 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().