ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py
Revision: 1.4
Committed: Fri Feb 8 12:35:36 2013 UTC (12 years, 2 months ago) by ahart
Content type: text/x-python
Branch: MAIN
Changes since 1.3: +4 -4 lines
Log Message:
Fill d0 significance histograms with correctly defined variable.

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(1000, -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(1000, 0, 1),
46 inputVariables = cms.vstring("correctedD0Vertex"),
47 function = cms.string("abs"),
48 ),
49 cms.PSet (
50 name = cms.string("muonD0Sig"),
51 title = cms.string("Muon d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
52 bins = cms.vdouble(1000, -10.0, 10.0),
53 inputVariables = cms.vstring("correctedD0VertexSig"),
54 ),
55 cms.PSet (
56 name = cms.string("muonAbsD0Sig"),
57 title = cms.string("Muon d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
58 bins = cms.vdouble(1000, 0, 10.0),
59 inputVariables = cms.vstring("correctedD0VertexSig"),
60 function = cms.string("abs"),
61 ),
62 cms.PSet (
63 name = cms.string("muonDz"),
64 title = cms.string("Muon d_{z}; d_{z} [cm]"),
65 bins = cms.vdouble(1000, -20, 20),
66 inputVariables = cms.vstring("correctedDZ"),
67 ),
68 cms.PSet (
69 name = cms.string("muonAbsDz"),
70 title = cms.string("Muon |d_{z}|; |d_{z}| [cm]"),
71 bins = cms.vdouble(1000, 0, 20),
72 inputVariables = cms.vstring("correctedDZ"),
73 function = cms.string("abs"),
74 ),
75 cms.PSet (
76 name = cms.string("muonDetIso"),
77 title = cms.string("Muon Detector-based Isolation; rel. iso."),
78 bins = cms.vdouble(1000, 0, 1),
79 inputVariables = cms.vstring("detIso"),
80 ),
81 cms.PSet (
82 name = cms.string("muonPFdBetaIso"),
83 title = cms.string("Muon PF-based #Delta#beta-corrected Isolation; rel. iso."),
84 bins = cms.vdouble(1000, 0, 1),
85 inputVariables = cms.vstring("relPFdBetaIso"),
86 ),
87
88 )
89 )
90
91 ElectronHistograms = cms.PSet(
92 inputCollection = cms.string("electrons"),
93 histograms = cms.VPSet (
94 cms.PSet (
95 name = cms.string("electronPt"),
96 title = cms.string("Electron Transverse Momentum; p_{T} [GeV]"),
97 bins = cms.vdouble(100, 0, 500),
98 inputVariables = cms.vstring("pt"),
99 ),
100 cms.PSet (
101 name = cms.string("electronEta"),
102 title = cms.string("Electron Eta; #eta"),
103 bins = cms.vdouble(100, -5, 5),
104 inputVariables = cms.vstring("eta"),
105 ),
106 cms.PSet (
107 name = cms.string("electronPhi"),
108 title = cms.string("Electron Phi; #phi"),
109 bins = cms.vdouble(100, -3.15, 3.15),
110 inputVariables = cms.vstring("phi"),
111 ),
112 cms.PSet (
113 name = cms.string("electronEtaPhi"),
114 title = cms.string("Electron Eta vs. Phi; #phi; #eta"),
115 bins = cms.vdouble(100, -3.15, 3.15, 100, -5, 5),
116 inputVariables = cms.vstring("phi","eta"),
117 ),
118 cms.PSet (
119 name = cms.string("electronD0"),
120 title = cms.string("Electron d_{0}; d_{0} [cm]"),
121 bins = cms.vdouble(1000, -1, 1),
122 inputVariables = cms.vstring("correctedD0Vertex"),
123 ),
124 cms.PSet (
125 name = cms.string("electronAbsD0"),
126 title = cms.string("Electron d_{0}; |d_{0}| [cm]"),
127 bins = cms.vdouble(1000, 0, 1),
128 inputVariables = cms.vstring("correctedD0Vertex"),
129 function = cms.string("abs"),
130 ),
131 cms.PSet (
132 name = cms.string("electronD0Sig"),
133 title = cms.string("Electron d_{0} Significance; d_{0} / #sigma_{d_{0}}"),
134 bins = cms.vdouble(1000, -10.0, 10.0),
135 inputVariables = cms.vstring("correctedD0VertexSig"),
136 ),
137 cms.PSet (
138 name = cms.string("electronAbsD0Sig"),
139 title = cms.string("Electron d_{0} Significance; |d_{0}| / #sigma_{d_{0}}"),
140 bins = cms.vdouble(1000, 0, 10.0),
141 inputVariables = cms.vstring("correctedD0VertexSig"),
142 function = cms.string("abs"),
143 ),
144 cms.PSet (
145 name = cms.string("electronDz"),
146 title = cms.string("Electron d_{z}; d_{z} [cm]"),
147 bins = cms.vdouble(1000, -20, 20),
148 inputVariables = cms.vstring("correctedDZ"),
149 ),
150 cms.PSet (
151 name = cms.string("electronAbsDz"),
152 title = cms.string("Electron |d_{z}|; |d_{z}| [cm]"),
153 bins = cms.vdouble(1000, 0, 20),
154 inputVariables = cms.vstring("correctedDZ"),
155 function = cms.string("abs"),
156 ),
157 cms.PSet (
158 name = cms.string("electronDetIso"),
159 title = cms.string("Electron Detector-based Isolation; rel. iso."),
160 bins = cms.vdouble(1000, 0, 1),
161 inputVariables = cms.vstring("detIso"),
162 ),
163 cms.PSet (
164 name = cms.string("electronPFrhoIso"),
165 title = cms.string("Electron PF-based #rho-corrected Isolation; rel. iso."),
166 bins = cms.vdouble(1000, 0, 1),
167 inputVariables = cms.vstring("relPFrhoIso"),
168 ),
169 cms.PSet (
170 name = cms.string("electronFbrem"),
171 title = cms.string("Electron Brem. Energy Fraction; fbrem"),
172 bins = cms.vdouble(1000, 0, 2),
173 inputVariables = cms.vstring("fbrem"),
174 ),
175 cms.PSet (
176 name = cms.string("electronMvaTrigV0"),
177 title = cms.string("Electron ID Triggering MVA Output"),
178 bins = cms.vdouble(1000, -1.1, 1.1),
179 inputVariables = cms.vstring("mvaTrigV0"),
180 ),
181 cms.PSet (
182 name = cms.string("electronMvaNonTrigV0"),
183 title = cms.string("Electron ID Non-triggering MVA Output"),
184 bins = cms.vdouble(1000, -1.1, 1.1),
185 inputVariables = cms.vstring("mvaNonTrigV0"),
186 ),
187 )
188 )
189
190
191
192 MCParticleHistograms = cms.PSet(
193 inputCollection = cms.string("mcparticles"),
194 histograms = cms.VPSet (
195 cms.PSet (
196 name = cms.string("mcparticleD0"),
197 title = cms.string("MCparticle d_{0}; d_{0} [cm]"),
198 bins = cms.vdouble(1000, -1, 1),
199 inputVariables = cms.vstring("d0"),
200 ),
201 cms.PSet (
202 name = cms.string("mcparticleAbsD0"),
203 title = cms.string("MCparticle d_{0}; |d_{0}| [cm]"),
204 bins = cms.vdouble(1000, 0, 1),
205 inputVariables = cms.vstring("d0"),
206 function = cms.string("abs"),
207 ),
208 cms.PSet (
209 name = cms.string("mcparticleDz"),
210 title = cms.string("MCparticle d_{z}; d_{z} [cm]"),
211 bins = cms.vdouble(1000, -20, 20),
212 inputVariables = cms.vstring("dz"),
213 ),
214 cms.PSet (
215 name = cms.string("mcparticleAbsDZ"),
216 title = cms.string("MCparticle d_{z}; |d_{z}| [cm]"),
217 bins = cms.vdouble(1000, 0, 20),
218 inputVariables = cms.vstring("dz"),
219 function = cms.string("abs"),
220 ),
221 )
222 )