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.
2 
4 
5 kinFitTtFullHadEvent = cms.EDProducer("TtFullHadKinFitProducer",
6  jets = cms.InputTag("selectedPatJets"),
7 
8  # ------------------------------------------------
9  # maximum number of jets to be considered in the
10  # jet combinatorics (has to be >= 6, can be set to
11  # -1 if you want to take all)
12  # ------------------------------------------------
13  maxNJets = cms.int32(6),
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(""),
28  useOnlyMatch = cms.bool(False),
29 
30  # ------------------------------------------------
31  # option to use b-tagging
32  # ------------------------------------------------
33  useBTagging = cms.bool(True),
34  bTagAlgo = cms.string("trackCountingHighPurBJetTags"),
35  minBTagValueBJet = cms.double(3.0),
36  maxBTagValueNonBJet = cms.double(3.0),
37  bTags = cms.uint32(2), # minimal number of b-tagged
38  # jets, if more are available
39  # they will be used
40 
41  # ------------------------------------------------
42  ## specify jet correction level as, Uncorrected,
43  ## L1Offset, L2Relative, L3Absolute, L4Emf,
44  ## L5Hadron, L6UE, L7Parton, a flavor specifica-
45  ## tion will be added automatically, when chosen
46  # ------------------------------------------------
47  jetCorrectionLevel = cms.string("L3Absolute"),
48 
49  # ------------------------------------------------
50  # settings for the KinFitter
51  # ------------------------------------------------
52  maxNrIter = cms.uint32(500),
53  maxDeltaS = cms.double(5e-05),
54  maxF = cms.double(0.0001),
55 
56  # ------------------------------------------------
57  # select parametrisation
58  # 0: EMom, 1: EtEtaPhi, 2: EtThetaPhi
59  # ------------------------------------------------
60  jetParametrisation = cms.uint32(1),
61 
62  # ------------------------------------------------
63  # set constraints
64  # 1: W1-mass, 2: W2-mass
65  # 3: t1-mass, 4: t2-mass
66  # 5: equal top-masses
67  # ------------------------------------------------
68  constraints = cms.vuint32(1, 2, 5),
69 
70  # ------------------------------------------------
71  # set mass values used in the constraints
72  # ------------------------------------------------
73  mW = cms.double(80.4),
74  mTop = cms.double(173.),
75 
76  # ------------------------------------------------
77  # resolutions used for the kinematic fit
78  # ------------------------------------------------
79  udscResolutions = udscResolution.functions,
80  bResolutions = bjetResolution.functions,
81  resolutionSmearFactor = cms.double(1.)
82 )
83 
84