TopQuarkAnalysis
TopKinFitter
src
TopKinFitter.cc
Go to the documentation of this file.
1
#include "
TopQuarkAnalysis/TopKinFitter/interface/TopKinFitter.h
"
2
4
TopKinFitter::TopKinFitter
(
5
const
int
maxNrIter
,
const
double
maxDeltaS
,
const
double
maxF
,
const
double
mW
,
const
double
mTop
)
6
: maxNrIter_(
maxNrIter
), maxDeltaS_(
maxDeltaS
), maxF_(
maxF
), mW_(
mW
), mTop_(
mTop
) {
7
fitter_
=
new
TKinFitter
(
"TopKinFitter"
,
"TopKinFitter"
);
8
fitter_
->
setMaxNbIter
(
maxNrIter_
);
9
fitter_
->
setMaxDeltaS
(
maxDeltaS_
);
10
fitter_
->
setMaxF
(
maxF_
);
11
fitter_
->
setVerbosity
(0);
12
}
13
15
TopKinFitter::~TopKinFitter
() {
delete
fitter_
; }
16
18
std::string
TopKinFitter::param
(
const
Param
& param)
const
{
19
std::string
parName;
20
switch
(
param
) {
21
case
kEMom
:
22
parName =
"EMom"
;
23
break
;
24
case
kEtEtaPhi
:
25
parName =
"EtEtaPhi"
;
26
break
;
27
case
kEtThetaPhi
:
28
parName =
"EtThetaPhi"
;
29
break
;
30
}
31
return
parName;
32
}
TopKinFitter::kEtEtaPhi
Definition:
TopKinFitter.h:20
TKinFitter::setMaxF
void setMaxF(Double_t maxF)
Definition:
TKinFitter.h:54
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 ¶m) 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.h
TtSemiLepHitFitProducer_Electrons_cfi.mTop
mTop
Definition:
TtSemiLepHitFitProducer_Electrons_cfi.py:36
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
TKinFitter::setMaxNbIter
void setMaxNbIter(Int_t maxNbIter)
Definition:
TKinFitter.h:48
TopKinFitter::kEtThetaPhi
Definition:
TopKinFitter.h:20
StEvtSolProducer_cfi.maxDeltaS
maxDeltaS
Definition:
StEvtSolProducer_cfi.py:25
TopKinFitter::maxF_
double maxF_
maximal allowed distance from constraints
Definition:
TopKinFitter.h:53
TKinFitter::setMaxDeltaS
void setMaxDeltaS(Double_t maxDeltaS)
Definition:
TKinFitter.h:52
TopKinFitter::Param
Param
supported parameterizations
Definition:
TopKinFitter.h:20
StEvtSolProducer_cfi.maxF
maxF
Definition:
StEvtSolProducer_cfi.py:26
Generated for CMSSW Reference Manual by
1.8.16