Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:15

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     NumEvents = ecalOccupancyTask.MEs.NEvents
0023     ),
0024     MEs = cms.untracked.PSet(
0025         QualitySummary = cms.untracked.PSet(
0026             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sIT%(suffix)s integrity quality summary'),
0027             kind = cms.untracked.string('TH2F'),
0028             otype = cms.untracked.string('Ecal3P'),
0029             btype = cms.untracked.string('Crystal'),
0030             description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')
0031         ),
0032         Quality = cms.untracked.PSet(
0033             path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT data integrity quality %(sm)s'),
0034             kind = cms.untracked.string('TH2F'),
0035             otype = cms.untracked.string('SM'),
0036             btype = cms.untracked.string('Crystal'),
0037             description = cms.untracked.string('Summary of the data integrity. A channel is red if more than ' + str(errFractionThreshold) + ' of its entries have integrity errors.')            
0038         ),
0039         ChStatus = cms.untracked.PSet(
0040             path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityClient/%(prefix)sIT%(suffix)s channel status map'),
0041             kind = cms.untracked.string('TH2F'),
0042             otype = cms.untracked.string('Ecal3P'),
0043             btype = cms.untracked.string('Crystal'),
0044             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.')
0045        ),
0046     TowerIdNormalized = cms.untracked.PSet(
0047             path = cms.untracked.string('%(subdet)s/%(prefix)sIntegrityTask/TTId/%(prefix)sIT TTId Normalized %(sm)s'),
0048             kind = cms.untracked.string('TH2F'),
0049             otype = cms.untracked.string('SM'),
0050             btype = cms.untracked.string('SuperCrystal'),
0051             description = cms.untracked.string('TTID errors normalized by total no.of processed events per run.')
0052        )
0053     )
0054 )