test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtSemiLepKinFitProducer_Muons_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 kinFitTtSemiLepEvent = cms.EDProducer("TtSemiLepKinFitProducerMuon",
4  jets = cms.InputTag("selectedPatJets"),
5  leps = cms.InputTag("selectedPatMuons"),
6  mets = cms.InputTag("patMETs"),
7 
8  # ------------------------------------------------
9  # maximum number of jets to be considered in the
10  # jet combinatorics (has to be >= 4, can be set to
11  # -1 if you want to take all)
12  # ------------------------------------------------
13  maxNJets = cms.int32(4),
14 
15  #-------------------------------------------------
16  # maximum number of jet combinations finally
17  # written into the event, starting from the "best"
18  # (has to be >= 1, can be set to -1 if you want to
19  # take all)
20  #-------------------------------------------------
21  maxNComb = cms.int32(1),
22 
23  # ------------------------------------------------
24  # option to take only a given jet combination
25  # instead of going through the full combinatorics
26  # ------------------------------------------------
27  match = cms.InputTag("findTtSemiLepJetCombMVA"),
28  useOnlyMatch = cms.bool(False),
29 
30  # ------------------------------------------------
31  # option to use b-tagging
32  # ------------------------------------------------
33  bTagAlgo = cms.string("trackCountingHighEffBJetTags"),
34  minBDiscBJets = cms.double(1.0),
35  maxBDiscLightJets = cms.double(3.0),
36  useBTagging = cms.bool(False),
37 
38  # ------------------------------------------------
39  # settings for the KinFitter
40  # ------------------------------------------------
41  maxNrIter = cms.uint32(500),
42  maxDeltaS = cms.double(5e-05),
43  maxF = cms.double(0.0001),
44  # ------------------------------------------------
45  # select parametrisation
46  # 0: EMom, 1: EtEtaPhi, 2: EtThetaPhi
47  # ------------------------------------------------
48  jetParametrisation = cms.uint32(1),
49  lepParametrisation = cms.uint32(1),
50  metParametrisation = cms.uint32(1),
51 
52  # ------------------------------------------------
53  # set constraints
54  # 1: Whad-mass, 2: Wlep-mass, 3: thad-mass,
55  # 4: tlep-mass, 5: nu-mass, 6: equal t-masses
56  # 7: sum-pt conservation
57  # ------------------------------------------------
58  constraints = cms.vuint32(1, 2),
59 
60  # ------------------------------------------------
61  # set mass values used in the constraints
62  # ------------------------------------------------
63  mW = cms.double(80.4),
64  mTop = cms.double(173.),
65 
66  # ------------------------------------------------
67  # set correction factor(s) for the jet energy resolution:
68  # - (optional) eta dependence assumed to be symmetric
69  # around eta=0, i.e. parametrized in |eta|
70  # - any negative value as last bin edge is read as "inf"
71  # - make sure that number of entries in vector with
72  # bin edges = number of scale factors + 1
73  # ------------------------------------------------
74  jetEnergyResolutionScaleFactors = cms.vdouble(1.0),
75  jetEnergyResolutionEtaBinning = cms.vdouble(0.0,-1.0)
76 )
77 
78