Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.EcalMonitorClient.IntegrityClient_cfi import ecalIntegrityClient
0004 from DQM.EcalMonitorClient.PresampleClient_cfi import ecalPresampleClient
0005 from DQM.EcalMonitorClient.TimingClient_cfi import ecalTimingClient
0006 from DQM.EcalMonitorClient.RawDataClient_cfi import ecalRawDataClient
0007 from DQM.EcalMonitorClient.TrigPrimClient_cfi import ecalTrigPrimClient
0008 from DQM.EcalMonitorClient.OccupancyClient_cfi import ecalOccupancyClient
0009 from DQM.EcalMonitorTasks.IntegrityTask_cfi import ecalIntegrityTask
0010 from DQM.EcalMonitorTasks.RawDataTask_cfi import ecalRawDataTask
0011 
0012 activeSources = ['Integrity', 'RawData', 'Presample']
0013 towerBadFraction = 0.8
0014 fedBadFraction = 0.5
0015 
0016 ecalSummaryClient = cms.untracked.PSet(
0017     params = cms.untracked.PSet(
0018         activeSources = cms.untracked.vstring(activeSources),
0019         towerBadFraction = cms.untracked.double(towerBadFraction),
0020         fedBadFraction = cms.untracked.double(fedBadFraction)
0021     ),
0022     sources = cms.untracked.PSet(
0023         Integrity = ecalIntegrityClient.MEs.QualitySummary,
0024         IntegrityByLumi = ecalIntegrityTask.MEs.ByLumi,
0025         Presample = ecalPresampleClient.MEs.QualitySummary,
0026         Timing = ecalTimingClient.MEs.QualitySummary,
0027         RawData = ecalRawDataClient.MEs.QualitySummary,
0028         DesyncByLumi = ecalRawDataTask.MEs.DesyncByLumi,
0029         FEByLumi = ecalRawDataTask.MEs.FEByLumi,
0030         FEStatusErrMapByLumi = ecalRawDataTask.MEs.FEStatusErrMapByLumi,
0031         TriggerPrimitives = ecalTrigPrimClient.MEs.EmulQualitySummary,
0032         HotCell = ecalOccupancyClient.MEs.QualitySummary,
0033         BXSRP = ecalRawDataTask.MEs.BXSRP,
0034         BXTCC = ecalRawDataTask.MEs.BXTCC
0035     ),
0036     MEs = cms.untracked.PSet(
0037         ReportSummaryMap = cms.untracked.PSet(
0038             path = cms.untracked.string('Ecal/EventInfo/reportSummaryMap'),
0039             kind = cms.untracked.string('TH2F'),
0040             otype = cms.untracked.string('Ecal'),
0041             btype = cms.untracked.string('DCC'),
0042             description = cms.untracked.string('')
0043         ),
0044         ReportSummaryContents = cms.untracked.PSet(
0045             path = cms.untracked.string('Ecal/EventInfo/reportSummaryContents/Ecal_%(sm)s'),
0046             kind = cms.untracked.string('REAL'),
0047             otype = cms.untracked.string('SM'),
0048             btype = cms.untracked.string('Report'),
0049             perLumi = cms.untracked.bool(False),
0050             description = cms.untracked.string('')
0051         ),
0052         GlobalSummary = cms.untracked.PSet(
0053             path = cms.untracked.string('Ecal/Errors/Global summary errors'),
0054             kind = cms.untracked.string('TH1F'),
0055             otype = cms.untracked.string('None'),
0056             btype = cms.untracked.string('User'),
0057             xaxis = cms.untracked.PSet(
0058                 nbins = cms.untracked.int32(1),
0059                 low = cms.untracked.double(0.),
0060                 high = cms.untracked.double(1.),
0061                 labels = cms.untracked.vstring(['ECAL status'])
0062             ),
0063             description = cms.untracked.string('Error summary used to trigger audio alarm. The value is identical to reportSummary.'),
0064             online = cms.untracked.bool(True)
0065         ),
0066         NBadFEDs = cms.untracked.PSet(
0067             path = cms.untracked.string('Ecal/Errors/Number of Bad Ecal FEDs'),
0068             kind = cms.untracked.string('TH1F'),
0069             otype = cms.untracked.string('None'),
0070             xaxis = cms.untracked.PSet(
0071                 high = cms.untracked.double(1.0),
0072                 nbins = cms.untracked.int32(1),
0073                 low = cms.untracked.double(0.0)
0074             ),
0075             btype = cms.untracked.string('User'),
0076             online = cms.untracked.bool(True),
0077             description = cms.untracked.string('Number of FEDs with more than ' + str(fedBadFraction * 100) + '% of channels in bad status. Updated every lumi section.')
0078         ),
0079         QualitySummary = cms.untracked.PSet(
0080             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)s global summary%(suffix)s'),
0081             kind = cms.untracked.string('TH2F'),
0082             otype = cms.untracked.string('Ecal3P'),
0083             btype = cms.untracked.string('Crystal'),
0084             description = cms.untracked.string('Summary of the data quality. A channel is red if it is red in any one of RawData, Integrity, Timing, TriggerPrimitives, and HotCells task. A cluster of bad towers in this plot will cause the ReportSummary for the FED to go to 0 in online DQM.')
0085         ),
0086         ReportSummary = cms.untracked.PSet(
0087             path = cms.untracked.string('Ecal/EventInfo/reportSummary'),
0088             kind = cms.untracked.string('REAL'),
0089             otype = cms.untracked.string('Ecal'),
0090             btype = cms.untracked.string('Report'),
0091             perLumi = cms.untracked.bool(False),
0092             description = cms.untracked.string('')
0093         )
0094     )
0095 )