ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py
Revision: 1.1
Committed: Thu Jan 31 22:03:26 2013 UTC (12 years, 3 months ago) by lantonel
Content type: text/x-python
Branch: MAIN
Log Message:
standard definitions of histograms to be plotted by the OSUAnalysis template analyzer

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 inputVariable = cms.string("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 inputVariable = cms.string("eta"),
23 ),
24 cms.PSet (
25 name = cms.string("muonD0"),
26 title = cms.string("Muon d_{0}; d_{0} [cm]"),
27 bins = cms.vdouble(1000, -1, 1),
28 inputVariable = cms.string("correctedD0Vertex"),
29 ),
30 cms.PSet (
31 name = cms.string("muonAbsD0"),
32 title = cms.string("Muon d_{0}; |d_{0}| [cm]"),
33 bins = cms.vdouble(1000, 0, 1),
34 inputVariable = cms.string("correctedD0Vertex"),
35 function = cms.string("abs"),
36 ),
37 cms.PSet (
38 name = cms.string("muonD0Sig"),
39 title = cms.string("Muon d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
40 bins = cms.vdouble(1000, -10.0, 10.0),
41 inputVariable = cms.string("d0Sig"),
42 ),
43 cms.PSet (
44 name = cms.string("muonAbsD0Sig"),
45 title = cms.string("Muon d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
46 bins = cms.vdouble(1000, 0, 10.0),
47 inputVariable = cms.string("d0Sig"),
48 function = cms.string("abs"),
49 ),
50 cms.PSet (
51 name = cms.string("muonDz"),
52 title = cms.string("Muon d_{z}; d_{z} [cm]"),
53 bins = cms.vdouble(1000, -20, 20),
54 inputVariable = cms.string("correctedDZ"),
55 ),
56 cms.PSet (
57 name = cms.string("muonIso"),
58 title = cms.string("Muon Combined Relative Isolation; rel. iso."),
59 bins = cms.vdouble(1000, 0, 1),
60 inputVariable = cms.string("relIso"),
61 ),
62 )
63 )
64
65 ElectronHistograms = cms.PSet(
66 inputCollection = cms.string("electrons"),
67 histograms = cms.VPSet (
68 cms.PSet (
69 name = cms.string("electronPt"),
70 title = cms.string("Electron Transverse Momentum; p_{T} [GeV]"),
71 bins = cms.vdouble(100, 0, 500),
72 inputVariable = cms.string("pt"),
73 ),
74 cms.PSet (
75 name = cms.string("electronEta"),
76 title = cms.string("Electron Eta; #eta"),
77 bins = cms.vdouble(100, -5, 5),
78 inputVariable = cms.string("eta"),
79 ),
80 cms.PSet (
81 name = cms.string("electronD0"),
82 title = cms.string("Electron d_{0}; d_{0} [cm]"),
83 bins = cms.vdouble(1000, -1, 1),
84 inputVariable = cms.string("correctedD0Vertex"),
85 ),
86 cms.PSet (
87 name = cms.string("electronAbsD0"),
88 title = cms.string("Electron d_{0}; |d_{0}| [cm]"),
89 bins = cms.vdouble(1000, 0, 1),
90 inputVariable = cms.string("correctedD0Vertex"),
91 function = cms.string("abs"),
92 ),
93 cms.PSet (
94 name = cms.string("electronD0Sig"),
95 title = cms.string("Electron d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
96 bins = cms.vdouble(1000, -10.0, 10.0),
97 inputVariable = cms.string("d0Sig"),
98 ),
99 cms.PSet (
100 name = cms.string("electronAbsD0Sig"),
101 title = cms.string("Electron d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
102 bins = cms.vdouble(1000, 0, 10.0),
103 inputVariable = cms.string("d0Sig"),
104 function = cms.string("abs"),
105 ),
106 cms.PSet (
107 name = cms.string("electronDz"),
108 title = cms.string("Electron d_{z}; d_{z} [cm]"),
109 bins = cms.vdouble(1000, -20, 20),
110 inputVariable = cms.string("correctedDZ"),
111 ),
112 cms.PSet (
113 name = cms.string("electronIso"),
114 title = cms.string("Electron Combined Relative Isolation; rel. iso."),
115 bins = cms.vdouble(1000, 0, 1),
116 inputVariable = cms.string("relIso"),
117 ),
118 cms.PSet (
119 name = cms.string("electronFbrem"),
120 title = cms.string("Electron Brem. Energy Fraction; fbrem"),
121 bins = cms.vdouble(1000, 0, 2),
122 inputVariable = cms.string("fbrem"),
123 ),
124 cms.PSet (
125 name = cms.string("electronMvaTrigV0"),
126 title = cms.string("Electron ID Triggering MVA Output"),
127 bins = cms.vdouble(1000, -1.1, 1.1),
128 inputVariable = cms.string("mvaTrigV0"),
129 ),
130 cms.PSet (
131 name = cms.string("electronMvaNonTrigV0"),
132 title = cms.string("Electron ID Non-triggering MVA Output"),
133 bins = cms.vdouble(1000, -1.1, 1.1),
134 inputVariable = cms.string("mvaNonTrigV0"),
135 ),
136 )
137 )