Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
LArCoverageAlg Namespace Reference

Functions

def LArCoverageConfig (flags)
 
def LArCoverageConfigCore (helper, algoinstance, flags)
 

Function Documentation

◆ LArCoverageConfig()

def LArCoverageAlg.LArCoverageConfig (   flags)
Function to configures some algorithms in the monitoring system.

Definition at line 11 of file LArCoverageAlg.py.

11 def LArCoverageConfig(flags):
12  '''Function to configures some algorithms in the monitoring system.'''
13 
14  # The following class will make a sequence, configure algorithms, and link
15  # them to GenericMonitoringTools
16  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
17  from AthenaMonitoring import AthMonitorCfgHelper
18  helper = AthMonitorCfgHelper(flags,'LArCoverageCfgAlg')
19 
20 
21  from AthenaConfiguration.ComponentFactory import CompFactory
22  LArCoverageConfigCore(helper, CompFactory.LArCoverageAlg,flags)
23 
25  rv.merge(helper.result())
26  return rv
27 

◆ LArCoverageConfigCore()

def LArCoverageAlg.LArCoverageConfigCore (   helper,
  algoinstance,
  flags 
)

Definition at line 28 of file LArCoverageAlg.py.

28 def LArCoverageConfigCore(helper, algoinstance,flags):
29 
30  larCoverageAlg = helper.addAlgorithm(algoinstance,'LArCoverageAlg')
31  larCoverageAlg.ProblemsToMask=["highNoiseHG","highNoiseMG","highNoiseLG","deadReadout","deadPhys"]
32 
33  from LArMonitoring.GlobalVariables import lArDQGlobals
34 
35  #define the group names here, as you'll use them multiple times
36  caloNoiseToolGroupName="CaloNoise"
37  nLayers = 4
38  badChannelsGroupName="BadChannels"
39  coverageHWGroupName="Coverage"
40  partitionsBarrel = [lArDQGlobals.SubDet[0]+side for side in lArDQGlobals.Sides]
41  partitionsEndcap = [lArDQGlobals.SubDet[ip]+side for side in lArDQGlobals.Sides for ip in range(1,len(lArDQGlobals.SubDet))]
42 
43  # Edit properties of a algorithm
44  larCoverageAlg.CaloNoiseToolGroupName=caloNoiseToolGroupName
45  larCoverageAlg.Nsample = nLayers
46  larCoverageAlg.BadChannelsGroupName=badChannelsGroupName
47  larCoverageAlg.Sides = lArDQGlobals.Sides
48  larCoverageAlg.CoverageHWGroupName=coverageHWGroupName
49  larCoverageAlg.CoverageBarrelPartitions = partitionsBarrel
50  larCoverageAlg.CoverageEndcapPartitions = partitionsEndcap
51  larCoverageAlg.NphiBinsEMB1=lArDQGlobals.Cell_Variables["phiNbin"]["EMB"]["A"]["1"]
52  larCoverageAlg.NphiBinsEMEC2=lArDQGlobals.Cell_Variables["phiNbin"]["EMEC"]["A"]["2"]
53  larCoverageAlg.NphiBinsHEC=[lArDQGlobals.Cell_Variables["phiNbin"]["HEC"]["A"]["0"],lArDQGlobals.Cell_Variables["phiNbin"]["HEC"]["A"]["1"],lArDQGlobals.Cell_Variables["phiNbin"]["HEC"]["A"]["2"],lArDQGlobals.Cell_Variables["phiNbin"]["HEC"]["A"]["3"]]
54 
55  from LArConfiguration.LArConfigFlags import RawChannelSource
56  if flags.LAr.RawChannelSource is RawChannelSource.Calculated:
57  larCoverageAlg.LArRawChannelKey="LArRawChannels_FromDigits"
58 
59  #Configure the CaloNoise
60  from CaloTools.CaloNoiseCondAlgConfig import CaloNoiseCondAlgCfg
61  helper.resobj.merge(CaloNoiseCondAlgCfg(flags, noisetype="electronicNoiseNoHV"))
62 
63  #-- caloNoise groups --
64  caloNoiseToolArrayEM = helper.addArray([nLayers],larCoverageAlg,caloNoiseToolGroupName+"EM",topPath='/')
65  caloNoiseToolArrayHEC = helper.addArray([nLayers],larCoverageAlg,caloNoiseToolGroupName+"HEC",topPath='/')
66  caloNoiseToolArrayFCal = helper.addArray([nLayers],larCoverageAlg,caloNoiseToolGroupName+"FCal",topPath='/')
67  caloNoiseToolGroup = helper.addGroup( #for the LB histogram
68  larCoverageAlg,
69  caloNoiseToolGroupName,
70  '/LAr/',
71  'run'
72  )
73 
74  #-- badChannels groups --
75 
76  badChannelToolArrayBarrel = helper.addArray([lArDQGlobals.Sides],larCoverageAlg,badChannelsGroupName+"Barrel",'/LAr/','run')
77  badChannelToolArrayEndcap = helper.addArray([lArDQGlobals.Sides],larCoverageAlg,badChannelsGroupName+"EndCap",'/LAr/','run')
78 
79  #-- CoverageHW groups --
80  availErrCode = larCoverageAlg.AvailableErrorCodes
81 
82  #-- Coverage groups (eta-phi plots) --
83  coverageToolArrayEMBA = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"EMBA",'/LAr/','run')
84  coverageToolArrayEMECA = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"EMECA",'/LAr/','run')
85  coverageToolArrayHECA = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"HECA",'/LAr/','run')
86  coverageToolArrayFCalA = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"FCalA",'/LAr/','run')
87  coverageToolArrayEMBC = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"EMBC",'/LAr/','run')
88  coverageToolArrayEMECC = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"EMECC",'/LAr/','run')
89  coverageToolArrayHECC = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"HECC",'/LAr/','run')
90  coverageToolArrayFCalC = helper.addArray([availErrCode],larCoverageAlg,coverageHWGroupName+"FCalC",'/LAr/','run')
91 
92 
93 
94  coveragePath='Coverage/'
95 
96  # -- caloNoiseTool histograms --
97 
98  caloNoiseTool_path=coveragePath+'CaloNoiseTool/'
99  #LB histogram: need to know which LB the CaloNoiseTool histogram is about. Only add to caloNoiseToolGroup to avoid duplicates
100  caloNoiseToolGroup.defineHistogram('lb1_x;FirstLBnumber',
101  type='TH1D',
102  path=caloNoiseTool_path,
103  title='CaloNoiseTool histogram are filled from this LB;;LB number',
104  weight='lb1',
105  xbins=1,xmin=-1,xmax=1)
106 
107  caloNoiseToolArrayEM.defineHistogram('etaChan,noise;CaloNoiseEM_Sampling',
108  type='TProfile',
109  path='LAr/'+caloNoiseTool_path,
110  title='DBNoise in EM',
111  xbins=lArDQGlobals.etaCaloNoise_Bins,xmax=lArDQGlobals.etaCaloNoise_Max,xmin=lArDQGlobals.etaCaloNoise_Min,
112  merge='identical')
113 
114  caloNoiseToolArrayHEC.defineHistogram('etaChan,noise;CaloNoiseHEC_Sampling',
115  type='TProfile',
116  path='LAr/'+caloNoiseTool_path,
117  title='DBNoise in HEC',
118  xbins=lArDQGlobals.etaCaloNoise_Bins,xmax=lArDQGlobals.etaCaloNoise_Max,xmin=lArDQGlobals.etaCaloNoise_Min,
119  merge='identical')
120 
121  caloNoiseToolArrayFCal.defineHistogram('etaChan,noise;CaloNoiseFCal_Sampling',
122  type='TProfile',
123  path='LAr/'+caloNoiseTool_path,
124  title='DBNoise in FCal',
125  xbins=lArDQGlobals.etaCaloNoise_FcalBins,xmax=lArDQGlobals.etaCaloNoise_FcalMax,xmin=lArDQGlobals.etaCaloNoise_FcalMin,
126  merge='identical')
127 
128 
129  # -- badChannels histograms --
130  badChannels_path=coveragePath+'BadChannels/'
131  badChannelToolArrayBarrel.defineHistogram('mon_FtSlot,single_channel;RAW_DBBadChannelsBarrel',
132  type='TH2I',
133  path=badChannels_path,
134  title='Known Bad Channels - Barrel {0};Feedthrough(+Slot increasing);Channel',
135  weight='flag',
136  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["EMBA"], #bins from A side also used for C, they're the same
137  xmin=lArDQGlobals.Feedthrough_Slot_range["EMBA"][0],
138  xmax=lArDQGlobals.Feedthrough_Slot_range["EMBA"][1],
139  ybins=lArDQGlobals.FEB_N_channels,
140  ymin=-0.5,
141  ymax=lArDQGlobals.FEB_N_channels-0.5,
142  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Barrel,
143  merge='identical')
144  badChannelToolArrayEndcap.defineHistogram('mon_FtSlot,single_channel;RAW_DBBadChannelsEndcap',
145  type='TH2I',
146  path=badChannels_path,
147  title='Known Bad Channels - Endcap {0};Feedthrough(+Slot increasing);Channel',
148  weight='flag',
149  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["EMECA"], #bins from A side also used for C, they're the same
150  xmin=lArDQGlobals.Feedthrough_Slot_range["EMECA"][0],
151  xmax=lArDQGlobals.Feedthrough_Slot_range["EMECA"][1],
152  ybins=lArDQGlobals.FEB_N_channels,
153  ymin=-0.5,
154  ymax=lArDQGlobals.FEB_N_channels-0.5,
155  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap,
156  merge='identical')
157 
158 
159  #--coverageHW histograms
160  coverage_path=coveragePath+'perPartition/'
161  coverageToolArrayEMBA.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_EMBA_statusCode',
162  type='TH2I',
163  path=coverage_path,
164  title='Coverage - EMBA - statusCode={0};Feedthrough(+Slot increasing);Channel',
165  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["EMBA"],
166  xmin=lArDQGlobals.Feedthrough_Slot_range["EMBA"][0],
167  xmax=lArDQGlobals.Feedthrough_Slot_range["EMBA"][1],
168  ybins=lArDQGlobals.FEB_N_channels,
169  ymin=-0.5,
170  ymax=lArDQGlobals.FEB_N_channels-0.5,
171  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Barrel)
172 
173  coverageToolArrayEMBC.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_EMBC_statusCode',
174  type='TH2I',
175  path=coverage_path,
176  title='Coverage - EMBC - statusCode={0};Feedthrough(+Slot increasing);Channel',
177  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["EMBC"],
178  xmin=lArDQGlobals.Feedthrough_Slot_range["EMBC"][0],
179  xmax=lArDQGlobals.Feedthrough_Slot_range["EMBC"][1],
180  ybins=lArDQGlobals.FEB_N_channels,
181  ymin=-0.5,
182  ymax=lArDQGlobals.FEB_N_channels-0.5,
183  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Barrel)
184 
185  coverageToolArrayEMECA.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_EMECA_statusCode',
186  type='TH2I',
187  path=coverage_path,
188  title='Coverage - EMECA - statusCode={0};Feedthrough(+Slot increasing);Channel',
189  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["EMECA"],
190  xmin=lArDQGlobals.Feedthrough_Slot_range["EMECA"][0],
191  xmax=lArDQGlobals.Feedthrough_Slot_range["EMECA"][1],
192  ybins=lArDQGlobals.FEB_N_channels,
193  ymin=-0.5,
194  ymax=lArDQGlobals.FEB_N_channels-0.5,
195  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap)
196 
197  coverageToolArrayEMECC.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_EMECC_statusCode',
198  type='TH2I',
199  path=coverage_path,
200  title='Coverage - EMECC - statusCode={0};Feedthrough(+Slot increasing);Channel',
201  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["EMECC"],
202  xmin=lArDQGlobals.Feedthrough_Slot_range["EMECC"][0],
203  xmax=lArDQGlobals.Feedthrough_Slot_range["EMECC"][1],
204  ybins=lArDQGlobals.FEB_N_channels,
205  ymin=-0.5,
206  ymax=lArDQGlobals.FEB_N_channels-0.5,
207  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap)
208 
209  coverageToolArrayHECA.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_HECA_statusCode',
210  type='TH2I',
211  path=coverage_path,
212  title='Coverage - HECA - statusCode={0};Feedthrough(+Slot increasing);Channel',
213  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["HECA"],
214  xmin=lArDQGlobals.Feedthrough_Slot_range["HECA"][0],
215  xmax=lArDQGlobals.Feedthrough_Slot_range["HECA"][1],
216  ybins=lArDQGlobals.FEB_N_channels,
217  ymin=-0.5,
218  ymax=lArDQGlobals.FEB_N_channels-0.5,
219  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap)
220 
221  coverageToolArrayHECC.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_HECC_statusCode',
222  type='TH2I',
223  path=coverage_path,
224  title='Coverage - HECC - statusCode={0};Feedthrough(+Slot increasing);Channel',
225  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["HECC"],
226  xmin=lArDQGlobals.Feedthrough_Slot_range["HECC"][0],
227  xmax=lArDQGlobals.Feedthrough_Slot_range["HECC"][1],
228  ybins=lArDQGlobals.FEB_N_channels,
229  ymin=-0.5,
230  ymax=lArDQGlobals.FEB_N_channels-0.5,
231  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap)
232 
233  coverageToolArrayFCalA.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_FCalA_statusCode',
234  type='TH2I',
235  path=coverage_path,
236  title='Coverage - FCalA - statusCode={0};Feedthrough(+Slot increasing);Channel',
237  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["FCalA"],
238  xmin=lArDQGlobals.Feedthrough_Slot_range["FCalA"][0],
239  xmax=lArDQGlobals.Feedthrough_Slot_range["FCalA"][1],
240  ybins=lArDQGlobals.FEB_N_channels,
241  ymin=-0.5,
242  ymax=lArDQGlobals.FEB_N_channels-0.5,
243  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap)
244 
245  coverageToolArrayFCalC.defineHistogram('mon_ChanFtSlot,mon_Channels;CoverageHW_FCalC_statusCode',
246  type='TH2I',
247  path=coverage_path,
248  title='Coverage - FCalC - statusCode={0};Feedthrough(+Slot increasing);Channel',
249  xbins=lArDQGlobals.Feedthrough_Slot_Nbins["FCalC"],
250  xmin=lArDQGlobals.Feedthrough_Slot_range["FCalC"][0],
251  xmax=lArDQGlobals.Feedthrough_Slot_range["FCalC"][1],
252  ybins=lArDQGlobals.FEB_N_channels,
253  ymin=-0.5,
254  ymax=lArDQGlobals.FEB_N_channels-0.5,
255  xlabels=lArDQGlobals.Feedthrough_Slot_labels_Endcap)
256 
257 
258  coverageToolArrayEMBA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling0EMBA_StatusCode',
259  type='TH2I',
260  path=coverage_path,
261  title='Coverage status code={0} - Sampling 0 - EMBA;#eta;#phi',
262  cutmask='isSampl0',
263  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["A"]["0"],
264  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["A"]["0"])
265 
266  coverageToolArrayEMBA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1EMBA_StatusCode',
267  type='TH2I',
268  path=coverage_path,
269  title='Coverage status code={0} - Sampling 1 - EMBA;#eta;#phi',
270  cutmask='isSampl1',
271  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["A"]["1"],
272  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["A"]["1"])
273 
274  coverageToolArrayEMBA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2EMBA_StatusCode',
275  type='TH2I',
276  path=coverage_path,
277  title='Coverage status code={0} - Sampling 2 - EMBA;#eta;#phi',
278  cutmask='isSampl2',
279  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["A"]["2"],
280  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["A"]["2"])
281 
282  coverageToolArrayEMBA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3EMBA_StatusCode',
283  type='TH2I',
284  path=coverage_path,
285  title='Coverage status code={0} - Sampling 3 - EMBA;#eta;#phi',
286  cutmask='isSampl3',
287  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["A"]["3"],
288  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["A"]["3"])
289 
290  coverageToolArrayEMBC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling0EMBC_StatusCode',
291  type='TH2I',
292  path=coverage_path,
293  title='Coverage status code={0} - Sampling 0 - EMBC;#eta;#phi',
294  cutmask='isSampl0',
295  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["C"]["0"],
296  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["C"]["0"])
297 
298  coverageToolArrayEMBC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1EMBC_StatusCode',
299  type='TH2I',
300  path=coverage_path,
301  title='Coverage status code={0} - Sampling 1 - EMBC;#eta;#phi',
302  cutmask='isSampl1',
303  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["C"]["1"],
304  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["C"]["1"])
305 
306  coverageToolArrayEMBC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2EMBC_StatusCode',
307  type='TH2I',
308  path=coverage_path,
309  title='Coverage status code={0} - Sampling 2 - EMBC;#eta;#phi',
310  cutmask='isSampl2',
311  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["C"]["2"],
312  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["C"]["2"])
313 
314  coverageToolArrayEMBC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3EMBC_StatusCode',
315  type='TH2I',
316  path=coverage_path,
317  title='Coverage status code={0} - Sampling 3 - EMBC;#eta;#phi',
318  cutmask='isSampl3',
319  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMB"]["C"]["3"],
320  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMB"]["C"]["3"])
321 
322 
323  coverageToolArrayEMECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling0EMECA_StatusCode',
324  type='TH2I',
325  path=coverage_path,
326  title='Coverage status code={0} - Sampling 0 - EMECA;#eta;#phi',
327  cutmask='isSampl0',
328  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["A"]["0"],
329  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["A"]["0"])
330 
331  coverageToolArrayEMECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1EMECA_StatusCode',
332  type='TH2I',
333  path=coverage_path,
334  title='Coverage status code={0} - Sampling 1 - EMECA;#eta;#phi',
335  cutmask='isSampl1',
336  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["A"]["1"],
337  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["A"]["1"])
338 
339  coverageToolArrayEMECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2EMECA_StatusCode',
340  type='TH2I',
341  path=coverage_path,
342  title='Coverage status code={0} - Sampling 2 - EMECA;#eta;#phi',
343  cutmask='isSampl2',
344  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["A"]["2"],
345  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["A"]["2"])
346 
347  coverageToolArrayEMECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3EMECA_StatusCode',
348  type='TH2I',
349  path=coverage_path,
350  title='Coverage status code={0} - Sampling 3 - EMECA;#eta;#phi',
351  cutmask='isSampl3',
352  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["A"]["3"],
353  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["A"]["3"])
354 
355  coverageToolArrayEMECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling0EMECC_StatusCode',
356  type='TH2I',
357  path=coverage_path,
358  title='Coverage status code={0} - Sampling 0 - EMECC;#eta;#phi',
359  cutmask='isSampl0',
360  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["C"]["0"],
361  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["C"]["0"])
362 
363  coverageToolArrayEMECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1EMECC_StatusCode',
364  type='TH2I',
365  path=coverage_path,
366  title='Coverage status code={0} - Sampling 1 - EMECC;#eta;#phi',
367  cutmask='isSampl1',
368  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["C"]["1"],
369  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["C"]["1"])
370 
371  coverageToolArrayEMECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2EMECC_StatusCode',
372  type='TH2I',
373  path=coverage_path,
374  title='Coverage status code={0} - Sampling 2 - EMECC;#eta;#phi',
375  cutmask='isSampl2',
376  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["C"]["2"],
377  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["C"]["2"])
378 
379  coverageToolArrayEMECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3EMECC_StatusCode',
380  type='TH2I',
381  path=coverage_path,
382  title='Coverage status code={0} - Sampling 3 - EMECC;#eta;#phi',
383  cutmask='isSampl3',
384  xbins=lArDQGlobals.Cell_Variables["etaRange"]["EMEC"]["C"]["3"],
385  ybins=lArDQGlobals.Cell_Variables["phiRange"]["EMEC"]["C"]["3"])
386 
387  coverageToolArrayHECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling0HECA_StatusCode',
388  type='TH2I',
389  path=coverage_path,
390  title='Coverage status code={0} - Sampling 0 - HECA;#eta;#phi',
391  cutmask='isSampl0',
392  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["A"]["0"],
393  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["A"]["0"])
394 
395  coverageToolArrayHECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1HECA_StatusCode',
396  type='TH2I',
397  path=coverage_path,
398  title='Coverage status code={0} - Sampling 1 - HECA;#eta;#phi',
399  cutmask='isSampl1',
400  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["A"]["1"],
401  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["A"]["1"])
402 
403  coverageToolArrayHECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2HECA_StatusCode',
404  type='TH2I',
405  path=coverage_path,
406  title='Coverage status code={0} - Sampling 2 - HECA;#eta;#phi',
407  cutmask='isSampl2',
408  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["A"]["2"],
409  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["A"]["2"])
410 
411  coverageToolArrayHECA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3HECA_StatusCode',
412  type='TH2I',
413  path=coverage_path,
414  title='Coverage status code={0} - Sampling 3 - HECA;#eta;#phi',
415  cutmask='isSampl3',
416  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["A"]["3"],
417  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["A"]["3"])
418 
419  coverageToolArrayHECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling0HECC_StatusCode',
420  type='TH2I',
421  path=coverage_path,
422  title='Coverage status code={0} - Sampling 0 - HECC;#eta;#phi',
423  cutmask='isSampl0',
424  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["C"]["0"],
425  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["C"]["0"])
426 
427  coverageToolArrayHECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1HECC_StatusCode',
428  type='TH2I',
429  path=coverage_path,
430  title='Coverage status code={0} - Sampling 1 - HECC;#eta;#phi',
431  cutmask='isSampl1',
432  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["C"]["1"],
433  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["C"]["1"])
434 
435  coverageToolArrayHECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2HECC_StatusCode',
436  type='TH2I',
437  path=coverage_path,
438  title='Coverage status code={0} - Sampling 2 - HECC;#eta;#phi',
439  cutmask='isSampl2',
440  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["C"]["2"],
441  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["C"]["2"])
442 
443  coverageToolArrayHECC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3HECC_StatusCode',
444  type='TH2I',
445  path=coverage_path,
446  title='Coverage status code={0} - Sampling 3 - HECC;#eta;#phi',
447  cutmask='isSampl3',
448  xbins=lArDQGlobals.Cell_Variables["etaRange"]["HEC"]["C"]["3"],
449  ybins=lArDQGlobals.Cell_Variables["phiRange"]["HEC"]["C"]["3"])
450 
451  coverageToolArrayFCalA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1FCalA_StatusCode',
452  type='TH2I',
453  path=coverage_path,
454  title='Coverage status code={0} - Sampling 1 - FCalA;#eta;#phi',
455  cutmask='isSampl1',
456  xbins=lArDQGlobals.Cell_Variables["etaRange"]["FCal"]["A"]["1"],
457  ybins=lArDQGlobals.Cell_Variables["phiRange"]["FCal"]["A"]["1"])
458 
459  coverageToolArrayFCalA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2FCalA_StatusCode',
460  type='TH2I',
461  path=coverage_path,
462  title='Coverage status code={0} - Sampling 2 - FCalA;#eta;#phi',
463  cutmask='isSampl2',
464  xbins=lArDQGlobals.Cell_Variables["etaRange"]["FCal"]["A"]["2"],
465  ybins=lArDQGlobals.Cell_Variables["phiRange"]["FCal"]["A"]["2"])
466 
467  coverageToolArrayFCalA.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3FCalA_StatusCode',
468  type='TH2I',
469  path=coverage_path,
470  title='Coverage status code={0} - Sampling 3 - FCalA;#eta;#phi',
471  cutmask='isSampl3',
472  xbins=lArDQGlobals.Cell_Variables["etaRange"]["FCal"]["A"]["3"],
473  ybins=lArDQGlobals.Cell_Variables["phiRange"]["FCal"]["A"]["3"])
474 
475  coverageToolArrayFCalC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling1FCalC_StatusCode',
476  type='TH2I',
477  path=coverage_path,
478  title='Coverage status code={0} - Sampling 1 - FCalC;#eta;#phi',
479  cutmask='isSampl1',
480  xbins=lArDQGlobals.Cell_Variables["etaRange"]["FCal"]["C"]["1"],
481  ybins=lArDQGlobals.Cell_Variables["phiRange"]["FCal"]["C"]["1"])
482 
483  coverageToolArrayFCalC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling2FCalC_StatusCode',
484  type='TH2I',
485  path=coverage_path,
486  title='Coverage status code={0} - Sampling 2 - FCalC;#eta;#phi',
487  cutmask='isSampl2',
488  xbins=lArDQGlobals.Cell_Variables["etaRange"]["FCal"]["C"]["2"],
489  ybins=lArDQGlobals.Cell_Variables["phiRange"]["FCal"]["C"]["2"])
490 
491  coverageToolArrayFCalC.defineHistogram('mon_Eta,mon_Phi;RAW_CoverSampling3FCalC_StatusCode',
492  type='TH2I',
493  path=coverage_path,
494  title='Coverage status code={0} - Sampling 3 - FCalC;#eta;#phi',
495  cutmask='isSampl3',
496  xbins=lArDQGlobals.Cell_Variables["etaRange"]["FCal"]["C"]["3"],
497  ybins=lArDQGlobals.Cell_Variables["phiRange"]["FCal"]["C"]["3"])
498 
499 
500 
LArCoverageAlg.LArCoverageConfigCore
def LArCoverageConfigCore(helper, algoinstance, flags)
Definition: LArCoverageAlg.py:28
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
LArCoverageAlg.LArCoverageConfig
def LArCoverageConfig(flags)
Definition: LArCoverageAlg.py:11
python.CaloNoiseCondAlgConfig.CaloNoiseCondAlgCfg
def CaloNoiseCondAlgCfg(flags, noisetype="totalNoise")
Definition: CaloNoiseCondAlgConfig.py:11
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195