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.10 by lantonel, Wed Feb 27 10:43:30 2013 UTC vs.
Revision 1.15 by ahart, Mon Mar 18 10:29:18 2013 UTC

# Line 41 | Line 41 | MuonHistograms = cms.PSet(
41          ),
42          cms.PSet (
43              name = cms.string("muonD0Vertex"),
44 <            title = cms.string("Muon d_{0} wrt Vertex; d_{0} [cm]"),
44 >            title = cms.string("Muon d_{0} wrt PV; d_{0} [cm]"),
45              bins = cms.vdouble(5000, -1, 1),
46              inputVariables = cms.vstring("correctedD0Vertex"),
47          ),
# Line 65 | Line 65 | MuonHistograms = cms.PSet(
65          ),
66          cms.PSet (
67              name = cms.string("muonAbsD0Vertex"),
68 <            title = cms.string("Muon d_{0}; |d_{0}| [cm]"),
69 <            bins = cms.vdouble(1000, 0, 1),
68 >            title = cms.string("Muon |d_{0}| wrt Vertex; |d_{0}| [cm]"),
69 >            bins = cms.vdouble(5000, 0, 1),
70              inputVariables = cms.vstring("abs(correctedD0Vertex)")
71          ),
72          cms.PSet (
73 +            name = cms.string("muonAbsD0Beamspot"),
74 +            title = cms.string("Muon |d_{0}| wrt Beamspot; |d_{0}| [cm]"),
75 +            bins = cms.vdouble(5000, 0, 1),
76 +            inputVariables = cms.vstring("abs(correctedD0)")
77 +        ),
78 +        cms.PSet (
79 +            name = cms.string("muonAbsD0Origin"),
80 +            title = cms.string("Muon |d_{0}| wrt CMS Origin; |d_{0}| [cm]"),
81 +            bins = cms.vdouble(5000, 0, 1),
82 +            inputVariables = cms.vstring("abs(tkD0)")
83 +        ),
84 +        cms.PSet (
85              name = cms.string("muonD0VertexSig"),
86              title = cms.string("Muon d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
87              bins = cms.vdouble(1000, -10.0, 10.0),
# Line 119 | Line 131 | DiMuonHistograms = cms.PSet(
131              inputVariables = cms.vstring("invMass"),
132          ),
133          cms.PSet (
134 +            name = cms.string("diMuonDeltaPhi"),
135 +            title = cms.string("Di-muon Phi Difference; |#Delta(#phi)|"),
136 +            bins = cms.vdouble(1000, 0, 3.14),
137 +            inputVariables = cms.vstring("deltaPhi"),
138 +        ),
139 +        cms.PSet (
140 +            name = cms.string("diMuonDeltaR"),
141 +            title = cms.string("Di-muon #DeltaR; #DeltaR"),
142 +            bins = cms.vdouble(1000, 0, 10),
143 +            inputVariables = cms.vstring("deltaR"),
144 +        ),
145 +        cms.PSet (
146 +            name = cms.string("diMuonThreeDAngle"),
147 +            title = cms.string("Di-muon 3D angle; 3D angle"),
148 +            bins = cms.vdouble(1000, 0, 3.14),
149 +            inputVariables = cms.vstring("threeDAngle"),
150 +        ),
151 +        cms.PSet (
152              name = cms.string("diMuonDeltaD0"),
153              title = cms.string("Di-muon Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
154              bins = cms.vdouble(1000, 0, 0.5),
# Line 186 | Line 216 | ElectronHistograms = cms.PSet(
216              inputVariables = cms.vstring("correctedD0Vertex"),
217          ),
218          cms.PSet (
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 (
219              name = cms.string("electronD0Beamspot"),
220              title = cms.string("Electron d_{0} wrt Beamspot; d_{0} [cm]"),
221              bins = cms.vdouble(5000, -1, 1),
222              inputVariables = cms.vstring("correctedD0"),
223          ),
224          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 (
225              name = cms.string("electronD0Origin"),
226              title = cms.string("Electron d_{0} wrt CMS Origin; d_{0} [cm]"),
227              bins = cms.vdouble(5000, -1, 1),
228              inputVariables = cms.vstring("tkD0"),
229          ),
230          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 (
231              name = cms.string("electronD0VertexPhi"),
232              title = cms.string("Electron d_{0} wrt Vertex vs Phi; #phi; d_{0} [cm]"),
233              bins = cms.vdouble(100, -3.15, 3.15, 5000, -1, 1),
# Line 259 | Line 235 | ElectronHistograms = cms.PSet(
235          ),
236          cms.PSet (
237              name = cms.string("electronAbsD0Vertex"),
238 <            title = cms.string("Electron d_{0}; |d_{0}| [cm]"),
238 >            title = cms.string("Electron |d_{0}| wrt Vertex; |d_{0}| [cm]"),
239 >            bins = cms.vdouble(5000, 0, 1),
240 >            inputVariables = cms.vstring("abs(correctedD0Vertex)"),
241 >        ),
242 >        cms.PSet (
243 >            name = cms.string("electronAbsD0Beamspot"),
244 >            title = cms.string("Electron |d_{0}| wrt Beamspot; |d_{0}| [cm]"),
245              bins = cms.vdouble(5000, 0, 1),
246              inputVariables = cms.vstring("abs(correctedD0Vertex)"),
247          ),
248          cms.PSet (
249 +            name = cms.string("electronAbsD0Origin"),
250 +            title = cms.string("Electron |d_{0}| wrt CMS Origin; |d_{0}| [cm]"),
251 +            bins = cms.vdouble(5000, 0, 1),
252 +            inputVariables = cms.vstring("abs(tkD0)"),
253 +        ),
254 +        cms.PSet (
255              name = cms.string("electronD0VertexSig"),
256              title = cms.string("Electron d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
257              bins = cms.vdouble(1000, -10.0, 10.0),
# Line 330 | Line 318 | DiElectronHistograms = cms.PSet(
318              inputVariables = cms.vstring("invMass"),
319          ),
320          cms.PSet (
321 +            name = cms.string("diElectronDeltaPhi"),
322 +            title = cms.string("Di-electron Phi Difference; |#Delta(#phi)|"),
323 +            bins = cms.vdouble(1000, 0, 3.14),
324 +            inputVariables = cms.vstring("deltaPhi"),
325 +        ),
326 +        cms.PSet (
327 +            name = cms.string("diElectronDeltaR"),
328 +            title = cms.string("Di-electron #DeltaR; #DeltaR"),
329 +            bins = cms.vdouble(1000, 0, 10),
330 +            inputVariables = cms.vstring("deltaR"),
331 +        ),
332 +        cms.PSet (
333 +            name = cms.string("diElectronThreeDAngle"),
334 +            title = cms.string("Di-muon 3D angle; 3D angle"),
335 +            bins = cms.vdouble(1000, 0, 3.14),
336 +            inputVariables = cms.vstring("threeDAngle"),
337 +        ),        
338 +        cms.PSet (
339              name = cms.string("diElectronDeltaD0"),
340              title = cms.string("Di-electron Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
341              bins = cms.vdouble(1000, 0, 0.5),
# Line 372 | Line 378 | ElectronMuonHistograms = cms.PSet(
378              inputVariables = cms.vstring("invMass"),
379          ),
380          cms.PSet (
381 +            name = cms.string("electronMuonDeltaPhi"),
382 +            title = cms.string("Electron-muon Phi Difference; |#Delta(#phi)|"),
383 +            bins = cms.vdouble(1000, 0, 3.14),
384 +            inputVariables = cms.vstring("deltaPhi"),
385 +        ),
386 +        cms.PSet (
387 +            name = cms.string("electronMuonDeltaR"),
388 +            title = cms.string("Electron-muon #DeltaR; #DeltaR"),
389 +            bins = cms.vdouble(1000, 0, 10),
390 +            inputVariables = cms.vstring("deltaR"),
391 +        ),
392 +        cms.PSet (
393 +            name = cms.string("electronMuonThreeDAngle"),
394 +            title = cms.string("Di-muon 3D angle; 3D angle"),
395 +            bins = cms.vdouble(1000, 0, 3.14),
396 +            inputVariables = cms.vstring("threeDAngle"),
397 +        ),
398 +        cms.PSet (
399              name = cms.string("electronMuonDeltaD0"),
400              title = cms.string("Electron-muon Impact Parameter Difference; |#Delta(d_{0})| [cm]"),
401              bins = cms.vdouble(1000, 0, 0.5),
# Line 396 | Line 420 | ElectronMuonHistograms = cms.PSet(
420              inputVariables = cms.vstring("muonCorrectedD0Vertex","electronCorrectedD0Vertex"),
421          ),
422          cms.PSet (
423 <            name = cms.string("electronAbsD0vsMuonAbsD0"),
424 <            title = cms.string("Electron |d_{0}| vs Muon |d_{0}|; electron |d_{0}| [cm]; muon |d_{0}| [cm]"),
423 >            name = cms.string("electronAbsD0VertexVsMuonAbsD0Vertex"),
424 >            title = cms.string("Electron |d_{0}| wrt Vertex vs Muon |d_{0}| wrt Vertex; electron |d_{0}| [cm]; muon |d_{0}| [cm]"),
425              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
426              inputVariables = cms.vstring("abs(electronCorrectedD0Vertex)","abs(muonCorrectedD0Vertex)"),
427          ),
428 <        
428 >        cms.PSet (
429 >            name = cms.string("electronAbsD0BeamspotVsMuonAbsD0Beamspot"),
430 >            title = cms.string("Electron |d_{0}| wrt Beamspot vs Muon |d_{0}| wrt Beamspot; electron |d_{0}| [cm]; muon |d_{0}| [cm]"),
431 >            bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
432 >            inputVariables = cms.vstring("abs(electronCorrectedD0)","abs(muonCorrectedD0)"),
433 >        ),
434 >        cms.PSet (
435 >            name = cms.string("electronDetIsoVsMuonDetIso"),
436 >            title = cms.string(";electron detIso;muon detIso"),
437 >            bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
438 >            inputVariables = cms.vstring("electronDetIso","muonDetIso"),
439 >        ),
440      )
441   )
442  
# Line 436 | Line 471 | MCParticleHistograms = cms.PSet(
471          ),
472          cms.PSet (
473              name = cms.string("mcparticleV0"),
474 <            title = cms.string("MCparticle transverse V_{0}; v0[cm]"),
474 >            title = cms.string("MCparticle transverse V_{0}; v0 [cm]"),
475              bins = cms.vdouble(5000, -1, 1),
476              inputVariables = cms.vstring("v0"),
477          ),
478          cms.PSet (
479              name = cms.string("mcparticleVz"),
480 <            title = cms.string("MCparticle V_{z}; Vz[cm]"),
480 >            title = cms.string("MCparticle V_{z}; Vz [cm]"),
481              bins = cms.vdouble(5000, -20, 20),
482              inputVariables = cms.vstring("vz"),
483          ),
484          cms.PSet (
485              name = cms.string("mcparticleDeltaV0"),
486 <            title = cms.string("MCparticle delta transverse V_{0}; delta v0[cm]"),
486 >            title = cms.string("MCparticle delta transverse V_{0}; delta v0 [cm]"),
487              bins = cms.vdouble(5000, -1, 1),
488              inputVariables = cms.vstring("deltaV0"),
489          ),
490          cms.PSet (
491              name = cms.string("mcparticleDeltaVx"),
492 <            title = cms.string("MCparticle delta V_{x}; delta vx[cm]"),
492 >            title = cms.string("MCparticle delta V_{x}; delta vx [cm]"),
493              bins = cms.vdouble(5000, -1, 1),
494              inputVariables = cms.vstring("deltaVx"),
495          ),
496          cms.PSet (
497              name = cms.string("mcparticleDeltaVy"),
498 <            title = cms.string("MCparticle delta V_{y}; delta vy[cm]"),
498 >            title = cms.string("MCparticle delta V_{y}; delta vy [cm]"),
499              bins = cms.vdouble(5000, -1, 1),
500              inputVariables = cms.vstring("deltaVy"),
501          ),
502          cms.PSet (
503              name = cms.string("mcparticleDeltaVz"),
504 <            title = cms.string("MCparticle delta V_{z}; delta Vz[cm]"),
504 >            title = cms.string("MCparticle delta V_{z}; delta Vz [cm]"),
505              bins = cms.vdouble(10000, -20, 20),
506              inputVariables = cms.vstring("deltaVz"),
507          ),
# Line 481 | Line 516 | MetHistograms = cms.PSet(
516          cms.PSet (
517              name = cms.string("met"),
518              title = cms.string("Missing E_[T]; Missing E_{T} [GeV]"),
519 +
520              bins = cms.vdouble(500, 0, 500),
521              inputVariables = cms.vstring("pt"),
522          ),
523      )
524   )
525 +
526 + JetHistograms = cms.PSet(
527 +    inputCollection = cms.string("jets"),
528 +    histograms = cms.VPSet (
529 +        cms.PSet (
530 +            name = cms.string("jetPt"),
531 +            title = cms.string("Jet pT; Jet pT [GeV]"),
532 +            bins = cms.vdouble(500, 0, 500),
533 +            inputVariables = cms.vstring("pt"),
534 +        ),
535 +    )
536 + )
537 +
538 + TrackHistograms = cms.PSet(
539 +     inputCollection = cms.string("tracks"),
540 +     histograms = cms.VPSet (
541 +        cms.PSet (
542 +            name = cms.string("trackPt"),
543 +            title = cms.string("Track Transverse Momentum; p_{T} [GeV]"),
544 +            bins = cms.vdouble(100, 0, 500),
545 +            inputVariables = cms.vstring("pt"),
546 +                   ),
547 +         cms.PSet (
548 +             name = cms.string("trackEta"),
549 +             title = cms.string("Track Eta; #eta"),
550 +             bins = cms.vdouble(100, -5, 5),
551 +             inputVariables = cms.vstring("eta"),
552 +                        ),
553 +
554 +        cms.PSet (
555 +             name = cms.string("trackPhi"),
556 +             title = cms.string("Track Phi; #phi"),
557 +             bins = cms.vdouble(100, -5, 5),
558 +             inputVariables = cms.vstring("phi"),
559 +                        ),
560 +        cms.PSet (
561 +            name = cms.string("trackd0"),
562 +            title = cms.string("Track d_{0}; d_{0} [cm]"),
563 +            bins = cms.vdouble(100, -0.5, 0.5),
564 +            inputVariables = cms.vstring("d0"),
565 +         ),
566 +
567 +        cms.PSet (
568 +            name = cms.string("trackdz"),
569 +            title = cms.string("Track d_{z}; d_{z} [cm]"),
570 +            bins = cms.vdouble(100, -30, 30),
571 +            inputVariables = cms.vstring("dZ"),
572 +         ),
573 +       cms.PSet (
574 +            name = cms.string("trackNumValidHits"),
575 +            title = cms.string("Track Number of Valid Hits; Number of Valid Hits"),
576 +            bins = cms.vdouble(100, 0, 30),
577 +            inputVariables = cms.vstring("numValidHits"),
578 +            ),
579 +
580 +             cms.PSet (
581 +            name = cms.string("trackChi2"),
582 +            title = cms.string("Track Reduced Chi2; #chi^{2} / DOF"),
583 +            bins = cms.vdouble(100, 0, 30),
584 +            inputVariables = cms.vstring("normChi2"),
585 +            ),
586 +        
587 +        
588 +    )
589 +  )
590 +
591 + EventHistograms = cms.PSet(
592 +    inputCollection = cms.string("events"),
593 +    histograms = cms.VPSet (
594 +        cms.PSet (
595 +            name = cms.string("puScaleFactor"),
596 +            title = cms.string("Pileup Scale Factor;pileup weight"),
597 +            bins = cms.vdouble(1000, 0, 10),
598 +            inputVariables = cms.vstring("puScaleFactor"),
599 +        ),
600 +        cms.PSet (
601 +            name = cms.string("muonScaleFactor"),
602 +            title = cms.string("Muon Scale Factor;muon weight"),
603 +            bins = cms.vdouble(1000, 0.5, 1.5),
604 +            inputVariables = cms.vstring("muonScaleFactor"),
605 +        ),
606 +        cms.PSet (
607 +            name = cms.string("electronScaleFactor"),
608 +            title = cms.string("Electron Scale Factor;electron weight"),
609 +            bins = cms.vdouble(1000, 0.5, 1.5),
610 +            inputVariables = cms.vstring("electronScaleFactor"),
611 +        ),
612 +    )
613 +  )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines