File indexing completed on 2024-07-16 02:42:45
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
0004 from DQM.EcalMonitorTasks.RawDataTask_cfi import ecalRawDataTask
0005
0006 synchErrThresholdFactor = 1.
0007 minEvents = 400
0008
0009 ecalRawDataClient = cms.untracked.PSet(
0010 params = cms.untracked.PSet(
0011 minEvents = cms.untracked.int32(minEvents),
0012 synchErrThresholdFactor = cms.untracked.double(synchErrThresholdFactor)
0013 ),
0014 sources = cms.untracked.PSet(
0015 Entries = ecalOccupancyTask.MEs.DCC,
0016 L1ADCC = ecalRawDataTask.MEs.L1ADCC,
0017 FEStatus = ecalRawDataTask.MEs.FEStatus
0018 ),
0019 MEs = cms.untracked.PSet(
0020 QualitySummary = cms.untracked.PSet(
0021 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sSFT%(suffix)s front-end status summary'),
0022 kind = cms.untracked.string('TH2F'),
0023 otype = cms.untracked.string('Ecal3P'),
0024 btype = cms.untracked.string('SuperCrystal'),
0025 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).')
0026 ),
0027 ErrorsSummary = cms.untracked.PSet(
0028 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sSFT front-end status errors summary'),
0029 kind = cms.untracked.string('TH1F'),
0030 otype = cms.untracked.string('Ecal2P'),
0031 btype = cms.untracked.string('DCC'),
0032 description = cms.untracked.string('Counter of data towers flagged as bad in the quality summary')
0033 )
0034 )
0035 )
0036