ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py
Revision: 1.8
Committed: Thu Feb 21 16:34:11 2013 UTC (12 years, 2 months ago) by lantonel
Content type: text/x-python
Branch: MAIN
Changes since 1.7: +36 -0 lines
Log Message:
added dilepton plots

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 inputVariables = cms.vstring("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 inputVariables = cms.vstring("eta"),
23 ),
24 cms.PSet (
25 name = cms.string("muonPhi"),
26 title = cms.string("Muon Phi; #phi"),
27 bins = cms.vdouble(100, -3.15, 3.15),
28 inputVariables = cms.vstring("phi"),
29 ),
30 cms.PSet (
31 name = cms.string("muonEtaPhi"),
32 title = cms.string("Muon Eta vs. Phi; #phi; #eta"),
33 bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
34 inputVariables = cms.vstring("phi","eta"),
35 ),
36 cms.PSet (
37 name = cms.string("muonD0"),
38 title = cms.string("Muon d_{0}; d_{0} [cm]"),
39 bins = cms.vdouble(5000, -1, 1),
40 inputVariables = cms.vstring("correctedD0Vertex"),
41 ),
42 cms.PSet (
43 name = cms.string("muonAbsD0"),
44 title = cms.string("Muon d_{0}; |d_{0}| [cm]"),
45 bins = cms.vdouble(5000, 0, 1),
46 inputVariables = cms.vstring("abs(correctedD0Vertex)")
47 ),
48 cms.PSet (
49 name = cms.string("muonD0Sig"),
50 title = cms.string("Muon d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
51 bins = cms.vdouble(1000, -10.0, 10.0),
52 inputVariables = cms.vstring("correctedD0VertexSig"),
53 ),
54 cms.PSet (
55 name = cms.string("muonAbsD0Sig"),
56 title = cms.string("Muon d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
57 bins = cms.vdouble(1000, 0, 10.0),
58 inputVariables = cms.vstring("abs(correctedD0VertexSig)"),
59 ),
60 cms.PSet (
61 name = cms.string("muonDz"),
62 title = cms.string("Muon d_{z}; d_{z} [cm]"),
63 bins = cms.vdouble(5000, -20, 20),
64 inputVariables = cms.vstring("correctedDZ"),
65 ),
66 cms.PSet (
67 name = cms.string("muonAbsDz"),
68 title = cms.string("Muon |d_{z}|; |d_{z}| [cm]"),
69 bins = cms.vdouble(5000, 0, 20),
70 inputVariables = cms.vstring("abs(correctedDZ)"),
71 ),
72 cms.PSet (
73 name = cms.string("muonDetIso"),
74 title = cms.string("Muon Detector-based Isolation; rel. iso."),
75 bins = cms.vdouble(1000, 0, 1),
76 inputVariables = cms.vstring("detIso"),
77 ),
78 cms.PSet (
79 name = cms.string("muonPFdBetaIso"),
80 title = cms.string("Muon PF-based #Delta#beta-corrected Isolation; rel. iso."),
81 bins = cms.vdouble(1000, 0, 1),
82 inputVariables = cms.vstring("relPFdBetaIso"),
83 ),
84
85 )
86 )
87
88 DiMuonHistograms = cms.PSet(
89 inputCollection = cms.string("muon-muon pairs"),
90 histograms = cms.VPSet (
91 cms.PSet (
92 name = cms.string("diMuonInvMass"),
93 title = cms.string("Di-muon Invariant Mass; M_{#mu#mu} [GeV]"),
94 bins = cms.vdouble(100, 0, 500),
95 inputVariables = cms.vstring("invMass"),
96 )
97 )
98 )
99
100 ElectronHistograms = cms.PSet(
101 inputCollection = cms.string("electrons"),
102 histograms = cms.VPSet (
103 cms.PSet (
104 name = cms.string("electronPt"),
105 title = cms.string("Electron Transverse Momentum; p_{T} [GeV]"),
106 bins = cms.vdouble(100, 0, 500),
107 inputVariables = cms.vstring("pt"),
108 ),
109 cms.PSet (
110 name = cms.string("electronEta"),
111 title = cms.string("Electron Eta; #eta"),
112 bins = cms.vdouble(100, -5, 5),
113 inputVariables = cms.vstring("eta"),
114 ),
115 cms.PSet (
116 name = cms.string("electronPhi"),
117 title = cms.string("Electron Phi; #phi"),
118 bins = cms.vdouble(100, -3.15, 3.15),
119 inputVariables = cms.vstring("phi"),
120 ),
121 cms.PSet (
122 name = cms.string("electronEtaPhi"),
123 title = cms.string("Electron Eta vs. Phi; #phi; #eta"),
124 bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
125 inputVariables = cms.vstring("phi","eta"),
126 ),
127 cms.PSet (
128 name = cms.string("electronD0"),
129 title = cms.string("Electron d_{0}; d_{0} [cm]"),
130 bins = cms.vdouble(5000, -1, 1),
131 inputVariables = cms.vstring("correctedD0Vertex"),
132 ),
133 cms.PSet (
134 name = cms.string("electronAbsD0"),
135 title = cms.string("Electron d_{0}; |d_{0}| [cm]"),
136 bins = cms.vdouble(5000, 0, 1),
137 inputVariables = cms.vstring("abs(correctedD0Vertex)"),
138 ),
139 cms.PSet (
140 name = cms.string("electronD0Sig"),
141 title = cms.string("Electron d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
142 bins = cms.vdouble(1000, -10.0, 10.0),
143 inputVariables = cms.vstring("correctedD0VertexSig"),
144 ),
145 cms.PSet (
146 name = cms.string("electronAbsD0Sig"),
147 title = cms.string("Electron d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
148 bins = cms.vdouble(1000, 0, 10.0),
149 inputVariables = cms.vstring("abs(correctedD0VertexSig)"),
150 ),
151 cms.PSet (
152 name = cms.string("electronDz"),
153 title = cms.string("Electron d_{z}; d_{z} [cm]"),
154 bins = cms.vdouble(5000, -20, 20),
155 inputVariables = cms.vstring("correctedDZ"),
156 ),
157 cms.PSet (
158 name = cms.string("electronAbsDz"),
159 title = cms.string("Electron |d_{z}|; |d_{z}| [cm]"),
160 bins = cms.vdouble(5000, 0, 20),
161 inputVariables = cms.vstring("abs(correctedDZ)"),
162 ),
163 cms.PSet (
164 name = cms.string("electronDetIso"),
165 title = cms.string("Electron Detector-based Isolation; rel. iso."),
166 bins = cms.vdouble(1000, 0, 1),
167 inputVariables = cms.vstring("detIso"),
168 ),
169 cms.PSet (
170 name = cms.string("electronPFrhoIso"),
171 title = cms.string("Electron PF-based #rho-corrected Isolation; rel. iso."),
172 bins = cms.vdouble(1000, 0, 1),
173 inputVariables = cms.vstring("relPFrhoIso"),
174 ),
175 cms.PSet (
176 name = cms.string("electronFbrem"),
177 title = cms.string("Electron Brem. Energy Fraction; fbrem"),
178 bins = cms.vdouble(1000, 0, 2),
179 inputVariables = cms.vstring("fbrem"),
180 ),
181 cms.PSet (
182 name = cms.string("electronMvaTrigV0"),
183 title = cms.string("Electron ID Triggering MVA Output"),
184 bins = cms.vdouble(1000, -1.1, 1.1),
185 inputVariables = cms.vstring("mvaTrigV0"),
186 ),
187 cms.PSet (
188 name = cms.string("electronMvaNonTrigV0"),
189 title = cms.string("Electron ID Non-triggering MVA Output"),
190 bins = cms.vdouble(1000, -1.1, 1.1),
191 inputVariables = cms.vstring("mvaNonTrigV0"),
192 ),
193 )
194 )
195
196 DiElectronHistograms = cms.PSet(
197 inputCollection = cms.string("electron-electron pairs"),
198 histograms = cms.VPSet (
199 cms.PSet (
200 name = cms.string("diElectronInvMass"),
201 title = cms.string("Di-electron Invariant Mass; M_{ee} [GeV]"),
202 bins = cms.vdouble(100, 0, 500),
203 inputVariables = cms.vstring("invMass"),
204 )
205 )
206 )
207
208 ElectronMuonHistograms = cms.PSet(
209 inputCollection = cms.string("electron-muon pairs"),
210 histograms = cms.VPSet (
211 cms.PSet (
212 name = cms.string("electronMuonInvMass"),
213 title = cms.string("Electron-muon Invariant Mass; M_{e#mu} [GeV]"),
214 bins = cms.vdouble(100, 0, 500),
215 inputVariables = cms.vstring("invMass"),
216 )
217 )
218 )
219
220
221
222 MCParticleHistograms = cms.PSet(
223 inputCollection = cms.string("mcparticles"),
224 histograms = cms.VPSet (
225 cms.PSet (
226 name = cms.string("mcparticleD0"),
227 title = cms.string("MCparticle d_{0}; d_{0} [cm]"),
228 bins = cms.vdouble(5000, -1, 1),
229 inputVariables = cms.vstring("d0"),
230 ),
231 cms.PSet (
232 name = cms.string("mcparticleAbsD0"),
233 title = cms.string("MCparticle d_{0}; |d_{0}| [cm]"),
234 bins = cms.vdouble(5000, 0, 1),
235 inputVariables = cms.vstring("abs(d0)"),
236 ),
237 cms.PSet (
238 name = cms.string("mcparticleDz"),
239 title = cms.string("MCparticle d_{z}; d_{z} [cm]"),
240 bins = cms.vdouble(5000, -20, 20),
241 inputVariables = cms.vstring("dz"),
242 ),
243 cms.PSet (
244 name = cms.string("mcparticleAbsDZ"),
245 title = cms.string("MCparticle d_{z}; |d_{z}| [cm]"),
246 bins = cms.vdouble(5000, 0, 20),
247 inputVariables = cms.vstring("abs(dz)"),
248 ),
249 )
250 )
251
252
253 MetHistograms = cms.PSet(
254 inputCollection = cms.string("mets"),
255 histograms = cms.VPSet (
256 cms.PSet (
257 name = cms.string("met"),
258 title = cms.string("Missing E_[T]; Missing E_{T} [GeV]"),
259 bins = cms.vdouble(500, 0, 500),
260 inputVariables = cms.vstring("pt"),
261 ),
262 )
263 )