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.
8 ecalRawDataClient = cms.untracked.PSet(
9 params = cms.untracked.PSet(
10 synchErrThresholdFactor = cms.untracked.double(synchErrThresholdFactor)
12 sources = cms.untracked.PSet(
13 Entries = ecalOccupancyTask.MEs.DCC,
14 L1ADCC = ecalRawDataTask.MEs.L1ADCC,
15 FEStatus = ecalRawDataTask.MEs.FEStatus
17 MEs = cms.untracked.PSet(
18 QualitySummary = cms.untracked.PSet(
19 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sSFT%(suffix)s front-end status summary'),
20 kind = cms.untracked.string(
'TH2F'),
21 otype = cms.untracked.string(
'Ecal3P'),
22 btype = cms.untracked.string(
'SuperCrystal'),
23 perLumi = cms.untracked.bool(
True),
24 description = cms.untracked.string(
'Summary of the raw data (DCC and front-end) quality. A channel is red if it has nonzero 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).')
26 ErrorsSummary = cms.untracked.PSet(
27 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sSFT front-end status errors summary'),
28 kind = cms.untracked.string(
'TH1F'),
29 otype = cms.untracked.string(
'Ecal2P'),
30 btype = cms.untracked.string(
'DCC'),
31 description = cms.untracked.string(
'Counter of data towers flagged as bad in the quality summary')