1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.OccupancyTask_cfi
import ecalOccupancyTask
4 from DQM.EcalMonitorTasks.IntegrityTask_cfi
import ecalIntegrityTask
6 errFractionThreshold = 0.01
8 ecalIntegrityClient = cms.untracked.PSet(
9 params = cms.untracked.PSet(
10 errFractionThreshold = cms.untracked.double(errFractionThreshold)
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,
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.')
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.')