CMS 3D CMS Logo

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  NumEvents = ecalOccupancyTask.MEs.NEvents
23  ),
24  MEs = cms.untracked.PSet(
25  QualitySummary = cms.untracked.PSet(
26  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT%(suffix)s integrity quality summary'),
27  kind = cms.untracked.string('TH2F'),
28  otype = cms.untracked.string('Ecal3P'),
29  btype = cms.untracked.string('Crystal'),
30  description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors. Also, an entire SuperModule can show red if more than 0.01 of its entries have DCC-SRP or DCC-TCC Desync errors.')
31  ),
32  Quality = cms.untracked.PSet(
33  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT data integrity quality %(sm)s'),
34  kind = cms.untracked.string('TH2F'),
35  otype = cms.untracked.string('SM'),
36  btype = cms.untracked.string('Crystal'),
37  description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
38  ),
39  ChStatus = cms.untracked.PSet(
40  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT%(suffix)s channel status map'),
41  kind = cms.untracked.string('TH2F'),
42  otype = cms.untracked.string('Ecal3P'),
43  btype = cms.untracked.string('Crystal'),
44  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.')
45  ),
46  TowerIdNormalized = cms.untracked.PSet(
47  path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityTask/TTId/%(prefix)sIT TTId Normalized %(sm)s'),
48  kind = cms.untracked.string('TH2F'),
49  otype = cms.untracked.string('SM'),
50  btype = cms.untracked.string('SuperCrystal'),
51  description = cms.untracked.string('TTID errors normalized by total no.of processed events per run.')
52  )
53  )
54 )
#define str(s)