test
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 from DQM.EcalMonitorTasks.RawDataTask_cfi import ecalRawDataTask
6 
7 errFractionThreshold = 0.01
8 
9 ecalIntegrityClient = cms.untracked.PSet(
10  params = cms.untracked.PSet(
11  errFractionThreshold = cms.untracked.double(errFractionThreshold)
12  ),
13  sources = cms.untracked.PSet(
14  Occupancy = ecalOccupancyTask.MEs.Digi,
15  BlockSize = ecalIntegrityTask.MEs.BlockSize,
16  Gain = ecalIntegrityTask.MEs.Gain,
17  GainSwitch = ecalIntegrityTask.MEs.GainSwitch,
18  ChId = ecalIntegrityTask.MEs.ChId,
19  TowerId = ecalIntegrityTask.MEs.TowerId,
20  BXSRP = ecalRawDataTask.MEs.BXSRP,
21  BXTCC = ecalRawDataTask.MEs.BXTCC
22  ),
23  MEs = cms.untracked.PSet(
24  QualitySummary = cms.untracked.PSet(
25  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT%(suffix)s integrity quality summary'),
26  kind = cms.untracked.string('TH2F'),
27  otype = cms.untracked.string('Ecal3P'),
28  btype = cms.untracked.string('Crystal'),
29  description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
30  ),
31  Quality = cms.untracked.PSet(
32  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT data integrity quality %(sm)s'),
33  kind = cms.untracked.string('TH2F'),
34  otype = cms.untracked.string('SM'),
35  btype = cms.untracked.string('Crystal'),
36  description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
37  ),
38  ChStatus = cms.untracked.PSet(
39  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT%(suffix)s channel status map'),
40  kind = cms.untracked.string('TH2F'),
41  otype = cms.untracked.string('Ecal3P'),
42  btype = cms.untracked.string('Crystal'),
43  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.')
44  )
45  )
46 )