CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IntegrityClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
4 from DQM.EcalMonitorTasks.IntegrityTask_cfi import ecalIntegrityTask
5 
6 errFractionThreshold = 0.01
7 
8 ecalIntegrityClient = cms.untracked.PSet(
9  params = cms.untracked.PSet(
10  errFractionThreshold = cms.untracked.double(errFractionThreshold)
11  ),
12  sources = cms.untracked.PSet(
13  Occupancy = ecalOccupancyTask.MEs.Digi,
14  BlockSize = ecalIntegrityTask.MEs.BlockSize,
15  Gain = ecalIntegrityTask.MEs.Gain,
16  GainSwitch = ecalIntegrityTask.MEs.GainSwitch,
17  ChId = ecalIntegrityTask.MEs.ChId,
18  TowerId = ecalIntegrityTask.MEs.TowerId,
19  ),
20  MEs = cms.untracked.PSet(
21  QualitySummary = cms.untracked.PSet(
22  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT%(suffix)s integrity quality summary'),
23  kind = cms.untracked.string('TH2F'),
24  otype = cms.untracked.string('Ecal3P'),
25  btype = cms.untracked.string('Crystal'),
26  description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
27  ),
28  Quality = cms.untracked.PSet(
29  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT data integrity quality %(sm)s'),
30  kind = cms.untracked.string('TH2F'),
31  otype = cms.untracked.string('SM'),
32  btype = cms.untracked.string('Crystal'),
33  description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
34  ),
35  ChStatus = cms.untracked.PSet(
36  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT%(suffix)s channel status map'),
37  kind = cms.untracked.string('TH2F'),
38  otype = cms.untracked.string('Ecal3P'),
39  btype = cms.untracked.string('Crystal'),
40  description = cms.untracked.string('Map of channel status as given by the Ecal Channel Status Record. LEGEND:<br/>0: Channel ok,<br/>1: DAC settings problem, pedestal not in the design range,<br/>2: Channel with no laser, ok elsewhere,<br/>3: Noisy,<br/>4: Very noisy,<br/>5-7: Reserved for more categories of noisy channels,<br/>8: Channel at fixed gain 6 (or 6 and 1),<br/>9: Channel at fixed gain 1,<br/>10: Channel at fixed gain 0 (dead of type this),<br/>11: Non-responding isolated channel (dead of type other),<br/>12: Channel and one or more neigbors not responding (e.g.: in a dead VFE 5x1 channel),<br/>13: Channel in TT with no data link, TP data ok,<br/>14: Channel in TT with no data link and no TP data.')
41  )
42  )
43 )