CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiRecoJets_cff.py
Go to the documentation of this file.
2 
4 
5 ## Default Parameter Sets
8 
9 ## Calo Towers
10 CaloTowerConstituentsMapBuilder = cms.ESProducer("CaloTowerConstituentsMapBuilder",
11  MapFile = cms.untracked.string('Geometry/CaloTopology/data/CaloTowerEEGeometric.map.gz')
12 )
13 
14 caloTowers = cms.EDProducer("CaloTowerCandidateCreator",
15  src = cms.InputTag("towerMaker"),
16  e = cms.double(0.0),
17  verbose = cms.untracked.int32(0),
18  pt = cms.double(0.0),
19  minimumE = cms.double(0.0),
20  minimumEt = cms.double(0.0),
21  et = cms.double(0.0)
22 )
23 
24 ## background for HF/Voronoi-style subtraction
25 voronoiBackgroundCalo = cms.EDProducer('VoronoiBackgroundProducer',
26  src = cms.InputTag('towerMaker'),
27  tableLabel = cms.string("UETable_Calo"),
28  doEqualize = cms.bool(True),
29  equalizeThreshold0 = cms.double(5.0),
30  equalizeThreshold1 = cms.double(35.0),
31  equalizeR = cms.double(0.4),
32  useTextTable = cms.bool(False),
33  jetCorrectorFormat = cms.bool(True),
34  isCalo = cms.bool(True),
35  etaBins = cms.int32(15),
36  fourierOrder = cms.int32(5)
37  )
38 
39 
40 ## Noise reducing PU subtraction algos
41 
42 ## Iterative Cone
43 iterativeConePu5CaloJets = cms.EDProducer(
44  "FastjetJetProducer",
45  HiCaloJetParameters,
46  AnomalousCellParameters,
47  MultipleAlgoIteratorBlock,
48  jetAlgorithm = cms.string("IterativeCone"),
49  rParam = cms.double(0.5)
50  )
51 iterativeConePu5CaloJets.radiusPU = 0.5
52 
53 ## kT
54 ktPu4CaloJets = cms.EDProducer(
55  "FastjetJetProducer",
56  HiCaloJetParameters,
57  AnomalousCellParameters,
58  MultipleAlgoIteratorBlock,
59  jetAlgorithm = cms.string("Kt"),
60  rParam = cms.double(0.4)
61  )
62 ktPu4CaloJets.radiusPU = 0.5
63 
64 ktPu6CaloJets = cms.EDProducer(
65  "FastjetJetProducer",
66  HiCaloJetParameters,
67  AnomalousCellParameters,
68  MultipleAlgoIteratorBlock,
69  jetAlgorithm = cms.string("Kt"),
70  rParam = cms.double(0.6)
71  )
72 ktPu6CaloJets.radiusPU = 0.7
73 
74 ## anti-kT
75 akPu5CaloJets = cms.EDProducer(
76  "FastjetJetProducer",
77  HiCaloJetParameters,
78  AnomalousCellParameters,
79  MultipleAlgoIteratorBlock,
80  jetAlgorithm = cms.string("AntiKt"),
81  rParam = cms.double(0.5)
82  )
83 akPu5CaloJets.radiusPU = 0.5
84 
85 akPu7CaloJets = cms.EDProducer(
86  "FastjetJetProducer",
87  HiCaloJetParameters,
88  AnomalousCellParameters,
89  MultipleAlgoIteratorBlock,
90  jetAlgorithm = cms.string("AntiKt"),
91  rParam = cms.double(0.7)
92  )
93 akPu7CaloJets.radiusPU = 0.7
94 
95 
96 ## HF/Vornoi background subtracton algos
97 
98 akVs5CaloJets = akPu5CaloJets.clone(
99  subtractorName = cms.string("VoronoiSubtractor"),
100  bkg = cms.InputTag("voronoiBackgroundCalo"),
101  dropZeros = cms.bool(True),
102  doAreaFastjet = False
103  )
104 
105 #
106 akVs1CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.1))
107 akVs2CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.2))
108 akVs3CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.3))
109 akVs4CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.4))
110 akVs6CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.6))
111 akVs7CaloJets = akVs5CaloJets.clone(rParam = cms.double(0.7))
112 
113 akPu5CaloJets.puPtMin = cms.double(10)
114 akPu1CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.1), puPtMin = 4)
115 akPu2CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.2), puPtMin = 4)
116 akPu3CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.3), puPtMin = 6)
117 akPu4CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.4), puPtMin = 8)
118 akPu6CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.6), puPtMin = 12)
119 akPu7CaloJets = akPu5CaloJets.clone(rParam = cms.double(0.7), puPtMin = 14)
120 
121 ak5CaloJets = cms.EDProducer(
122  "FastjetJetProducer",
123  HiCaloJetParameters,
124  AnomalousCellParameters,
125  MultipleAlgoIteratorBlock,
126  jetAlgorithm = cms.string("AntiKt"),
127  rParam = cms.double(0.5)
128  )
129 ak5CaloJets.doPUOffsetCorr = False
130 ak1CaloJets = ak5CaloJets.clone(rParam = cms.double(0.1))
131 ak2CaloJets = ak5CaloJets.clone(rParam = cms.double(0.2))
132 ak3CaloJets = ak5CaloJets.clone(rParam = cms.double(0.3))
133 ak4CaloJets = ak5CaloJets.clone(rParam = cms.double(0.4))
134 ak6CaloJets = ak5CaloJets.clone(rParam = cms.double(0.6))
135 ak7CaloJets = ak5CaloJets.clone(rParam = cms.double(0.7))
136 
137 
138 ## Default Sequence
139 hiRecoJets = cms.Sequence(
140  caloTowersRec*caloTowers*
141  iterativeConePu5CaloJets*
142  akPu3CaloJets*akPu4CaloJets*akPu5CaloJets*
143  voronoiBackgroundCalo*
144  akVs2CaloJets*akVs3CaloJets*akVs4CaloJets*akVs5CaloJets
145  )
146 
147 ## Extended Sequence
148 hiRecoAllJets = cms.Sequence(
149  caloTowersRec*caloTowers*iterativeConePu5CaloJets
150  *ak1CaloJets*ak2CaloJets*ak3CaloJets*ak4CaloJets*ak5CaloJets*ak6CaloJets*ak7CaloJets
151  *akPu1CaloJets*akPu2CaloJets*akPu3CaloJets*akPu4CaloJets*akPu5CaloJets*akPu6CaloJets*akPu7CaloJets*
152  ktPu4CaloJets*ktPu6CaloJets
153  *voronoiBackgroundCalo
154  *akVs1CaloJets*akVs2CaloJets*akVs3CaloJets*akVs4CaloJets*akVs5CaloJets*akVs6CaloJets*akVs7CaloJets
155  )
156 
157