CMS 3D CMS Logo

TopKinFitter.h
Go to the documentation of this file.
1 #ifndef TopKinFitter_h
2 #define TopKinFitter_h
3 
4 #include "TMath.h"
5 
7 
8 /*
9  \class TopKinFitter TopKinFitter.h "TopQuarkAnalysis/TopKinFitter/interface/TopKinFitter.h"
10 
11  \brief one line description to be added here...
12 
13  text to be added here...
14 
15 **/
16 
17 class TopKinFitter {
18 public:
21 
22 public:
24  explicit TopKinFitter(const int maxNrIter = 200,
25  const double maxDeltaS = 5e-5,
26  const double maxF = 1e-4,
27  const double mW = 80.4,
28  const double mTop = 173.);
30  ~TopKinFitter();
31 
33  double fitS() const { return fitter_->getS(); };
35  int fitNrIter() const { return fitter_->getNbIter(); };
37  double fitProb() const { return TMath::Prob(fitter_->getS(), fitter_->getNDF()); };
40 
41 protected:
43  std::string param(const Param& param) const;
44 
45 protected:
51  double maxDeltaS_;
53  double maxF_;
55  double mW_;
57  double mTop_;
58 };
59 
60 #endif
TopKinFitter::kEtEtaPhi
Definition: TopKinFitter.h:20
TKinFitter::getNbIter
Int_t getNbIter()
Definition: TKinFitter.h:50
TopKinFitter::fitter_
TKinFitter * fitter_
kinematic fitter
Definition: TopKinFitter.h:47
TopKinFitter::maxNrIter_
int maxNrIter_
maximal allowed number of iterations to be used for the fit
Definition: TopKinFitter.h:49
StEvtSolProducer_cfi.maxNrIter
maxNrIter
Definition: StEvtSolProducer_cfi.py:24
TopKinFitter::param
std::string param(const Param &param) const
convert Param to human readable form
Definition: TopKinFitter.cc:18
TKinFitter
Definition: TKinFitter.h:13
TopKinFitter::~TopKinFitter
~TopKinFitter()
default destructor
Definition: TopKinFitter.cc:15
TopKinFitter::kEMom
Definition: TopKinFitter.h:20
TopKinFitter::fitProb
double fitProb() const
return fit probability
Definition: TopKinFitter.h:37
HLTSiStripMonitoring_cff.verbosityLevel
verbosityLevel
L1 selection andOrL1 = cms.bool( True ), l1Algorithms = cms.vstring("L1_ZeroBias_FirstCollidingBunch"...
Definition: HLTSiStripMonitoring_cff.py:261
TopKinFitter::mW_
double mW_
W mass value used for constraints.
Definition: TopKinFitter.h:55
TopKinFitter::fitNrIter
int fitNrIter() const
return number of used iterations
Definition: TopKinFitter.h:35
TtSemiLepHitFitProducer_Electrons_cfi.mTop
mTop
Definition: TtSemiLepHitFitProducer_Electrons_cfi.py:36
TKinFitter::getS
Double_t getS()
Definition: TKinFitter.cc:1066
TopKinFitter::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.)
default constructor
Definition: TopKinFitter.cc:4
TopKinFitter::maxDeltaS_
double maxDeltaS_
maximal allowed chi2 (not normalized to degrees of freedom)
Definition: TopKinFitter.h:51
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TKinFitter::setVerbosity
void setVerbosity(Int_t verbosity=1)
Definition: TKinFitter.cc:304
TtSemiLepHitFitProducer_Electrons_cfi.mW
mW
Definition: TtSemiLepHitFitProducer_Electrons_cfi.py:35
TopKinFitter
Definition: TopKinFitter.h:17
TKinFitter::getNDF
Int_t getNDF()
Definition: TKinFitter.h:45
TKinFitter.h
TopKinFitter::fitS
double fitS() const
return chi2 of fit (not normalized to degrees of freedom)
Definition: TopKinFitter.h:33
TopKinFitter::kEtThetaPhi
Definition: TopKinFitter.h:20
StEvtSolProducer_cfi.maxDeltaS
maxDeltaS
Definition: StEvtSolProducer_cfi.py:25
TopKinFitter::mTop_
double mTop_
top mass value used for constraints
Definition: TopKinFitter.h:57
TopKinFitter::maxF_
double maxF_
maximal allowed distance from constraints
Definition: TopKinFitter.h:53
TopKinFitter::Param
Param
supported parameterizations
Definition: TopKinFitter.h:20
StEvtSolProducer_cfi.maxF
maxF
Definition: StEvtSolProducer_cfi.py:26
TopKinFitter::setVerbosity
void setVerbosity(const int verbosityLevel)
allows to change the verbosity of the TKinFitter
Definition: TopKinFitter.h:39
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37