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.15 by ahart, Mon Mar 18 10:29:18 2013 UTC vs.
Revision 1.21 by lantonel, Tue Apr 9 09:39:02 2013 UTC

# Line 34 | Line 34 | MuonHistograms = cms.PSet(
34              inputVariables = cms.vstring("phi"),
35          ),
36          cms.PSet (
37 +            name = cms.string("muonCharge"),
38 +            title = cms.string("Muon Charge; charge"),
39 +            bins = cms.vdouble(3, -1.5, 1.5),
40 +            inputVariables = cms.vstring("charge"),
41 +        ),
42 +        cms.PSet (
43              name = cms.string("muonEtaPhi"),
44              title = cms.string("Muon Eta vs. Phi; #phi; #eta"),
45              bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
# Line 59 | Line 65 | MuonHistograms = cms.PSet(
65          ),
66          cms.PSet (
67              name = cms.string("muonD0VertexPhi"),
68 <            title = cms.string("Muon d_{0} wrt Vertex vs Phi; #phi; d_{0} [cm]"),
69 <            bins = cms.vdouble(100, -3.15, 3.15, 5000, -1, 1),
68 >            title = cms.string("Muon d_{0} wrt Vertex vs. Phi; #phi; d_{0} [cm]"),
69 >            bins = cms.vdouble(100, -3.15, 3.15, 1000, -1, 1),
70              inputVariables = cms.vstring("phi","correctedD0Vertex"),
71          ),
72          cms.PSet (
# Line 106 | Line 112 | MuonHistograms = cms.PSet(
112              inputVariables = cms.vstring("abs(correctedDZ)"),
113          ),
114          cms.PSet (
115 +            name = cms.string("muonAbsD0BeamspotVsAbsDz"),
116 +            title = cms.string("Muon |d_{0}| wrt Beamspot vs. Muon |d_{z}|; |d_{z}| [cm]; d_{0} [cm]"),
117 +            bins = cms.vdouble(1000, 0, 20, 1000, 0, 1),
118 +            inputVariables = cms.vstring("abs(correctedDZ)","abs(correctedD0)"),
119 +        ),
120 +        cms.PSet (
121              name = cms.string("muonDetIso"),
122              title = cms.string("Muon Detector-based Isolation; rel. iso."),
123              bins = cms.vdouble(1000, 0, 1),
# Line 117 | Line 129 | MuonHistograms = cms.PSet(
129              bins = cms.vdouble(1000, 0, 1),
130              inputVariables = cms.vstring("relPFdBetaIso"),
131          ),
132 +        cms.PSet (
133 +            name = cms.string("muonMetMt"),
134 +            title = cms.string("Transverse Mass of Muon-MET System; M_{T} [GeV]"),
135 +            bins = cms.vdouble(1000, 0, 100),
136 +            inputVariables = cms.vstring("metMT"),
137 +        ),
138  
139      )
140   )
# Line 131 | Line 149 | DiMuonHistograms = cms.PSet(
149              inputVariables = cms.vstring("invMass"),
150          ),
151          cms.PSet (
152 +            name = cms.string("diMuonChargeProduct"),
153 +            title = cms.string("Di-muon Charge Product; charge_{#mu}_{1}*charge_{#mu}_{2}"),
154 +            bins = cms.vdouble(3, -1.5, 1.5),
155 +            inputVariables = cms.vstring("chargeProduct"),
156 +        ),
157 +        cms.PSet (
158              name = cms.string("diMuonDeltaPhi"),
159              title = cms.string("Di-muon Phi Difference; |#Delta(#phi)|"),
160              bins = cms.vdouble(1000, 0, 3.14),
161              inputVariables = cms.vstring("deltaPhi"),
162          ),
163          cms.PSet (
164 +            name = cms.string("diMuonDeltaEta"),
165 +            title = cms.string("Di-muon Eta Difference; |#Delta(#eta)|"),
166 +            bins = cms.vdouble(1000, 0, 10),
167 +            inputVariables = cms.vstring("deltaEta"),
168 +        ),
169 +        cms.PSet (
170              name = cms.string("diMuonDeltaR"),
171              title = cms.string("Di-muon #DeltaR; #DeltaR"),
172              bins = cms.vdouble(1000, 0, 10),
# Line 168 | Line 198 | DiMuonHistograms = cms.PSet(
198          ),
199          cms.PSet (
200              name = cms.string("muon1D0vsMuon2D0"),
201 <            title = cms.string("Muon #1 d_{0} vs Muon #2 d_{0}; d_{0} [cm]; d_{0} [cm]"),
201 >            title = cms.string("Muon #1 d_{0} vs. Muon #2 d_{0}; d_{0} [cm]; d_{0} [cm]"),
202              bins = cms.vdouble(1000, -1, 1, 1000, -1, 1),
203 <            inputVariables = cms.vstring("muon1CorrectedD0Vertex","muon2CorrectedD0Vertex"),
203 >            inputVariables = cms.vstring("muon2CorrectedD0Vertex","muon1CorrectedD0Vertex"),
204          ),
205          cms.PSet (
206              name = cms.string("muon1AbsD0vsMuon2AbsD0"),
207 <            title = cms.string("Muon #1 |d_{0}| vs Muon #2 |d_{0}|; |d_{0}| [cm]; |d_{0}| [cm]"),
207 >            title = cms.string("Muon #1 |d_{0}| vs. Muon #2 |d_{0}|; |d_{0}| [cm]; |d_{0}| [cm]"),
208              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
209 <            inputVariables = cms.vstring("abs(muon1CorrectedD0Vertex)","abs(muon2CorrectedD0Vertex)"),
209 >            inputVariables = cms.vstring("abs(muon2CorrectedD0Vertex)","abs(muon1CorrectedD0Vertex)"),
210          ),
211  
212      )
# Line 204 | Line 234 | ElectronHistograms = cms.PSet(
234              inputVariables = cms.vstring("phi"),
235          ),
236          cms.PSet (
237 +            name = cms.string("electronCharge"),
238 +            title = cms.string("Electron Charge; charge"),
239 +            bins = cms.vdouble(3, -1.5, 1.5),
240 +            inputVariables = cms.vstring("charge"),
241 +        ),
242 +        cms.PSet (
243              name = cms.string("electronEtaPhi"),
244              title = cms.string("Electron Eta vs. Phi; #phi; #eta"),
245              bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
# Line 229 | Line 265 | ElectronHistograms = cms.PSet(
265          ),
266          cms.PSet (
267              name = cms.string("electronD0VertexPhi"),
268 <            title = cms.string("Electron d_{0} wrt Vertex vs Phi; #phi; d_{0} [cm]"),
268 >            title = cms.string("Electron d_{0} wrt Vertex vs. Phi; #phi; d_{0} [cm]"),
269              bins = cms.vdouble(100, -3.15, 3.15, 5000, -1, 1),
270              inputVariables = cms.vstring("phi","correctedD0Vertex"),
271          ),
# Line 243 | Line 279 | ElectronHistograms = cms.PSet(
279              name = cms.string("electronAbsD0Beamspot"),
280              title = cms.string("Electron |d_{0}| wrt Beamspot; |d_{0}| [cm]"),
281              bins = cms.vdouble(5000, 0, 1),
282 <            inputVariables = cms.vstring("abs(correctedD0Vertex)"),
282 >            inputVariables = cms.vstring("abs(correctedD0)"),
283          ),
284          cms.PSet (
285              name = cms.string("electronAbsD0Origin"),
# Line 276 | Line 312 | ElectronHistograms = cms.PSet(
312              inputVariables = cms.vstring("abs(correctedDZ)"),
313          ),
314          cms.PSet (
315 +            name = cms.string("electronAbsD0BeamspotVsAbsDz"),
316 +            title = cms.string("Electron |d_{0}| wrt Beamspot vs. Electron |d_{z}|; |d_{z}| [cm]; d_{0} [cm]"),
317 +            bins = cms.vdouble(1000, 0, 20, 1000, 0, 1),
318 +            inputVariables = cms.vstring("abs(correctedDZ)","abs(correctedD0)"),
319 +        ),
320 +        cms.PSet (
321              name = cms.string("electronDetIso"),
322              title = cms.string("Electron Detector-based Isolation; rel. iso."),
323              bins = cms.vdouble(1000, 0, 1),
# Line 305 | Line 347 | ElectronHistograms = cms.PSet(
347              bins = cms.vdouble(1000, -1.1, 1.1),
348              inputVariables = cms.vstring("mvaNonTrigV0"),
349          ),
350 +        cms.PSet (
351 +            name = cms.string("electronMetMt"),
352 +            title = cms.string("Transverse Mass of Electron-MET System; M_{T} [GeV]"),
353 +            bins = cms.vdouble(1000, 0, 100),
354 +            inputVariables = cms.vstring("metMT"),
355 +        ),
356      )
357   )
358  
# Line 318 | Line 366 | DiElectronHistograms = cms.PSet(
366              inputVariables = cms.vstring("invMass"),
367          ),
368          cms.PSet (
369 +            name = cms.string("diElectronChargeProduct"),
370 +            title = cms.string("Di-electron Charge Product; charge_{e}_{1}*charge_{e}_{2}"),
371 +            bins = cms.vdouble(3, -1.5, 1.5),
372 +            inputVariables = cms.vstring("chargeProduct"),
373 +        ),
374 +        cms.PSet (
375              name = cms.string("diElectronDeltaPhi"),
376              title = cms.string("Di-electron Phi Difference; |#Delta(#phi)|"),
377              bins = cms.vdouble(1000, 0, 3.14),
378              inputVariables = cms.vstring("deltaPhi"),
379          ),
380          cms.PSet (
381 +            name = cms.string("diElectronDeltaEta"),
382 +            title = cms.string("Di-electron Eta Difference; |#Delta(#eta)|"),
383 +            bins = cms.vdouble(1000, 0, 10),
384 +            inputVariables = cms.vstring("deltaEta"),
385 +        ),
386 +        cms.PSet (
387              name = cms.string("diElectronDeltaR"),
388              title = cms.string("Di-electron #DeltaR; #DeltaR"),
389              bins = cms.vdouble(1000, 0, 10),
# Line 355 | Line 415 | DiElectronHistograms = cms.PSet(
415          ),
416          cms.PSet (
417              name = cms.string("electron1D0vsElectron2D0"),
418 <            title = cms.string("Electron #1 d_{0} vs Electron #2 d_{0}; d_{0} [cm]; d_{0} [cm]"),
418 >            title = cms.string("Electron #1 d_{0} vs. Electron #2 d_{0}; d_{0} [cm]; d_{0} [cm]"),
419              bins = cms.vdouble(1000, -1, 1, 1000, -1, 1),
420 <            inputVariables = cms.vstring("electron1CorrectedD0Vertex","electron2CorrectedD0Vertex"),
420 >            inputVariables = cms.vstring("electron2CorrectedD0Vertex","electron1CorrectedD0Vertex"),
421          ),
422          cms.PSet (
423              name = cms.string("electron1AbsD0vsElectron2AbsD0"),
424 <            title = cms.string("Electron #1 |d_{0}| vs Electron #2 |d_{0}|; |d_{0}| [cm]; |d_{0}| [cm]"),
424 >            title = cms.string("Electron #1 |d_{0}| vs. Electron #2 |d_{0}|; |d_{0}| [cm]; |d_{0}| [cm]"),
425              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
426 <            inputVariables = cms.vstring("abs(electron1CorrectedD0Vertex)","abs(electron2CorrectedD0Vertex)"),
426 >            inputVariables = cms.vstring("abs(electron2CorrectedD0Vertex)","abs(electron1CorrectedD0Vertex)"),
427          ),
428      )
429   )
# Line 372 | Line 432 | ElectronMuonHistograms = cms.PSet(
432      inputCollection = cms.string("electron-muon pairs"),
433      histograms = cms.VPSet (
434          cms.PSet (
435 +            name = cms.string("electronMuonPt"),
436 +            title = cms.string("Electron-Muon Pair Transverse Momentum; p_{T} [GeV]"),
437 +            bins = cms.vdouble(100, 0, 500),
438 +            inputVariables = cms.vstring("pt"),
439 +        ),
440 +        cms.PSet (
441              name = cms.string("electronMuonInvMass"),
442              title = cms.string("Electron-muon Invariant Mass; M_{e#mu} [GeV]"),
443              bins = cms.vdouble(100, 0, 500),
444              inputVariables = cms.vstring("invMass"),
445          ),
446          cms.PSet (
447 +            name = cms.string("electronMuonChargeProduct"),
448 +            title = cms.string("Electron-muon Charge Product; charge_{e}*charge_{#mu}"),
449 +            bins = cms.vdouble(3, -1.5, 1.5),
450 +            inputVariables = cms.vstring("chargeProduct"),
451 +        ),
452 +        cms.PSet (
453              name = cms.string("electronMuonDeltaPhi"),
454              title = cms.string("Electron-muon Phi Difference; |#Delta(#phi)|"),
455              bins = cms.vdouble(1000, 0, 3.14),
456              inputVariables = cms.vstring("deltaPhi"),
457          ),
458          cms.PSet (
459 +            name = cms.string("electronMuonDeltaEta"),
460 +            title = cms.string("Electron-muon Eta Difference; |#Delta(#eta)|"),
461 +            bins = cms.vdouble(1000, 0, 10),
462 +            inputVariables = cms.vstring("deltaEta"),
463 +        ),
464 +        cms.PSet (
465              name = cms.string("electronMuonDeltaR"),
466              title = cms.string("Electron-muon #DeltaR; #DeltaR"),
467              bins = cms.vdouble(1000, 0, 10),
# Line 415 | Line 493 | ElectronMuonHistograms = cms.PSet(
493          ),
494          cms.PSet (
495              name = cms.string("electronD0vsMuonD0"),
496 <            title = cms.string("Electron d_{0} vs Muon d_{0}; muon d_{0} [cm]; electron d_{0} [cm]"),
496 >            title = cms.string("Electron d_{0} vs. Muon d_{0}; muon d_{0} [cm]; electron d_{0} [cm]"),
497              bins = cms.vdouble(1000, -1, 1, 1000, -1, 1),
498              inputVariables = cms.vstring("muonCorrectedD0Vertex","electronCorrectedD0Vertex"),
499          ),
500          cms.PSet (
501              name = cms.string("electronAbsD0VertexVsMuonAbsD0Vertex"),
502 <            title = cms.string("Electron |d_{0}| wrt Vertex vs Muon |d_{0}| wrt Vertex; electron |d_{0}| [cm]; muon |d_{0}| [cm]"),
502 >            title = cms.string("Electron |d_{0}| wrt Vertex vs. Muon |d_{0}| wrt Vertex; muon |d_{0}| [cm]; electron |d_{0}| [cm]"),
503              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
504 <            inputVariables = cms.vstring("abs(electronCorrectedD0Vertex)","abs(muonCorrectedD0Vertex)"),
504 >            inputVariables = cms.vstring("abs(muonCorrectedD0Vertex)","abs(electronCorrectedD0Vertex)"),
505          ),
506          cms.PSet (
507              name = cms.string("electronAbsD0BeamspotVsMuonAbsD0Beamspot"),
508 <            title = cms.string("Electron |d_{0}| wrt Beamspot vs Muon |d_{0}| wrt Beamspot; electron |d_{0}| [cm]; muon |d_{0}| [cm]"),
508 >            title = cms.string("Electron |d_{0}| wrt Beamspot vs. Muon |d_{0}| wrt Beamspot; muon |d_{0}| [cm]; electron |d_{0}| [cm]"),
509              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
510 <            inputVariables = cms.vstring("abs(electronCorrectedD0)","abs(muonCorrectedD0)"),
510 >            inputVariables = cms.vstring("abs(muonCorrectedD0)","abs(electronCorrectedD0)"),
511          ),
512          cms.PSet (
513              name = cms.string("electronDetIsoVsMuonDetIso"),
514 <            title = cms.string(";electron detIso;muon detIso"),
514 >            title = cms.string("Electron Detector-based Isolation vs. Muon Detector-based Isolation; muon rel. iso.; electron rel. iso."),
515 >            bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
516 >            inputVariables = cms.vstring("muonDetIso","electronDetIso"),
517 >        ),
518 >        cms.PSet (
519 >            name = cms.string("electronPFrhoIsoVsMuonPFdBetaIso"),
520 >            title = cms.string("Electron PF-based #rho-corrected Isolation vs. Muon PF-based #Delta#beta-corrected Isolation; muon rel. iso.; electron rel. iso."),
521              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
522 <            inputVariables = cms.vstring("electronDetIso","muonDetIso"),
522 >            inputVariables = cms.vstring("muonRelPFdBetaIso","electronRelPFrhoIso"),
523          ),
524      )
525   )
# Line 469 | Line 553 | MCParticleHistograms = cms.PSet(
553              bins = cms.vdouble(5000, 0, 20),
554              inputVariables = cms.vstring("abs(dz)"),
555          ),
472        cms.PSet (
473            name = cms.string("mcparticleV0"),
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]"),
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]"),
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]"),
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]"),
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]"),
505            bins = cms.vdouble(10000, -20, 20),
506            inputVariables = cms.vstring("deltaVz"),
507        ),
508
556      )
557   )    
558  
# Line 515 | Line 562 | MetHistograms = cms.PSet(
562      histograms = cms.VPSet (
563          cms.PSet (
564              name = cms.string("met"),
565 <            title = cms.string("Missing E_[T]; Missing E_{T} [GeV]"),
566 <
520 <            bins = cms.vdouble(500, 0, 500),
565 >            title = cms.string("Missing E_{T}; Missing E_{T} [GeV]"),
566 >            bins = cms.vdouble(100, 0, 500),
567              inputVariables = cms.vstring("pt"),
568          ),
569      )
# Line 528 | Line 574 | JetHistograms = cms.PSet(
574      histograms = cms.VPSet (
575          cms.PSet (
576              name = cms.string("jetPt"),
577 <            title = cms.string("Jet pT; Jet pT [GeV]"),
578 <            bins = cms.vdouble(500, 0, 500),
577 >            title = cms.string("Jet Transverse Momentum; p_{T} [GeV]"),
578 >            bins = cms.vdouble(100, 0, 500),
579              inputVariables = cms.vstring("pt"),
580          ),
581 <    )
581 >        cms.PSet (
582 >            name = cms.string("jetCSV"),
583 >            title = cms.string("Jet Combined Secondary Vertex B-tagging Discriminant"),
584 >            bins = cms.vdouble(2000, -1, 1),
585 >            inputVariables = cms.vstring("btagCombinedSecVertex"),
586 >        ),
587 >   )
588   )
589  
590   TrackHistograms = cms.PSet(
# Line 543 | Line 595 | TrackHistograms = cms.PSet(
595              title = cms.string("Track Transverse Momentum; p_{T} [GeV]"),
596              bins = cms.vdouble(100, 0, 500),
597              inputVariables = cms.vstring("pt"),
598 <                   ),
599 <         cms.PSet (
598 >        ),
599 >        cms.PSet (
600               name = cms.string("trackEta"),
601               title = cms.string("Track Eta; #eta"),
602               bins = cms.vdouble(100, -5, 5),
603               inputVariables = cms.vstring("eta"),
604 <                        ),
553 <
604 >        ),
605          cms.PSet (
606               name = cms.string("trackPhi"),
607               title = cms.string("Track Phi; #phi"),
608               bins = cms.vdouble(100, -5, 5),
609               inputVariables = cms.vstring("phi"),
610 <                        ),
610 >        ),
611          cms.PSet (
612              name = cms.string("trackd0"),
613              title = cms.string("Track d_{0}; d_{0} [cm]"),
614              bins = cms.vdouble(100, -0.5, 0.5),
615              inputVariables = cms.vstring("d0"),
616 <         ),
566 <
616 >        ),
617          cms.PSet (
618              name = cms.string("trackdz"),
619              title = cms.string("Track d_{z}; d_{z} [cm]"),
620              bins = cms.vdouble(100, -30, 30),
621              inputVariables = cms.vstring("dZ"),
622           ),
623 <       cms.PSet (
623 >        cms.PSet (
624              name = cms.string("trackNumValidHits"),
625              title = cms.string("Track Number of Valid Hits; Number of Valid Hits"),
626              bins = cms.vdouble(100, 0, 30),
627              inputVariables = cms.vstring("numValidHits"),
628 <            ),
629 <
580 <             cms.PSet (
628 >        ),
629 >        cms.PSet (
630              name = cms.string("trackChi2"),
631              title = cms.string("Track Reduced Chi2; #chi^{2} / DOF"),
632              bins = cms.vdouble(100, 0, 30),
633              inputVariables = cms.vstring("normChi2"),
634 <            ),
635 <        
636 <        
634 >        ),
635 >        cms.PSet (
636 >            name = cms.string("trackCharge"),
637 >            title = cms.string("Track Charge; charge"),
638 >            bins = cms.vdouble(3, -1.5, 1.5),
639 >            inputVariables = cms.vstring("charge"),
640 >        ),
641      )
642    )
643  
# Line 597 | Line 650 | EventHistograms = cms.PSet(
650              bins = cms.vdouble(1000, 0, 10),
651              inputVariables = cms.vstring("puScaleFactor"),
652          ),
653 <        cms.PSet (
654 <            name = cms.string("muonScaleFactor"),
655 <            title = cms.string("Muon Scale Factor;muon weight"),
656 <            bins = cms.vdouble(1000, 0.5, 1.5),
657 <            inputVariables = cms.vstring("muonScaleFactor"),
658 <        ),
659 <        cms.PSet (
660 <            name = cms.string("electronScaleFactor"),
661 <            title = cms.string("Electron Scale Factor;electron weight"),
662 <            bins = cms.vdouble(1000, 0.5, 1.5),
663 <            inputVariables = cms.vstring("electronScaleFactor"),
664 <        ),
653 > #        cms.PSet (
654 > #            name = cms.string("muonScaleFactor"),
655 > #            title = cms.string("Muon Scale Factor;muon weight"),
656 > #            bins = cms.vdouble(1000, 0.5, 1.5),
657 > #            inputVariables = cms.vstring("muonScaleFactor"),
658 > #        ),
659 > #        cms.PSet (
660 > #            name = cms.string("electronScaleFactor"),
661 > #            title = cms.string("Electron Scale Factor;electron weight"),
662 > #            bins = cms.vdouble(1000, 0.5, 1.5),
663 > #            inputVariables = cms.vstring("electronScaleFactor"),
664 > #        ),
665      )
666    )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines