#include <TopKinFitter.h>
Public Types | |
enum | Param { kEMom, kEtEtaPhi, kEtThetaPhi } |
supported parameterizations More... | |
Public Member Functions | |
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... | |
Protected Member Functions | |
std::string | param (const Param ¶m) const |
convert Param to human readable form More... | |
Protected Attributes | |
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 17 of file TopKinFitter.h.
enum TopKinFitter::Param |
supported parameterizations
Enumerator | |
---|---|
kEMom | |
kEtEtaPhi | |
kEtThetaPhi |
Definition at line 22 of file TopKinFitter.h.
|
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().
Referenced by StKinFitter::StKinFitter().
TopKinFitter::~TopKinFitter | ( | ) |
default destructor
Definition at line 16 of file TopKinFitter.cc.
References fitter_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
return number of used iterations
Definition at line 34 of file TopKinFitter.h.
References fitter_, and TKinFitter::getNbIter().
|
inline |
return fit probability
Definition at line 36 of file TopKinFitter.h.
References fitter_, TKinFitter::getNDF(), and TKinFitter::getS().
Referenced by StKinFitter::addKinFitInfo(), TtFullHadKinFitter::addKinFitInfo(), TtSemiLepKinFitter::addKinFitInfo(), TtFullHadKinFitter::KinFit::fit(), and TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
inline |
return chi2 of fit (not normalized to degrees of freedom)
Definition at line 32 of file TopKinFitter.h.
References fitter_, and TKinFitter::getS().
Referenced by TtFullHadKinFitter::KinFit::fit(), and TtSemiLepKinFitProducer< LeptonCollection >::produce().
|
protected |
convert Param to human readable form
Definition at line 23 of file TopKinFitter.cc.
References kEMom, kEtEtaPhi, kEtThetaPhi, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtFullHadKinFitter::KinFit::setOutput(), StKinFitter::setupFitter(), and setVerbosity().
|
inline |
allows to change the verbosity of the TKinFitter
Definition at line 38 of file TopKinFitter.h.
References fitter_, param(), TKinFitter::setVerbosity(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
kinematic fitter
Definition at line 46 of file TopKinFitter.h.
Referenced by StKinFitter::addKinFitInfo(), TtFullHadKinFitter::addKinFitInfo(), TtSemiLepKinFitter::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(), StKinFitter::setupFitter(), TtFullHadKinFitter::setupFitter(), TtSemiLepKinFitter::setupFitter(), setVerbosity(), TopKinFitter(), and ~TopKinFitter().
|
protected |
maximal allowed chi2 (not normalized to degrees of freedom)
Definition at line 50 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtFullHadKinFitter::KinFit::setFitter(), StKinFitter::setupFitter(), and TopKinFitter().
|
protected |
maximal allowed distance from constraints
Definition at line 52 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtFullHadKinFitter::KinFit::setFitter(), StKinFitter::setupFitter(), and TopKinFitter().
|
protected |
maximal allowed number of iterations to be used for the fit
Definition at line 48 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtFullHadKinFitter::KinFit::setFitter(), StKinFitter::setupFitter(), and TopKinFitter().
|
protected |
top mass value used for constraints
Definition at line 56 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtFullHadKinFitter::KinFit::setFitter(), TtFullHadKinFitter::setupConstraints(), TtSemiLepKinFitter::setupConstraints(), and StKinFitter::setupFitter().
|
protected |
W mass value used for constraints.
Definition at line 54 of file TopKinFitter.h.
Referenced by TtFullHadKinFitter::printSetup(), TtSemiLepKinFitter::printSetup(), TtFullHadKinFitter::KinFit::setFitter(), TtFullHadKinFitter::setupConstraints(), TtSemiLepKinFitter::setupConstraints(), and StKinFitter::setupFitter().