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.
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  )
36 )