#include <TopKinFitter.h>
Public Types | |
enum | Param { kEMom, kEtEtaPhi, kEtThetaPhi } |
supported parameterizations More... | |
Public Member Functions | |
int | fitNrIter () const |
return number of used iterations | |
double | fitProb () const |
return fit probability | |
double | fitS () const |
return chi2 of fit (not normalized to degrees of freedom) | |
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 | |
~TopKinFitter () | |
default destructor | |
Protected Member Functions | |
std::string | param (const Param ¶m) const |
convert Param to human readable form | |
Protected Attributes | |
TKinFitter * | fitter_ |
double | maxDeltaS_ |
maximal allowed chi2 (not normalized to degrees of freedom) | |
double | maxF_ |
maximal allowed distance from constraints | |
int | maxNrIter_ |
maximal allowed number of iterations to be used for the fit | |
double | mTop_ |
top mass value used for constraints | |
double | mW_ |
W mass value used for constraints. |
Definition at line 17 of file TopKinFitter.h.
enum TopKinFitter::Param |
supported parameterizations
Definition at line 22 of file TopKinFitter.h.
{ kEMom, kEtEtaPhi, kEtThetaPhi };
TopKinFitter::TopKinFitter | ( | const int | maxNrIter = 200 , |
const double | maxDeltaS = 5e-5 , |
||
const double | maxF = 1e-4 , |
||
const double | mW = 80.4 , |
||
const double | mTop = 173. |
||
) | [explicit] |
default constructor
default configuration is: max iterations = 200, max deltaS = 5e-5, maxF = 1e-4
Definition at line 4 of file TopKinFitter.cc.
References fitter_, maxDeltaS_, maxF_, maxNrIter_, TKinFitter::setMaxDeltaS(), TKinFitter::setMaxF(), TKinFitter::setMaxNbIter(), and TKinFitter::setVerbosity().
: maxNrIter_(maxNrIter), maxDeltaS_(maxDeltaS), maxF_(maxF), mW_(mW), mTop_(mTop) { fitter_ = new TKinFitter("TopKinFitter", "TopKinFitter"); fitter_->setMaxNbIter(maxNrIter_); fitter_->setMaxDeltaS(maxDeltaS_); fitter_->setMaxF(maxF_); fitter_->setVerbosity(0); }
TopKinFitter::~TopKinFitter | ( | ) |
default destructor
Definition at line 16 of file TopKinFitter.cc.
References fitter_.
{ delete fitter_; }
int TopKinFitter::fitNrIter | ( | ) | const [inline] |
return number of used iterations
Definition at line 34 of file TopKinFitter.h.
References fitter_, and TKinFitter::getNbIter().
double TopKinFitter::fitProb | ( | ) | const [inline] |
return fit probability
Definition at line 36 of file TopKinFitter.h.
References fitter_, TKinFitter::getNDF(), and TKinFitter::getS().
Referenced by TtFullHadKinFitter::addKinFitInfo(), TtSemiLepKinFitter::addKinFitInfo(), and StKinFitter::addKinFitInfo().
double TopKinFitter::fitS | ( | ) | const [inline] |
return chi2 of fit (not normalized to degrees of freedom)
Definition at line 32 of file TopKinFitter.h.
References fitter_, and TKinFitter::getS().
std::string TopKinFitter::param | ( | const Param & | param | ) | const [protected] |
convert Param to human readable form
Definition at line 23 of file TopKinFitter.cc.
References kEMom, kEtEtaPhi, and kEtThetaPhi.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), and StKinFitter::setupFitter().
{ std::string parName; switch(param){ case kEMom : parName="EMom"; break; case kEtEtaPhi : parName="EtEtaPhi"; break; case kEtThetaPhi : parName="EtThetaPhi"; break; } return parName; }
TKinFitter* TopKinFitter::fitter_ [protected] |
Definition at line 44 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::addKinFitInfo(), TtSemiLepKinFitter::addKinFitInfo(), StKinFitter::addKinFitInfo(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), fitNrIter(), fitProb(), fitS(), TtFullHadKinFitter::fittedB(), TtFullHadKinFitter::fittedBBar(), TtSemiLepKinFitter::fittedHadB(), TtSemiLepKinFitter::fittedHadP(), TtSemiLepKinFitter::fittedHadQ(), TtSemiLepKinFitter::fittedLepB(), TtSemiLepKinFitter::fittedLepton(), TtFullHadKinFitter::fittedLightP(), TtFullHadKinFitter::fittedLightPBar(), TtFullHadKinFitter::fittedLightQ(), TtFullHadKinFitter::fittedLightQBar(), TtSemiLepKinFitter::fittedNeutrino(), TtSemiLepKinFitter::setupFitter(), TtFullHadKinFitter::setupFitter(), StKinFitter::setupFitter(), TopKinFitter(), and ~TopKinFitter().
double TopKinFitter::maxDeltaS_ [protected] |
maximal allowed chi2 (not normalized to degrees of freedom)
Definition at line 48 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), StKinFitter::setupFitter(), and TopKinFitter().
double TopKinFitter::maxF_ [protected] |
maximal allowed distance from constraints
Definition at line 50 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), StKinFitter::setupFitter(), and TopKinFitter().
int TopKinFitter::maxNrIter_ [protected] |
maximal allowed number of iterations to be used for the fit
Definition at line 46 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), StKinFitter::setupFitter(), and TopKinFitter().
double TopKinFitter::mTop_ [protected] |
top mass value used for constraints
Definition at line 54 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtSemiLepKinFitter::setupConstraints(), TtFullHadKinFitter::setupConstraints(), and StKinFitter::setupFitter().
double TopKinFitter::mW_ [protected] |
W mass value used for constraints.
Definition at line 52 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtSemiLepKinFitter::setupConstraints(), TtFullHadKinFitter::setupConstraints(), and StKinFitter::setupFitter().