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.19 by biliu, Wed Mar 27 21:23:37 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 131 | Line 137 | DiMuonHistograms = cms.PSet(
137              inputVariables = cms.vstring("invMass"),
138          ),
139          cms.PSet (
140 +            name = cms.string("diMuonChargeProduct"),
141 +            title = cms.string("Di-muon Charge Product; charge_{#mu}_{1}*charge_{#mu}_{2}"),
142 +            bins = cms.vdouble(3, -1.5, 1.5),
143 +            inputVariables = cms.vstring("chargeProduct"),
144 +        ),
145 +        cms.PSet (
146              name = cms.string("diMuonDeltaPhi"),
147              title = cms.string("Di-muon Phi Difference; |#Delta(#phi)|"),
148              bins = cms.vdouble(1000, 0, 3.14),
# Line 204 | Line 216 | ElectronHistograms = cms.PSet(
216              inputVariables = cms.vstring("phi"),
217          ),
218          cms.PSet (
219 +            name = cms.string("electronCharge"),
220 +            title = cms.string("Electron Charge; charge"),
221 +            bins = cms.vdouble(3, -1.5, 1.5),
222 +            inputVariables = cms.vstring("charge"),
223 +        ),
224 +        cms.PSet (
225              name = cms.string("electronEtaPhi"),
226              title = cms.string("Electron Eta vs. Phi; #phi; #eta"),
227              bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
# Line 243 | Line 261 | ElectronHistograms = cms.PSet(
261              name = cms.string("electronAbsD0Beamspot"),
262              title = cms.string("Electron |d_{0}| wrt Beamspot; |d_{0}| [cm]"),
263              bins = cms.vdouble(5000, 0, 1),
264 <            inputVariables = cms.vstring("abs(correctedD0Vertex)"),
264 >            inputVariables = cms.vstring("abs(correctedD0)"),
265          ),
266          cms.PSet (
267              name = cms.string("electronAbsD0Origin"),
# Line 318 | Line 336 | DiElectronHistograms = cms.PSet(
336              inputVariables = cms.vstring("invMass"),
337          ),
338          cms.PSet (
339 +            name = cms.string("diElectronChargeProduct"),
340 +            title = cms.string("Di-electron Charge Product; charge_{e}_{1}*charge_{e}_{2}"),
341 +            bins = cms.vdouble(3, -1.5, 1.5),
342 +            inputVariables = cms.vstring("chargeProduct"),
343 +        ),
344 +        cms.PSet (
345              name = cms.string("diElectronDeltaPhi"),
346              title = cms.string("Di-electron Phi Difference; |#Delta(#phi)|"),
347              bins = cms.vdouble(1000, 0, 3.14),
# Line 378 | Line 402 | ElectronMuonHistograms = cms.PSet(
402              inputVariables = cms.vstring("invMass"),
403          ),
404          cms.PSet (
405 +            name = cms.string("electronMuonChargeProduct"),
406 +            title = cms.string("Electron-muon Charge Product; charge_{e}*charge_{#mu}"),
407 +            bins = cms.vdouble(3, -1.5, 1.5),
408 +            inputVariables = cms.vstring("chargeProduct"),
409 +        ),
410 +        cms.PSet (
411              name = cms.string("electronMuonDeltaPhi"),
412              title = cms.string("Electron-muon Phi Difference; |#Delta(#phi)|"),
413              bins = cms.vdouble(1000, 0, 3.14),
# Line 437 | Line 467 | ElectronMuonHistograms = cms.PSet(
467              bins = cms.vdouble(1000, 0, 1, 1000, 0, 1),
468              inputVariables = cms.vstring("electronDetIso","muonDetIso"),
469          ),
470 <    )
470 >    
471 >        cms.PSet (
472 >            name = cms.string("electronMuonPt"),
473 >            title = cms.string("Electron-Muon Pair Pt; electron-muon pair p_{T} [GeV]"),
474 >            bins = cms.vdouble(1000, 0, 100),
475 >            inputVariables = cms.vstring("pt"),
476 >        ),
477 >   )
478 >
479   )
480  
481  
# Line 469 | Line 507 | MCParticleHistograms = cms.PSet(
507              bins = cms.vdouble(5000, 0, 20),
508              inputVariables = cms.vstring("abs(dz)"),
509          ),
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
510      )
511   )    
512  
# Line 532 | Line 533 | JetHistograms = cms.PSet(
533              bins = cms.vdouble(500, 0, 500),
534              inputVariables = cms.vstring("pt"),
535          ),
536 <    )
536 >        cms.PSet (
537 >            name = cms.string("jetCSV"),
538 >            title = cms.string("Jet Combined Secondary Vertex B-tagging Discriminant"),
539 >            bins = cms.vdouble(2000, -1, 1),
540 >            inputVariables = cms.vstring("btagCombinedSecVertex"),
541 >        ),
542 >   )
543   )
544  
545   TrackHistograms = cms.PSet(
# Line 543 | Line 550 | TrackHistograms = cms.PSet(
550              title = cms.string("Track Transverse Momentum; p_{T} [GeV]"),
551              bins = cms.vdouble(100, 0, 500),
552              inputVariables = cms.vstring("pt"),
553 <                   ),
554 <         cms.PSet (
553 >        ),
554 >        cms.PSet (
555               name = cms.string("trackEta"),
556               title = cms.string("Track Eta; #eta"),
557               bins = cms.vdouble(100, -5, 5),
558               inputVariables = cms.vstring("eta"),
559 <                        ),
553 <
559 >        ),
560          cms.PSet (
561               name = cms.string("trackPhi"),
562               title = cms.string("Track Phi; #phi"),
563               bins = cms.vdouble(100, -5, 5),
564               inputVariables = cms.vstring("phi"),
565 <                        ),
565 >        ),
566          cms.PSet (
567              name = cms.string("trackd0"),
568              title = cms.string("Track d_{0}; d_{0} [cm]"),
569              bins = cms.vdouble(100, -0.5, 0.5),
570              inputVariables = cms.vstring("d0"),
571 <         ),
566 <
571 >        ),
572          cms.PSet (
573              name = cms.string("trackdz"),
574              title = cms.string("Track d_{z}; d_{z} [cm]"),
575              bins = cms.vdouble(100, -30, 30),
576              inputVariables = cms.vstring("dZ"),
577           ),
578 <       cms.PSet (
578 >        cms.PSet (
579              name = cms.string("trackNumValidHits"),
580              title = cms.string("Track Number of Valid Hits; Number of Valid Hits"),
581              bins = cms.vdouble(100, 0, 30),
582              inputVariables = cms.vstring("numValidHits"),
583 <            ),
584 <
580 <             cms.PSet (
583 >        ),
584 >        cms.PSet (
585              name = cms.string("trackChi2"),
586              title = cms.string("Track Reduced Chi2; #chi^{2} / DOF"),
587              bins = cms.vdouble(100, 0, 30),
588              inputVariables = cms.vstring("normChi2"),
589 <            ),
590 <        
591 <        
589 >        ),
590 >        cms.PSet (
591 >            name = cms.string("trackCharge"),
592 >            title = cms.string("Track Charge; charge"),
593 >            bins = cms.vdouble(3, -1.5, 1.5),
594 >            inputVariables = cms.vstring("charge"),
595 >        ),
596      )
597    )
598  
# Line 597 | Line 605 | EventHistograms = cms.PSet(
605              bins = cms.vdouble(1000, 0, 10),
606              inputVariables = cms.vstring("puScaleFactor"),
607          ),
608 <        cms.PSet (
609 <            name = cms.string("muonScaleFactor"),
610 <            title = cms.string("Muon Scale Factor;muon weight"),
611 <            bins = cms.vdouble(1000, 0.5, 1.5),
612 <            inputVariables = cms.vstring("muonScaleFactor"),
613 <        ),
614 <        cms.PSet (
615 <            name = cms.string("electronScaleFactor"),
616 <            title = cms.string("Electron Scale Factor;electron weight"),
617 <            bins = cms.vdouble(1000, 0.5, 1.5),
618 <            inputVariables = cms.vstring("electronScaleFactor"),
619 <        ),
608 > #        cms.PSet (
609 > #            name = cms.string("muonScaleFactor"),
610 > #            title = cms.string("Muon Scale Factor;muon weight"),
611 > #            bins = cms.vdouble(1000, 0.5, 1.5),
612 > #            inputVariables = cms.vstring("muonScaleFactor"),
613 > #        ),
614 > #        cms.PSet (
615 > #            name = cms.string("electronScaleFactor"),
616 > #            title = cms.string("Electron Scale Factor;electron weight"),
617 > #            bins = cms.vdouble(1000, 0.5, 1.5),
618 > #            inputVariables = cms.vstring("electronScaleFactor"),
619 > #        ),
620      )
621    )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines