test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtFullHadKinFitProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # current defaults are resolutions for PF jets derived from Summer11 MC;
4 # values of udscResolutions and bResolutions (see below) can still be replaced in the user's cff or cfg;
5 # for the unit tests, we don't mind that CALO jets will be used with PF resolutions
7 
8 kinFitTtFullHadEvent = cms.EDProducer("TtFullHadKinFitProducer",
9  jets = cms.InputTag("selectedPatJets"),
10 
11  # ------------------------------------------------
12  # maximum number of jets to be considered in the
13  # jet combinatorics (has to be >= 6, can be set to
14  # -1 if you want to take all)
15  # ------------------------------------------------
16  maxNJets = cms.int32(6),
17 
18  #-------------------------------------------------
19  # maximum number of jet combinations finally
20  # written into the event, starting from the "best"
21  # (has to be >= 1, can be set to -1 if you want to
22  # take all)
23  #-------------------------------------------------
24  maxNComb = cms.int32(1),
25 
26  # ------------------------------------------------
27  # option to take only a given jet combination
28  # instead of going through the full combinatorics
29  # ------------------------------------------------
30  match = cms.InputTag(""),
31  useOnlyMatch = cms.bool(False),
32 
33  # ------------------------------------------------
34  # option to use b-tagging
35  # ------------------------------------------------
36  useBTagging = cms.bool(True),
37  bTagAlgo = cms.string("trackCountingHighPurBJetTags"),
38  minBTagValueBJet = cms.double(3.0),
39  maxBTagValueNonBJet = cms.double(3.0),
40  bTags = cms.uint32(2), # minimal number of b-tagged
41  # jets, if more are available
42  # they will be used
43 
44  # ------------------------------------------------
45  ## specify jet correction level as, Uncorrected,
46  ## L1Offset, L2Relative, L3Absolute, L4Emf,
47  ## L5Hadron, L6UE, L7Parton, a flavor specifica-
48  ## tion will be added automatically, when chosen
49  # ------------------------------------------------
50  jetCorrectionLevel = cms.string("L3Absolute"),
51 
52  # ------------------------------------------------
53  # settings for the KinFitter
54  # ------------------------------------------------
55  maxNrIter = cms.uint32(500),
56  maxDeltaS = cms.double(5e-05),
57  maxF = cms.double(0.0001),
58 
59  # ------------------------------------------------
60  # select parametrisation
61  # 0: EMom, 1: EtEtaPhi, 2: EtThetaPhi
62  # ------------------------------------------------
63  jetParametrisation = cms.uint32(1),
64 
65  # ------------------------------------------------
66  # set constraints
67  # 1: W1-mass, 2: W2-mass
68  # 3: t1-mass, 4: t2-mass
69  # 5: equal top-masses
70  # ------------------------------------------------
71  constraints = cms.vuint32(1, 2, 5),
72 
73  # ------------------------------------------------
74  # set mass values used in the constraints
75  # ------------------------------------------------
76  mW = cms.double(80.4),
77  mTop = cms.double(173.),
78 
79  # ------------------------------------------------
80  # resolutions used for the kinematic fit
81  # (see also comments at the head of this file)
82  # ------------------------------------------------
83  udscResolutions = udscResolutionPF.functions,
84  bResolutions = bjetResolutionPF.functions,
85 
86  # ------------------------------------------------
87  # set correction factor(s) for the jet energy resolution:
88  # - (optional) eta dependence assumed to be symmetric
89  # around eta=0, i.e. parametrized in |eta|
90  # - any negative value as last bin edge is read as "inf"
91  # - make sure that number of entries in vector with
92  # bin edges = number of scale factors + 1
93  # ------------------------------------------------
94  jetEnergyResolutionScaleFactors = cms.vdouble(1.0),
95  jetEnergyResolutionEtaBinning = cms.vdouble(0.0,-1.0)
96 )
97 
98