Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
0004 from DQM.EcalMonitorTasks.IntegrityTask_cfi import ecalIntegrityTask
0005 from DQM.EcalMonitorTasks.RawDataTask_cfi import ecalRawDataTask
0006 
0007 errFractionThreshold = 0.01
0008 
0009 ecalIntegrityClient = cms.untracked.PSet(
0010     params = cms.untracked.PSet(
0011         errFractionThreshold = cms.untracked.double(errFractionThreshold)
0012     ),
0013     sources = cms.untracked.PSet(
0014         Occupancy = ecalOccupancyTask.MEs.Digi,
0015         BlockSize = ecalIntegrityTask.MEs.BlockSize,
0016         Gain = ecalIntegrityTask.MEs.Gain,
0017         GainSwitch = ecalIntegrityTask.MEs.GainSwitch,
0018         ChId = ecalIntegrityTask.MEs.ChId,
0019         TowerId = ecalIntegrityTask.MEs.TowerId,
0020         BXSRP = ecalRawDataTask.MEs.BXSRP,
0021         BXTCC = ecalRawDataTask.MEs.BXTCC
0022     ),
0023     MEs = cms.untracked.PSet(
0024         QualitySummary = cms.untracked.PSet(
0025             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT%(suffix)s integrity quality summary'),
0026             kind = cms.untracked.string('TH2F'),
0027             otype = cms.untracked.string('Ecal3P'),
0028             btype = cms.untracked.string('Crystal'),
0029             description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
0030         ),
0031         Quality = cms.untracked.PSet(
0032             path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT data integrity quality %(sm)s'),
0033             kind = cms.untracked.string('TH2F'),
0034             otype = cms.untracked.string('SM'),
0035             btype = cms.untracked.string('Crystal'),
0036             description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')            
0037         ),
0038         ChStatus = cms.untracked.PSet(
0039             path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT%(suffix)s channel status map'),
0040             kind = cms.untracked.string('TH2F'),
0041             otype = cms.untracked.string('Ecal3P'),
0042             btype = cms.untracked.string('Crystal'),
0043             description = cms.untracked.string('Map of channel status as given by the Ecal Channel Status Record. LEGEND:<br/>0: Channel ok,<br/>1: DAC settings problem, pedestal not in the design range,<br/>2: Channel with no laser, ok elsewhere,<br/>3: Noisy,<br/>4: Very noisy,<br/>5-7: Reserved for more categories of noisy channels,<br/>8: Channel at fixed gain 6 (or 6 and 1),<br/>9: Channel at fixed gain 1,<br/>10: Channel at fixed gain 0 (dead of type this),<br/>11: Non-responding isolated channel (dead of type other),<br/>12: Channel and one or more neigbors not responding (e.g.: in a dead VFE 5x1 channel),<br/>13: Channel in TT with no data link, TP data ok,<br/>14: Channel in TT with no data link and no TP data.')
0044         )
0045     )
0046 )