1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.OccupancyTask_cfi
import ecalOccupancyTask
4 from DQM.EcalMonitorTasks.RawDataTask_cfi
import ecalRawDataTask
6 synchErrThresholdFactor = 1.
9 ecalRawDataClient = cms.untracked.PSet(
10 params = cms.untracked.PSet(
11 minEvents = cms.untracked.int32(minEvents),
12 synchErrThresholdFactor = cms.untracked.double(synchErrThresholdFactor)
14 sources = cms.untracked.PSet(
15 Entries = ecalOccupancyTask.MEs.DCC,
16 L1ADCC = ecalRawDataTask.MEs.L1ADCC,
17 FEStatus = ecalRawDataTask.MEs.FEStatus
19 MEs = cms.untracked.PSet(
20 QualitySummary = cms.untracked.PSet(
21 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sSFT%(suffix)s front-end status summary'),
22 kind = cms.untracked.string(
'TH2F'),
23 otype = cms.untracked.string(
'Ecal3P'),
24 btype = cms.untracked.string(
'SuperCrystal'),
25 description = cms.untracked.string(
'Summary of the raw data (DCC and front-end) quality. A channel is red if it has '+
str(minEvents)+
' or more events with FE status that is different from any of ENABLED, DISABLED, SUPPRESSED, FIFOFULL, FIFOFULL_L1ADESYNC, and FORCEDZS. A FED can also go red if its number of L1A desynchronization errors is greater than ' +
str(synchErrThresholdFactor) +
' * log10(total entries).')
27 ErrorsSummary = cms.untracked.PSet(
28 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sSFT front-end status errors summary'),
29 kind = cms.untracked.string(
'TH1F'),
30 otype = cms.untracked.string(
'Ecal2P'),
31 btype = cms.untracked.string(
'DCC'),
32 description = cms.untracked.string(
'Counter of data towers flagged as bad in the quality summary')