1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.PNDiodeTask_cfi
import ecalPNDiodeTask
5 errFractionThreshold = 0.01
7 ecalPNIntegrityClient = cms.untracked.PSet(
8 params = cms.untracked.PSet(
9 errFractionThreshold = cms.untracked.double(errFractionThreshold)
11 sources = cms.untracked.PSet(
12 Occupancy = ecalPNDiodeTask.MEs.Occupancy,
13 MEMChId = ecalPNDiodeTask.MEs.MEMChId,
14 MEMGain = ecalPNDiodeTask.MEs.MEMGain,
15 MEMBlockSize = ecalPNDiodeTask.MEs.MEMBlockSize,
16 MEMTowerId = ecalPNDiodeTask.MEs.MEMTowerId
18 MEs = cms.untracked.PSet(
19 QualitySummary = cms.untracked.PSet(
20 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT PN integrity quality summary'),
21 kind = cms.untracked.string(
'TH2F'),
22 otype = cms.untracked.string(
'MEM2P'),
23 btype = cms.untracked.string(
'Crystal'),
24 description = cms.untracked.string(
'Summary of the data integrity in PN channels. A channel is red if more than ' +
str(100 * errFractionThreshold) +
'% of its entries have integrity errors.')