CMS 3D CMS Logo

JetValidationHeavyIons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ### genjet cleaning for improved matching in HI environment
4 
6 
7 iterativeCone5HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('iterativeCone5HiGenJets'))
8 #iterativeCone7HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('iterativeCone7HiGenJets'))
9 ak2HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak2HiGenJets'))
10 ak3HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak3HiGenJets'))
11 ak4HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak4HiGenJets'))
12 ak5HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak5HiGenJets'))
13 
14 ak7HiCleanedGenJets = heavyIonCleanedGenJets.clone( src = cms.InputTag('ak7HiGenJets'))
15 
16 ### jet analyzer for several radii
17 ### iterative cone with PU, anti-kt with PU, anti-kt with fastjet PU
18 
19 
20 JetAnalyzerICPU5Calo = cms.EDAnalyzer("JetTester_HeavyIons",
21  JetType = cms.untracked.string('calo'),
22  UEAlgo = cms.untracked.string('Pu'),
23  OutputFile = cms.untracked.string(''),
24  src = cms.InputTag("iterativeConePu5CaloJets"),
25  srcGen = cms.InputTag("iterativeCone5HiCleanedGenJets"),
26  PFcands = cms.InputTag("particleFlowTmp"),
27  Background = cms.InputTag("voronoiBackgroundCalo"),
28  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
29  centralitycollection = cms.InputTag("hiCentrality"),
30  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
31  JetCorrections = cms.string(""),
32  recoJetPtThreshold = cms.double(10),
33  genEnergyFractionThreshold = cms.double(0.05),
34  genPtThreshold = cms.double(1.0),
35  matchGenPtThreshold = cms.double(20.0),
36  RThreshold = cms.double(0.3),
37  reverseEnergyFractionThreshold = cms.double(0.5)
38 )
39 '''
40 JetAnalyzerICPU7Calo = cms.EDAnalyzer("JetTester_HeavyIons",
41  JetType = cms.untracked.string('calo'),
42  UEAlgo = cms.untracked.string('Pu'),
43  OutputFile = cms.untracked.string(''),
44  src = cms.InputTag("iterativeConePu7CaloJets"),
45  srcGen = cms.InputTag("iterativeCone7HiCleanedGenJets"),
46  #srcRho = cms.InputTag("iterativeConePu7CaloJets","rho"),
47  JetCorrections = cms.string(""),
48  recoJetPtThreshold = cms.double(10),
49  genEnergyFractionThreshold = cms.double(0.05),
50  genPtThreshold = cms.double(1.0),
51  matchGenPtThreshold = cms.double(20.0),
52  RThreshold = cms.double(0.3),
53  reverseEnergyFractionThreshold = cms.double(0.5)
54 )
55 '''
56 JetAnalyzerAkPU3Calo = cms.EDAnalyzer("JetTester_HeavyIons",
57  JetType = cms.untracked.string('calo'),
58  UEAlgo = cms.untracked.string('Pu'),
59  OutputFile = cms.untracked.string(''),
60  src = cms.InputTag("akPu3CaloJets"),
61  srcGen = cms.InputTag("ak3HiCleanedGenJets"),
62  PFcands = cms.InputTag("particleFlowTmp"),
63  Background = cms.InputTag("voronoiBackgroundCalo"),
64  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
65  centralitycollection = cms.InputTag("hiCentrality"),
66  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
67  JetCorrections = cms.string(""),
68  recoJetPtThreshold = cms.double(10),
69  genEnergyFractionThreshold = cms.double(0.05),
70  genPtThreshold = cms.double(1.0),
71  matchGenPtThreshold = cms.double(20.0),
72  RThreshold = cms.double(0.3),
73  reverseEnergyFractionThreshold = cms.double(0.5)
74 )
75 
76 JetAnalyzerAkPU4Calo = cms.EDAnalyzer("JetTester_HeavyIons",
77  JetType = cms.untracked.string('calo'),
78  UEAlgo = cms.untracked.string('Pu'),
79  OutputFile = cms.untracked.string(''),
80  src = cms.InputTag("akPu4CaloJets"),
81  srcGen = cms.InputTag("ak4HiCleanedGenJets"),
82  PFcands = cms.InputTag("particleFlowTmp"),
83  Background = cms.InputTag("voronoiBackgroundCalo"),
84  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
85  centralitycollection = cms.InputTag("hiCentrality"),
86  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
87  JetCorrections = cms.string(""),
88  recoJetPtThreshold = cms.double(10),
89  genEnergyFractionThreshold = cms.double(0.05),
90  genPtThreshold = cms.double(1.0),
91  matchGenPtThreshold = cms.double(20.0),
92  RThreshold = cms.double(0.3),
93  reverseEnergyFractionThreshold = cms.double(0.5)
94 )
95 
96 JetAnalyzerAkPU5Calo = cms.EDAnalyzer("JetTester_HeavyIons",
97  JetType = cms.untracked.string('calo'),
98  UEAlgo = cms.untracked.string('Pu'),
99  OutputFile = cms.untracked.string(''),
100  src = cms.InputTag("akPu5CaloJets"),
101  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
102  PFcands = cms.InputTag("particleFlowTmp"),
103  Background = cms.InputTag("voronoiBackgroundCalo"),
104  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
105  centralitycollection = cms.InputTag("hiCentrality"),
106  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
107  JetCorrections = cms.string(""),
108  recoJetPtThreshold = cms.double(10),
109  genEnergyFractionThreshold = cms.double(0.05),
110  genPtThreshold = cms.double(1.0),
111  matchGenPtThreshold = cms.double(20.0),
112  RThreshold = cms.double(0.3),
113  reverseEnergyFractionThreshold = cms.double(0.5)
114 )
115 
116 JetAnalyzerAkPU3PF = cms.EDAnalyzer("JetTester_HeavyIons",
117  JetType = cms.untracked.string('pf'),
118  UEAlgo = cms.untracked.string('Pu'),
119  OutputFile = cms.untracked.string(''),
120  src = cms.InputTag("akPu3PFJets"),
121  srcGen = cms.InputTag("ak3HiCleanedGenJets"),
122  PFcands = cms.InputTag("particleFlowTmp"),
123  Background = cms.InputTag("voronoiBackgroundPF"),
124  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
125  centralitycollection = cms.InputTag("hiCentrality"),
126  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
127  JetCorrections = cms.string(""),
128  recoJetPtThreshold = cms.double(10),
129  genEnergyFractionThreshold = cms.double(0.05),
130  genPtThreshold = cms.double(1.0),
131  matchGenPtThreshold = cms.double(20.0),
132  RThreshold = cms.double(0.3),
133  reverseEnergyFractionThreshold = cms.double(0.5)
134 )
135 
136 JetAnalyzerAkPU4PF = cms.EDAnalyzer("JetTester_HeavyIons",
137  JetType = cms.untracked.string('pf'),
138  UEAlgo = cms.untracked.string('Pu'),
139  OutputFile = cms.untracked.string(''),
140  src = cms.InputTag("akPu4PFJets"),
141  srcGen = cms.InputTag("ak4HiCleanedGenJets"),
142  PFcands = cms.InputTag("particleFlowTmp"),
143  Background = cms.InputTag("voronoiBackgroundPF"),
144  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
145  centralitycollection = cms.InputTag("hiCentrality"),
146  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
147  JetCorrections = cms.string(""),
148  recoJetPtThreshold = cms.double(10),
149  genEnergyFractionThreshold = cms.double(0.05),
150  genPtThreshold = cms.double(1.0),
151  matchGenPtThreshold = cms.double(20.0),
152  RThreshold = cms.double(0.3),
153  reverseEnergyFractionThreshold = cms.double(0.5)
154 )
155 
156 JetAnalyzerAkPU5PF = cms.EDAnalyzer("JetTester_HeavyIons",
157  JetType = cms.untracked.string('pf'),
158  UEAlgo = cms.untracked.string('Pu'),
159  OutputFile = cms.untracked.string(''),
160  src = cms.InputTag("akPu5PFJets"),
161  srcGen = cms.InputTag("ak5HiCleanedGenJets"),
162  PFcands = cms.InputTag("particleFlowTmp"),
163  Background = cms.InputTag("voronoiBackgroundPF"),
164  #srcRho = cms.InputTag("iterativeConePu5CaloJets","rho"),
165  centralitycollection = cms.InputTag("hiCentrality"),
166  centralitybincollection = cms.InputTag("centralityBin","HFtowers"),
167  JetCorrections = cms.string(""),
168  recoJetPtThreshold = cms.double(10),
169  genEnergyFractionThreshold = cms.double(0.05),
170  genPtThreshold = cms.double(1.0),
171  matchGenPtThreshold = cms.double(20.0),
172  RThreshold = cms.double(0.3),
173  reverseEnergyFractionThreshold = cms.double(0.5)
174 )
175 
176 
177 hiJetValidation = cms.Sequence(
178  ak3HiCleanedGenJets
179  * ak4HiCleanedGenJets
180  * ak5HiCleanedGenJets
181  * JetAnalyzerAkPU3Calo
182  * JetAnalyzerAkPU4Calo
183  * JetAnalyzerAkPU5Calo
184 
185  * JetAnalyzerAkPU3PF
186  * JetAnalyzerAkPU4PF
187  * JetAnalyzerAkPU5PF
188 
189 )