#include <StKinFitter.h>
Public Member Functions | |
StEvtSolution | addKinFitInfo (StEvtSolution *asol) |
StKinFitter () | |
StKinFitter (int jetParam, int lepParam, int metParam, int maxNrIter, double maxDeltaS, double maxF, std::vector< int > constraints) | |
StKinFitter (Param jetParam, Param lepParam, Param metParam, int maxNrIter, double maxDeltaS, double maxF, 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 | |
TFitConstraintM * | cons1_ |
TFitConstraintM * | cons2_ |
TFitConstraintM * | cons3_ |
std::vector< int > | constraints_ |
TAbsFitParticle * | fitBottom_ |
TAbsFitParticle * | fitLepton_ |
TAbsFitParticle * | fitLight_ |
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 | |
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 28 of file StKinFitter.cc.
References setupFitter().
StKinFitter::StKinFitter | ( | int | jetParam, |
int | lepParam, | ||
int | metParam, | ||
int | maxNrIter, | ||
double | maxDeltaS, | ||
double | maxF, | ||
std::vector< int > | constraints | ||
) |
Definition at line 37 of file StKinFitter.cc.
References setupFitter().
StKinFitter::StKinFitter | ( | Param | jetParam, |
Param | lepParam, | ||
Param | metParam, | ||
int | maxNrIter, | ||
double | maxDeltaS, | ||
double | maxF, | ||
std::vector< int > | constraints | ||
) |
Definition at line 48 of file StKinFitter.cc.
References setupFitter().
StKinFitter::~StKinFitter | ( | ) |
Definition at line 59 of file StKinFitter.cc.
References cons1_, cons2_, cons3_, fitBottom_, fitLepton_, fitLight_, and fitNeutrino_.
StEvtSolution StKinFitter::addKinFitInfo | ( | StEvtSolution * | asol | ) |
Definition at line 65 of file StKinFitter.cc.
References reco::LeafCandidate::energy(), reco::LeafCandidate::et(), res::HelperElectron::eta(), res::HelperMuon::eta(), res::HelperJet::eta(), reco::LeafCandidate::eta(), eta(), TKinFitter::fit(), fitBottom_, fitLepton_, fitLight_, fitNeutrino_, TopKinFitter::fitProb(), TopKinFitter::fitter_, StEvtSolution::getBottom(), TAbsFitParticle::getCurr4Vec(), StEvtSolution::getDecay(), StEvtSolution::getElectron(), StEvtSolution::getLight(), StEvtSolution::getMuon(), StEvtSolution::getNeutrino(), TKinFitter::getStatus(), jetParam_, res::HelperJet::kB, TopKinFitter::kEMom, TopKinFitter::kEtEtaPhi, TopKinFitter::kEtThetaPhi, res::HelperJet::kUds, lepParam_, res::HelperMET::met(), CaloMET_cfi::met, metParam_, res::HelperElectron::phi(), res::HelperMuon::phi(), res::HelperJet::phi(), res::HelperMET::phi(), funct::pow(), res::HelperElectron::pt(), res::HelperMuon::pt(), res::HelperJet::pt(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), StEvtSolution::setChi2Prob(), TAbsFitParticle::setCovMatrix(), StEvtSolution::setFitBottom(), StEvtSolution::setFitLepton(), StEvtSolution::setFitLight(), StEvtSolution::setFitNeutrino(), and TAbsFitParticle::setIni4Vec().
Referenced by StEvtSolutionMaker::produce().
|
private |
Definition at line 227 of file StKinFitter.cc.
References TKinFitter::addConstraint(), TKinFitter::addMeasParticle(), TFitConstraintM::addParticle1(), TFitConstraintM::addParticles1(), cons1_, cons2_, cons3_, constraints_, gather_cfg::cout, fitBottom_, fitLepton_, fitLight_, fitNeutrino_, TopKinFitter::fitter_, 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 43 of file StKinFitter.h.
Referenced by setupFitter(), and ~StKinFitter().
|
private |
Definition at line 44 of file StKinFitter.h.
Referenced by setupFitter(), and ~StKinFitter().
|
private |
Definition at line 45 of file StKinFitter.h.
Referenced by setupFitter(), and ~StKinFitter().
|
private |
Definition at line 48 of file StKinFitter.h.
Referenced by setupFitter().
|
private |
Definition at line 38 of file StKinFitter.h.
Referenced by addKinFitInfo(), setupFitter(), and ~StKinFitter().
|
private |
Definition at line 40 of file StKinFitter.h.
Referenced by addKinFitInfo(), setupFitter(), and ~StKinFitter().
|
private |
Definition at line 39 of file StKinFitter.h.
Referenced by addKinFitInfo(), setupFitter(), and ~StKinFitter().
|
private |
Definition at line 41 of file StKinFitter.h.
Referenced by addKinFitInfo(), setupFitter(), and ~StKinFitter().
|
private |
Definition at line 47 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 47 of file StKinFitter.h.
Referenced by addKinFitInfo(), and setupFitter().