ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py
Revision: 1.9
Committed: Fri Feb 22 10:29:29 2013 UTC (12 years, 2 months ago) by lantonel
Content type: text/x-python
Branch: MAIN
Changes since 1.8: +58 -3 lines
Log Message:
added histograms related to the d0 relationship between two leptons in a pair

File Contents

# Content
1 import FWCore.ParameterSet.Config as cms
2
3
4 ###############################################
5 ##### Set up the histograms to be plotted #####
6 ###############################################
7
8
9 MuonHistograms = cms.PSet(
10 inputCollection = cms.string("muons"),
11 histograms = cms.VPSet (
12 cms.PSet (
13 name = cms.string("muonPt"),
14 title = cms.string("Muon Transverse Momentum; p_{T} [GeV]"),
15 bins = cms.vdouble(100, 0, 500),
16 inputVariables = cms.vstring("pt"),
17 ),
18 cms.PSet (
19 name = cms.string("muonEta"),
20 title = cms.string("Muon Eta; #eta"),
21 bins = cms.vdouble(100, -5, 5),
22 inputVariables = cms.vstring("eta"),
23 ),
24 cms.PSet (
25 name = cms.string("muonPhi"),
26 title = cms.string("Muon Phi; #phi"),
27 bins = cms.vdouble(100, -3.15, 3.15),
28 inputVariables = cms.vstring("phi"),
29 ),
30 cms.PSet (
31 name = cms.string("muonEtaPhi"),
32 title = cms.string("Muon Eta vs. Phi; #phi; #eta"),
33 bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
34 inputVariables = cms.vstring("phi","eta"),
35 ),
36 cms.PSet (
37 name = cms.string("muonD0"),
38 title = cms.string("Muon d_{0}; d_{0} [cm]"),
39 bins = cms.vdouble(5000, -1, 1),
40 inputVariables = cms.vstring("correctedD0Vertex"),
41 ),
42 cms.PSet (
43 name = cms.string("muonAbsD0"),
44 title = cms.string("Muon d_{0}; |d_{0}| [cm]"),
45 bins = cms.vdouble(5000, 0, 1),
46 inputVariables = cms.vstring("abs(correctedD0Vertex)")
47 ),
48 cms.PSet (
49 name = cms.string("muonD0Sig"),
50 title = cms.string("Muon d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
51 bins = cms.vdouble(1000, -10.0, 10.0),
52 inputVariables = cms.vstring("correctedD0VertexSig"),
53 ),
54 cms.PSet (
55 name = cms.string("muonAbsD0Sig"),
56 title = cms.string("Muon d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
57 bins = cms.vdouble(1000, 0, 10.0),
58 inputVariables = cms.vstring("abs(correctedD0VertexSig)"),
59 ),
60 cms.PSet (
61 name = cms.string("muonDz"),
62 title = cms.string("Muon d_{z}; d_{z} [cm]"),
63 bins = cms.vdouble(5000, -20, 20),
64 inputVariables = cms.vstring("correctedDZ"),
65 ),
66 cms.PSet (
67 name = cms.string("muonAbsDz"),
68 title = cms.string("Muon |d_{z}|; |d_{z}| [cm]"),
69 bins = cms.vdouble(5000, 0, 20),
70 inputVariables = cms.vstring("abs(correctedDZ)"),
71 ),
72 cms.PSet (
73 name = cms.string("muonDetIso"),
74 title = cms.string("Muon Detector-based Isolation; rel. iso."),
75 bins = cms.vdouble(1000, 0, 1),
76 inputVariables = cms.vstring("detIso"),
77 ),
78 cms.PSet (
79 name = cms.string("muonPFdBetaIso"),
80 title = cms.string("Muon PF-based #Delta#beta-corrected Isolation; rel. iso."),
81 bins = cms.vdouble(1000, 0, 1),
82 inputVariables = cms.vstring("relPFdBetaIso"),
83 ),
84
85 )
86 )
87
88 DiMuonHistograms = cms.PSet(
89 inputCollection = cms.string("muon-muon pairs"),
90 histograms = cms.VPSet (
91 cms.PSet (
92 name = cms.string("diMuonInvMass"),
93 title = cms.string("Di-muon Invariant Mass; M_{#mu#mu} [GeV]"),
94 bins = cms.vdouble(100, 0, 500),
95 inputVariables = cms.vstring("invMass"),
96 ),
97 cms.PSet (
98 name = cms.string("diMuonDeltaD0"),
99 title = cms.string("Di-muon Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
100 bins = cms.vdouble(1000, 0, 0.5),
101 inputVariables = cms.vstring("abs(deltaCorrectedD0Vertex)"),
102 ),
103 cms.PSet (
104 name = cms.string("diMuonDeltaAbsD0"),
105 title = cms.string("Di-muon Impact Parameter Difference; |#Delta(|d_{0}|)| [cm]"),
106 bins = cms.vdouble(1000, 0, 0.5),
107 inputVariables = cms.vstring("abs(deltaAbsCorrectedD0Vertex)"),
108 ),
109 cms.PSet (
110 name = cms.string("diMuonD0Sign"),
111 title = cms.string("Sign of Impact Parameter Product; sign(d_{0}_{1}*d_{0}_{2})"),
112 bins = cms.vdouble(2, -1, 1),
113 inputVariables = cms.vstring("d0Sign"),
114 ),
115
116 )
117 )
118
119 ElectronHistograms = cms.PSet(
120 inputCollection = cms.string("electrons"),
121 histograms = cms.VPSet (
122 cms.PSet (
123 name = cms.string("electronPt"),
124 title = cms.string("Electron Transverse Momentum; p_{T} [GeV]"),
125 bins = cms.vdouble(100, 0, 500),
126 inputVariables = cms.vstring("pt"),
127 ),
128 cms.PSet (
129 name = cms.string("electronEta"),
130 title = cms.string("Electron Eta; #eta"),
131 bins = cms.vdouble(100, -5, 5),
132 inputVariables = cms.vstring("eta"),
133 ),
134 cms.PSet (
135 name = cms.string("electronPhi"),
136 title = cms.string("Electron Phi; #phi"),
137 bins = cms.vdouble(100, -3.15, 3.15),
138 inputVariables = cms.vstring("phi"),
139 ),
140 cms.PSet (
141 name = cms.string("electronEtaPhi"),
142 title = cms.string("Electron Eta vs. Phi; #phi; #eta"),
143 bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
144 inputVariables = cms.vstring("phi","eta"),
145 ),
146 cms.PSet (
147 name = cms.string("electronD0"),
148 title = cms.string("Electron d_{0}; d_{0} [cm]"),
149 bins = cms.vdouble(5000, -1, 1),
150 inputVariables = cms.vstring("correctedD0Vertex"),
151 ),
152 cms.PSet (
153 name = cms.string("electronAbsD0"),
154 title = cms.string("Electron d_{0}; |d_{0}| [cm]"),
155 bins = cms.vdouble(5000, 0, 1),
156 inputVariables = cms.vstring("abs(correctedD0Vertex)"),
157 ),
158 cms.PSet (
159 name = cms.string("electronD0Sig"),
160 title = cms.string("Electron d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
161 bins = cms.vdouble(1000, -10.0, 10.0),
162 inputVariables = cms.vstring("correctedD0VertexSig"),
163 ),
164 cms.PSet (
165 name = cms.string("electronAbsD0Sig"),
166 title = cms.string("Electron d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
167 bins = cms.vdouble(1000, 0, 10.0),
168 inputVariables = cms.vstring("abs(correctedD0VertexSig)"),
169 ),
170 cms.PSet (
171 name = cms.string("electronDz"),
172 title = cms.string("Electron d_{z}; d_{z} [cm]"),
173 bins = cms.vdouble(5000, -20, 20),
174 inputVariables = cms.vstring("correctedDZ"),
175 ),
176 cms.PSet (
177 name = cms.string("electronAbsDz"),
178 title = cms.string("Electron |d_{z}|; |d_{z}| [cm]"),
179 bins = cms.vdouble(5000, 0, 20),
180 inputVariables = cms.vstring("abs(correctedDZ)"),
181 ),
182 cms.PSet (
183 name = cms.string("electronDetIso"),
184 title = cms.string("Electron Detector-based Isolation; rel. iso."),
185 bins = cms.vdouble(1000, 0, 1),
186 inputVariables = cms.vstring("detIso"),
187 ),
188 cms.PSet (
189 name = cms.string("electronPFrhoIso"),
190 title = cms.string("Electron PF-based #rho-corrected Isolation; rel. iso."),
191 bins = cms.vdouble(1000, 0, 1),
192 inputVariables = cms.vstring("relPFrhoIso"),
193 ),
194 cms.PSet (
195 name = cms.string("electronFbrem"),
196 title = cms.string("Electron Brem. Energy Fraction; fbrem"),
197 bins = cms.vdouble(1000, 0, 2),
198 inputVariables = cms.vstring("fbrem"),
199 ),
200 cms.PSet (
201 name = cms.string("electronMvaTrigV0"),
202 title = cms.string("Electron ID Triggering MVA Output"),
203 bins = cms.vdouble(1000, -1.1, 1.1),
204 inputVariables = cms.vstring("mvaTrigV0"),
205 ),
206 cms.PSet (
207 name = cms.string("electronMvaNonTrigV0"),
208 title = cms.string("Electron ID Non-triggering MVA Output"),
209 bins = cms.vdouble(1000, -1.1, 1.1),
210 inputVariables = cms.vstring("mvaNonTrigV0"),
211 ),
212 )
213 )
214
215 DiElectronHistograms = cms.PSet(
216 inputCollection = cms.string("electron-electron pairs"),
217 histograms = cms.VPSet (
218 cms.PSet (
219 name = cms.string("diElectronInvMass"),
220 title = cms.string("Di-electron Invariant Mass; M_{ee} [GeV]"),
221 bins = cms.vdouble(100, 0, 500),
222 inputVariables = cms.vstring("invMass"),
223 ),
224 cms.PSet (
225 name = cms.string("diElectronDeltaD0"),
226 title = cms.string("Di-electron Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
227 bins = cms.vdouble(1000, 0, 0.5),
228 inputVariables = cms.vstring("abs(deltaCorrectedD0Vertex)"),
229 ),
230 cms.PSet (
231 name = cms.string("diElectronDeltaAbsD0"),
232 title = cms.string("Di-electron Impact Parameter Difference; |#Delta(|d_{0}|)| [cm]"),
233 bins = cms.vdouble(1000, 0, 0.5),
234 inputVariables = cms.vstring("abs(deltaAbsCorrectedD0Vertex)"),
235 ),
236 cms.PSet (
237 name = cms.string("diElectronD0Sign"),
238 title = cms.string("Sign of Impact Parameter Product; sign(d_{0}_{1}*d_{0}_{2})"),
239 bins = cms.vdouble(2, -1, 1),
240 inputVariables = cms.vstring("d0Sign"),
241 ),
242 )
243 )
244
245 ElectronMuonHistograms = cms.PSet(
246 inputCollection = cms.string("electron-muon pairs"),
247 histograms = cms.VPSet (
248 cms.PSet (
249 name = cms.string("electronMuonInvMass"),
250 title = cms.string("Electron-muon Invariant Mass; M_{e#mu} [GeV]"),
251 bins = cms.vdouble(100, 0, 500),
252 inputVariables = cms.vstring("invMass"),
253 ),
254 cms.PSet (
255 name = cms.string("electronMuonDeltaD0"),
256 title = cms.string("Electron-muon Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
257 bins = cms.vdouble(1000, -1, 1),
258 inputVariables = cms.vstring("abs(deltaCorrectedD0Vertex)"),
259 ),
260 cms.PSet (
261 name = cms.string("electronMuonDeltaAbsD0"),
262 title = cms.string("Electron-muon Impact Parameter Difference; |#Delta(|d_{0}|)| [cm]"),
263 bins = cms.vdouble(1000, -1, 1),
264 inputVariables = cms.vstring("abs(deltaAbsCorrectedD0Vertex)"),
265 ),
266 cms.PSet (
267 name = cms.string("electronMuonD0Sign"),
268 title = cms.string("Sign of Impact Parameter Product; sign(d_{0}_{1}*d_{0}_{2})"),
269 bins = cms.vdouble(2, -1, 1),
270 inputVariables = cms.vstring("d0Sign"),
271 ),
272 )
273 )
274
275
276
277 MCParticleHistograms = cms.PSet(
278 inputCollection = cms.string("mcparticles"),
279 histograms = cms.VPSet (
280 cms.PSet (
281 name = cms.string("mcparticleD0"),
282 title = cms.string("MCparticle d_{0}; d_{0} [cm]"),
283 bins = cms.vdouble(5000, -1, 1),
284 inputVariables = cms.vstring("d0"),
285 ),
286 cms.PSet (
287 name = cms.string("mcparticleAbsD0"),
288 title = cms.string("MCparticle d_{0}; |d_{0}| [cm]"),
289 bins = cms.vdouble(5000, 0, 1),
290 inputVariables = cms.vstring("abs(d0)"),
291 ),
292 cms.PSet (
293 name = cms.string("mcparticleDz"),
294 title = cms.string("MCparticle d_{z}; d_{z} [cm]"),
295 bins = cms.vdouble(5000, -20, 20),
296 inputVariables = cms.vstring("dz"),
297 ),
298 cms.PSet (
299 name = cms.string("mcparticleAbsDZ"),
300 title = cms.string("MCparticle d_{z}; |d_{z}| [cm]"),
301 bins = cms.vdouble(5000, 0, 20),
302 inputVariables = cms.vstring("abs(dz)"),
303 ),
304 )
305 )
306
307
308 MetHistograms = cms.PSet(
309 inputCollection = cms.string("mets"),
310 histograms = cms.VPSet (
311 cms.PSet (
312 name = cms.string("met"),
313 title = cms.string("Missing E_[T]; Missing E_{T} [GeV]"),
314 bins = cms.vdouble(500, 0, 500),
315 inputVariables = cms.vstring("pt"),
316 ),
317 )
318 )