5 '''@file TrigTLAMonitorHistograms.py
6 @author S. Franchellucci
8 @brief Definitions of groups of histograms to monitor
13 Return a list of histogram definitions for global event variables
15 @param pprefix Prefix of histogram names
18 {
'name' :f
'{pprefix}_AvgMu',
24 {
'name' :f
'{pprefix}_NumPV',
30 {
'name' :f
'{pprefix}_JetDensityEMTopo',
32 'xlabel':
'JetDensityEMTopo',
36 {
'name' :f
'{pprefix}_JetDensityEMPFlow',
38 'xlabel':
'JetDensityEMPFlow',
47 Return a list of jet-specific histogram definitions for jet moment distributions
49 @param pprefix Prefix of histogram names
50 @param plabel Human-readable name of the jet to use in labeling axes
51 @param pflow bool to indicate that this is the PFlow jet collection, so that the track-based variables are added.
52 False indicates that this is the calo jet collection, and additional calo variables are monitored.
56 {
'name' :f
'{pprefix}ActiveArea',
57 'ylabel':f
'{plabel}s',
58 'xlabel':f
'{plabel} ActiveArea',
66 {
'name' :f
'{pprefix}TrackWidthPt1000',
67 'ylabel':f
'{plabel}s',
68 'xlabel':f
'{plabel} TrackWidthPt1000',
72 {
'name' :f
'{pprefix}NumTrkPt1000',
73 'ylabel':f
'{plabel}s',
74 'xlabel':f
'{plabel} NumTrkPt1000',
78 {
'name' :f
'{pprefix}SumPtTrkPt500',
79 'ylabel':f
'{plabel}s',
80 'xlabel':f
'{plabel} SumPtTrkPt500',
85 {
'name' :f
'{pprefix}SumPtChargedPFOPt500',
86 'ylabel':f
'{plabel}s',
87 'xlabel':f
'{plabel} SumPtChargedPFOPt500',
92 {
'name' :f
'{pprefix}Jvt',
93 'ylabel':f
'{plabel}s',
94 'xlabel':f
'{plabel} Jvt',
98 {
'name' :f
'{pprefix}JvtRpt',
99 'ylabel':f
'{plabel}s',
100 'xlabel':f
'{plabel} JvtRpt',
104 {
'name' :f
'{pprefix}fastDIPS20211215_pu',
105 'ylabel':f
'{plabel}s',
106 'xlabel':f
'{plabel} fastDips_pu',
110 {
'name' :f
'{pprefix}fastDIPS20211215_pb',
111 'ylabel':f
'{plabel}s',
112 'xlabel':f
'{plabel} fastDips_pb',
116 {
'name' :f
'{pprefix}fastDIPS20211215_pc',
117 'ylabel':f
'{plabel}s',
118 'xlabel':f
'{plabel} fastDips_pc',
122 {
'name' :f
'{pprefix}GN120230331_pu',
123 'ylabel':f
'{plabel}s',
124 'xlabel':f
'{plabel} GN120230331_pu',
128 {
'name' :f
'{pprefix}GN120230331_pb',
129 'ylabel':f
'{plabel}s',
130 'xlabel':f
'{plabel} GN120230331_pb',
134 {
'name' :f
'{pprefix}GN120230331_pc',
135 'ylabel':f
'{plabel}s',
136 'xlabel':f
'{plabel} GN120230331_pc',
143 {
'name' :f
'{pprefix}EMFrac',
144 'ylabel':f
'{plabel}s',
145 'xlabel':f
'{plabel} EMFrac',
149 {
'name' :f
'{pprefix}HECFrac',
150 'ylabel':f
'{plabel}s',
151 'xlabel':f
'{plabel} HECFrac',
155 {
'name' :f
'{pprefix}Timing',
156 'ylabel':f
'{plabel}s',
157 'xlabel':f
'{plabel} Timing',
162 {
'name' :f
'{pprefix}N90Constituents',
163 'ylabel':f
'{plabel}s',
164 'xlabel':f
'{plabel} N90Constituents',
174 Return a list of jet-specific histogram definitions for jet pT distributions at different calibration scales
176 @param pprefix Prefix of histogram names
177 @param plabel Human-readable name of the jet to use in labeling axes
178 @param pflow bool to indicate that this is the PFlow jet collection, so that the track-based calibration scales are added.
181 {
'name' :f
'{pprefix}JetConstitScaleMomentum_pt',
182 'ylabel':f
'{plabel}s',
183 'xlabel':f
'{plabel} JetConstitScaleMomentum_pt',
188 {
'name' :f
'{pprefix}JetPileupScaleMomentum_pt',
189 'ylabel':f
'{plabel}s',
190 'xlabel':f
'{plabel} JetPileupScaleMomentum_pt',
195 {
'name' :f
'{pprefix}JetEtaJESScaleMomentum_pt',
196 'ylabel':f
'{plabel}s',
197 'xlabel':f
'{plabel} JetEtaJESScaleMomentum_pt',
205 {
'name' :f
'{pprefix}JetGSCScaleMomentum_pt',
206 'ylabel':f
'{plabel}s',
207 'xlabel':f
'{plabel} JetGSCScaleMomentum_pt',
217 Return a list of histogram definitions for particle kinematics.
219 @param pprefix Prefix of histogram names
220 @param plabel Human-readable name of the particle to use in labeling axes
223 {
'name' :f
'n{pprefix}',
225 'xlabel':f
'number of {plabel}s',
229 {
'name' :f
'{pprefix}pt',
230 'ylabel':f
'{plabel}s',
231 'xlabel':f
'{plabel} p_{{T}}',
236 {
'name' :f
'{pprefix}eta',
237 'ylabel':f
'{plabel}s',
238 'xlabel':f
'{plabel} #eta',
242 {
'name' :f
'{pprefix}phi',
243 'ylabel':f
'{plabel}s',
244 'xlabel':f
'leading {plabel} #phi',
248 {
'name' :f
'{pprefix}0pt',
250 'xlabel':f
'leading {plabel} p_{{T}}',
255 {
'name' :f
'{pprefix}0eta',
257 'xlabel':f
'leading {plabel} #eta',
261 {
'name' :f
'{pprefix}0phi',
263 'xlabel':f
'leading {plabel} #phi',
272 Return a list of histogram definitions for tracks features.
274 @param pprefix Prefix of histogram names
275 @param plabel Human-readable name of the particle to use in labeling axes
279 histograms[0][
'xmax']=199.5
280 histograms[0][
'xbins']=200
283 {
'name' :prefix+
'd0',
285 'xlabel':f
'{plabel} d0',
289 {
'name' :prefix+
'z0',
291 'xlabel':plabel+
' z0',
295 {
'name' :prefix+
'qOverP',
297 'xlabel':plabel+
' qOverP',
301 {
'name' :prefix+
'chiSquared',
303 'xlabel':plabel+
' chiSquared',
307 {
'name' :prefix+
'numberDoF',
309 'xlabel':plabel+
' numberDoF',
313 {
'name' :f
'{prefix}btagIp-d0',
319 {
'name' :f
'{prefix}btagIp-d0Uncertainty',
321 'xlabel':
'trk d0 Uncertainty',
325 {
'name' :f
'{prefix}btagIp-z0SinTheta',
327 'xlabel':
'trk z0SinTheta',
331 {
'name' :f
'{prefix}btagIp-z0SinThetaUncertainty',
333 'xlabel':
'trk z0SinTheta Uncertainty',
342 Return a list of histogram definitions for particle dR
344 @param p0prefix Prefix of first particle in histogram
345 @param p1prefix Prefix of second particle in histogram
346 @param p0label Human-readable name of the first particle to use in labeling axes
347 @param p1label Human-readable name of the second particle to use in labeling axes
350 {
'name' :f
'{p0prefix}{p1prefix}dr',
352 'xlabel':f
'#DeltaR_{{{p0label}, {p1label}}}',