ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py
(Generate patch)

Comparing UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py (file contents):
Revision 1.8 by lantonel, Thu Feb 21 16:34:11 2013 UTC vs.
Revision 1.10 by lantonel, Wed Feb 27 10:43:30 2013 UTC

# Line 22 | Line 22 | MuonHistograms = cms.PSet(
22              inputVariables = cms.vstring("eta"),
23          ),
24          cms.PSet (
25 +            name = cms.string("muonGenEta"),
26 +            title = cms.string("Muon Gen. Eta; #eta"),
27 +            bins = cms.vdouble(100, -5, 5),
28 +            inputVariables = cms.vstring("genEta"),
29 +        ),
30 +        cms.PSet (
31              name = cms.string("muonPhi"),
32              title = cms.string("Muon Phi; #phi"),
33              bins = cms.vdouble(100, -3.15, 3.15),
# Line 34 | Line 40 | MuonHistograms = cms.PSet(
40              inputVariables = cms.vstring("phi","eta"),
41          ),
42          cms.PSet (
43 <            name = cms.string("muonD0"),
44 <            title = cms.string("Muon d_{0}; d_{0} [cm]"),
43 >            name = cms.string("muonD0Vertex"),
44 >            title = cms.string("Muon d_{0} wrt Vertex; d_{0} [cm]"),
45              bins = cms.vdouble(5000, -1, 1),
46              inputVariables = cms.vstring("correctedD0Vertex"),
47          ),
48          cms.PSet (
49 <            name = cms.string("muonAbsD0"),
49 >            name = cms.string("muonD0Beamspot"),
50 >            title = cms.string("Muon d_{0} wrt Beamspot; d_{0} [cm]"),
51 >            bins = cms.vdouble(5000, -1, 1),
52 >            inputVariables = cms.vstring("correctedD0"),
53 >        ),
54 >        cms.PSet (
55 >            name = cms.string("muonD0Origin"),
56 >            title = cms.string("Muon d_{0} wrt CMS Origin; d_{0} [cm]"),
57 >            bins = cms.vdouble(5000, -1, 1),
58 >            inputVariables = cms.vstring("tkD0"),
59 >        ),
60 >        cms.PSet (
61 >            name = cms.string("muonD0VertexPhi"),
62 >            title = cms.string("Muon d_{0} wrt Vertex vs Phi; #phi; d_{0} [cm]"),
63 >            bins = cms.vdouble(100, -3.15, 3.15, 5000, -1, 1),
64 >            inputVariables = cms.vstring("phi","correctedD0Vertex"),
65 >        ),
66 >        cms.PSet (
67 >            name = cms.string("muonAbsD0Vertex"),
68              title = cms.string("Muon d_{0}; |d_{0}| [cm]"),
69 <            bins = cms.vdouble(5000, 0, 1),
69 >            bins = cms.vdouble(1000, 0, 1),
70              inputVariables = cms.vstring("abs(correctedD0Vertex)")
71          ),
72          cms.PSet (
73 <            name = cms.string("muonD0Sig"),
73 >            name = cms.string("muonD0VertexSig"),
74              title = cms.string("Muon d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
75              bins = cms.vdouble(1000, -10.0, 10.0),
76              inputVariables = cms.vstring("correctedD0VertexSig"),
77          ),
78          cms.PSet (
79 <            name = cms.string("muonAbsD0Sig"),
79 >            name = cms.string("muonAbsD0VertexSig"),
80              title = cms.string("Muon d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
81              bins = cms.vdouble(1000, 0, 10.0),
82              inputVariables = cms.vstring("abs(correctedD0VertexSig)"),
# Line 60 | Line 84 | MuonHistograms = cms.PSet(
84          cms.PSet (
85              name = cms.string("muonDz"),
86              title = cms.string("Muon d_{z}; d_{z} [cm]"),
87 <            bins = cms.vdouble(5000, -20, 20),
87 >            bins = cms.vdouble(10000, -20, 20),
88              inputVariables = cms.vstring("correctedDZ"),
89          ),
90          cms.PSet (
# Line 93 | Line 117 | DiMuonHistograms = cms.PSet(
117              title = cms.string("Di-muon Invariant Mass; M_{#mu#mu} [GeV]"),
118              bins = cms.vdouble(100, 0, 500),
119              inputVariables = cms.vstring("invMass"),
120 <        )
120 >        ),
121 >        cms.PSet (
122 >            name = cms.string("diMuonDeltaD0"),
123 >            title = cms.string("Di-muon Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
124 >            bins = cms.vdouble(1000, 0, 0.5),
125 >            inputVariables = cms.vstring("abs(deltaCorrectedD0Vertex)"),
126 >        ),
127 >        cms.PSet (
128 >            name = cms.string("diMuonDeltaAbsD0"),
129 >            title = cms.string("Di-muon Impact Parameter Difference; |#Delta(|d_{0}|)| [cm]"),
130 >            bins = cms.vdouble(1000, 0, 0.5),
131 >            inputVariables = cms.vstring("abs(deltaAbsCorrectedD0Vertex)"),
132 >        ),
133 >        cms.PSet (
134 >            name = cms.string("diMuonD0Sign"),
135 >            title = cms.string("Sign of Impact Parameter Product; sign(d_{0}_{1}*d_{0}_{2})"),
136 >            bins = cms.vdouble(2, -1, 1),
137 >            inputVariables = cms.vstring("d0Sign"),
138 >        ),
139 >        cms.PSet (
140 >            name = cms.string("muon1D0vsMuon2D0"),
141 >            title = cms.string("Muon #1 d_{0} vs Muon #2 d_{0}; d_{0} [cm]; d_{0} [cm]"),
142 >            bins = cms.vdouble(1000, -1, 1, 1000, -1, 1),
143 >            inputVariables = cms.vstring("muon1CorrectedD0Vertex","muon2CorrectedD0Vertex"),
144 >        ),
145 >        cms.PSet (
146 >            name = cms.string("muon1AbsD0vsMuon2AbsD0"),
147 >            title = cms.string("Muon #1 |d_{0}| vs Muon #2 |d_{0}|; |d_{0}| [cm]; |d_{0}| [cm]"),
148 >            bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
149 >            inputVariables = cms.vstring("abs(muon1CorrectedD0Vertex)","abs(muon2CorrectedD0Vertex)"),
150 >        ),
151 >
152      )
153   )
154  
# Line 125 | Line 180 | ElectronHistograms = cms.PSet(
180              inputVariables = cms.vstring("phi","eta"),
181          ),
182          cms.PSet (
183 <            name = cms.string("electronD0"),
184 <            title = cms.string("Electron d_{0}; d_{0} [cm]"),
183 >            name = cms.string("electronD0Vertex"),
184 >            title = cms.string("Electron d_{0} wrt PV; d_{0} [cm]"),
185              bins = cms.vdouble(5000, -1, 1),
186              inputVariables = cms.vstring("correctedD0Vertex"),
187          ),
188          cms.PSet (
189 <            name = cms.string("electronAbsD0"),
189 >            name = cms.string("electronD0VertexInEB"),
190 >            title = cms.string("Electron d_{0} wrt PV for Inner Barrel; d_{0} [cm]"),
191 >            bins = cms.vdouble(5000, -1, 1),
192 >            inputVariables = cms.vstring("correctedD0VertexInEB"),
193 >        ),
194 >        cms.PSet (
195 >            name = cms.string("electronD0VertexOutEB"),
196 >            title = cms.string("Electron d_{0} wrt PV for Outer Barrel; d_{0} [cm]"),
197 >            bins = cms.vdouble(5000, -1, 1),
198 >            inputVariables = cms.vstring("correctedD0VertexOutEB"),
199 >        ),
200 >        cms.PSet (
201 >            name = cms.string("electronD0VertexEE"),
202 >            title = cms.string("Electron d_{0} wrt PV for Endcaps; d_{0} [cm]"),
203 >            bins = cms.vdouble(5000, -1, 1),
204 >            inputVariables = cms.vstring("correctedD0VertexEE"),
205 >        ),
206 >        cms.PSet (
207 >            name = cms.string("electronD0Beamspot"),
208 >            title = cms.string("Electron d_{0} wrt Beamspot; d_{0} [cm]"),
209 >            bins = cms.vdouble(5000, -1, 1),
210 >            inputVariables = cms.vstring("correctedD0"),
211 >        ),
212 >        cms.PSet (
213 >            name = cms.string("electronD0BeamspotInEB"),
214 >            title = cms.string("Electron d_{0} wrt Beamspot for Inner Barrel; d_{0} [cm]"),
215 >            bins = cms.vdouble(5000, -1, 1),
216 >            inputVariables = cms.vstring("correctedD0BeamspotInEB"),
217 >        ),
218 >        cms.PSet (
219 >            name = cms.string("electronD0BeamspotOutEB"),
220 >            title = cms.string("Electron d_{0} wrt Beamspot for Outer Barrel; d_{0} [cm]"),
221 >            bins = cms.vdouble(5000, -1, 1),
222 >            inputVariables = cms.vstring("correctedD0BeamspotOutEB"),
223 >        ),
224 >        cms.PSet (
225 >            name = cms.string("electronD0BeamspotEE"),
226 >            title = cms.string("Electron d_{0} wrt Beamspotfor Endcaps; d_{0} [cm]"),
227 >            bins = cms.vdouble(5000, -1, 1),
228 >            inputVariables = cms.vstring("correctedD0BeamspotEE"),
229 >        ),
230 >        cms.PSet (
231 >            name = cms.string("electronD0Origin"),
232 >            title = cms.string("Electron d_{0} wrt CMS Origin; d_{0} [cm]"),
233 >            bins = cms.vdouble(5000, -1, 1),
234 >            inputVariables = cms.vstring("tkD0"),
235 >        ),
236 >        cms.PSet (
237 >            name = cms.string("electronD0OriginInEB"),
238 >            title = cms.string("Electron d_{0} wrt CMS Origin for Inner Barrel; d_{0} [cm]"),
239 >            bins = cms.vdouble(5000, -1, 1),
240 >            inputVariables = cms.vstring("correctedD0OriginInEB"),
241 >        ),
242 >        cms.PSet (
243 >            name = cms.string("electronD0OriginOutEB"),
244 >            title = cms.string("Electron d_{0} wrt CMS Origin for Outer Barrel; d_{0} [cm]"),
245 >            bins = cms.vdouble(5000, -1, 1),
246 >            inputVariables = cms.vstring("correctedD0OriginOutEB"),
247 >        ),
248 >        cms.PSet (
249 >            name = cms.string("electronD0OriginEE"),
250 >            title = cms.string("Electron d_{0} wrt CMS Originfor Endcaps; d_{0} [cm]"),
251 >            bins = cms.vdouble(5000, -1, 1),
252 >            inputVariables = cms.vstring("correctedD0OriginEE"),
253 >        ),
254 >        cms.PSet (
255 >            name = cms.string("electronD0VertexPhi"),
256 >            title = cms.string("Electron d_{0} wrt Vertex vs Phi; #phi; d_{0} [cm]"),
257 >            bins = cms.vdouble(100, -3.15, 3.15, 5000, -1, 1),
258 >            inputVariables = cms.vstring("phi","correctedD0Vertex"),
259 >        ),
260 >        cms.PSet (
261 >            name = cms.string("electronAbsD0Vertex"),
262              title = cms.string("Electron d_{0}; |d_{0}| [cm]"),
263              bins = cms.vdouble(5000, 0, 1),
264              inputVariables = cms.vstring("abs(correctedD0Vertex)"),
265          ),
266          cms.PSet (
267 <            name = cms.string("electronD0Sig"),
267 >            name = cms.string("electronD0VertexSig"),
268              title = cms.string("Electron d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
269              bins = cms.vdouble(1000, -10.0, 10.0),
270              inputVariables = cms.vstring("correctedD0VertexSig"),
271          ),
272          cms.PSet (
273 <            name = cms.string("electronAbsD0Sig"),
273 >            name = cms.string("electronAbsD0VertexSig"),
274              title = cms.string("Electron d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
275              bins = cms.vdouble(1000, 0, 10.0),
276              inputVariables = cms.vstring("abs(correctedD0VertexSig)"),
# Line 151 | Line 278 | ElectronHistograms = cms.PSet(
278          cms.PSet (
279              name = cms.string("electronDz"),
280              title = cms.string("Electron d_{z}; d_{z} [cm]"),
281 <            bins = cms.vdouble(5000, -20, 20),
281 >            bins = cms.vdouble(10000, -20, 20),
282              inputVariables = cms.vstring("correctedDZ"),
283          ),
284          cms.PSet (
# Line 201 | Line 328 | DiElectronHistograms = cms.PSet(
328              title = cms.string("Di-electron Invariant Mass; M_{ee} [GeV]"),
329              bins = cms.vdouble(100, 0, 500),
330              inputVariables = cms.vstring("invMass"),
331 <        )
331 >        ),
332 >        cms.PSet (
333 >            name = cms.string("diElectronDeltaD0"),
334 >            title = cms.string("Di-electron Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
335 >            bins = cms.vdouble(1000, 0, 0.5),
336 >            inputVariables = cms.vstring("abs(deltaCorrectedD0Vertex)"),
337 >        ),
338 >        cms.PSet (
339 >            name = cms.string("diElectronDeltaAbsD0"),
340 >            title = cms.string("Di-electron Impact Parameter Difference; |#Delta(|d_{0}|)| [cm]"),
341 >            bins = cms.vdouble(1000, 0, 0.5),
342 >            inputVariables = cms.vstring("abs(deltaAbsCorrectedD0Vertex)"),
343 >        ),
344 >        cms.PSet (
345 >            name = cms.string("diElectronD0Sign"),
346 >            title = cms.string("Sign of Impact Parameter Product; sign(d_{0}_{1}*d_{0}_{2})"),
347 >            bins = cms.vdouble(2, -1, 1),
348 >            inputVariables = cms.vstring("d0Sign"),
349 >        ),
350 >        cms.PSet (
351 >            name = cms.string("electron1D0vsElectron2D0"),
352 >            title = cms.string("Electron #1 d_{0} vs Electron #2 d_{0}; d_{0} [cm]; d_{0} [cm]"),
353 >            bins = cms.vdouble(1000, -1, 1, 1000, -1, 1),
354 >            inputVariables = cms.vstring("electron1CorrectedD0Vertex","electron2CorrectedD0Vertex"),
355 >        ),
356 >        cms.PSet (
357 >            name = cms.string("electron1AbsD0vsElectron2AbsD0"),
358 >            title = cms.string("Electron #1 |d_{0}| vs Electron #2 |d_{0}|; |d_{0}| [cm]; |d_{0}| [cm]"),
359 >            bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
360 >            inputVariables = cms.vstring("abs(electron1CorrectedD0Vertex)","abs(electron2CorrectedD0Vertex)"),
361 >        ),
362      )
363   )
364  
# Line 213 | Line 370 | ElectronMuonHistograms = cms.PSet(
370              title = cms.string("Electron-muon Invariant Mass; M_{e#mu} [GeV]"),
371              bins = cms.vdouble(100, 0, 500),
372              inputVariables = cms.vstring("invMass"),
373 <        )
373 >        ),
374 >        cms.PSet (
375 >            name = cms.string("electronMuonDeltaD0"),
376 >            title = cms.string("Electron-muon Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
377 >            bins = cms.vdouble(1000, 0, 0.5),
378 >            inputVariables = cms.vstring("abs(deltaCorrectedD0Vertex)"),
379 >        ),
380 >        cms.PSet (
381 >            name = cms.string("electronMuonDeltaAbsD0"),
382 >            title = cms.string("Electron-muon Impact Parameter Difference; |#Delta(|d_{0}|)| [cm]"),
383 >            bins = cms.vdouble(1000, 0, 0.5),
384 >            inputVariables = cms.vstring("abs(deltaAbsCorrectedD0Vertex)"),
385 >        ),
386 >        cms.PSet (
387 >            name = cms.string("electronMuonD0Sign"),
388 >            title = cms.string("Sign of Impact Parameter Product; sign(d_{0}_{1}*d_{0}_{2})"),
389 >            bins = cms.vdouble(2, -1, 1),
390 >            inputVariables = cms.vstring("d0Sign"),
391 >        ),
392 >        cms.PSet (
393 >            name = cms.string("electronD0vsMuonD0"),
394 >            title = cms.string("Electron d_{0} vs Muon d_{0}; muon d_{0} [cm]; electron d_{0} [cm]"),
395 >            bins = cms.vdouble(1000, -1, 1, 1000, -1, 1),
396 >            inputVariables = cms.vstring("muonCorrectedD0Vertex","electronCorrectedD0Vertex"),
397 >        ),
398 >        cms.PSet (
399 >            name = cms.string("electronAbsD0vsMuonAbsD0"),
400 >            title = cms.string("Electron |d_{0}| vs Muon |d_{0}|; electron |d_{0}| [cm]; muon |d_{0}| [cm]"),
401 >            bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
402 >            inputVariables = cms.vstring("abs(electronCorrectedD0Vertex)","abs(muonCorrectedD0Vertex)"),
403 >        ),
404 >        
405      )
406   )
407  
# Line 237 | Line 425 | MCParticleHistograms = cms.PSet(
425          cms.PSet (
426              name = cms.string("mcparticleDz"),
427              title = cms.string("MCparticle d_{z}; d_{z} [cm]"),
428 <            bins = cms.vdouble(5000, -20, 20),
428 >            bins = cms.vdouble(10000, -20, 20),
429              inputVariables = cms.vstring("dz"),
430          ),
431          cms.PSet (
# Line 246 | Line 434 | MCParticleHistograms = cms.PSet(
434              bins = cms.vdouble(5000, 0, 20),
435              inputVariables = cms.vstring("abs(dz)"),
436          ),
437 +        cms.PSet (
438 +            name = cms.string("mcparticleV0"),
439 +            title = cms.string("MCparticle transverse V_{0}; v0[cm]"),
440 +            bins = cms.vdouble(5000, -1, 1),
441 +            inputVariables = cms.vstring("v0"),
442 +        ),
443 +        cms.PSet (
444 +            name = cms.string("mcparticleVz"),
445 +            title = cms.string("MCparticle V_{z}; Vz[cm]"),
446 +            bins = cms.vdouble(5000, -20, 20),
447 +            inputVariables = cms.vstring("vz"),
448 +        ),
449 +        cms.PSet (
450 +            name = cms.string("mcparticleDeltaV0"),
451 +            title = cms.string("MCparticle delta transverse V_{0}; delta v0[cm]"),
452 +            bins = cms.vdouble(5000, -1, 1),
453 +            inputVariables = cms.vstring("deltaV0"),
454 +        ),
455 +        cms.PSet (
456 +            name = cms.string("mcparticleDeltaVx"),
457 +            title = cms.string("MCparticle delta V_{x}; delta vx[cm]"),
458 +            bins = cms.vdouble(5000, -1, 1),
459 +            inputVariables = cms.vstring("deltaVx"),
460 +        ),
461 +        cms.PSet (
462 +            name = cms.string("mcparticleDeltaVy"),
463 +            title = cms.string("MCparticle delta V_{y}; delta vy[cm]"),
464 +            bins = cms.vdouble(5000, -1, 1),
465 +            inputVariables = cms.vstring("deltaVy"),
466 +        ),
467 +        cms.PSet (
468 +            name = cms.string("mcparticleDeltaVz"),
469 +            title = cms.string("MCparticle delta V_{z}; delta Vz[cm]"),
470 +            bins = cms.vdouble(10000, -20, 20),
471 +            inputVariables = cms.vstring("deltaVz"),
472 +        ),
473 +
474      )
475   )    
476  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines