Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-16 00:28:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.EcalMonitorTasks.PresampleTask_cfi import ecalPresampleTask
0004 from DQM.EcalMonitorClient.IntegrityClient_cfi import ecalIntegrityClient
0005 
0006 minChannelEntries = 6
0007 expectedMean = 200.0
0008 toleranceLow = 25.0
0009 toleranceHigh = 40.0
0010 toleranceRMS = 3.0
0011 toleranceRMSFwd = 6.0
0012 
0013 ecalPresampleClient = cms.untracked.PSet(
0014     params = cms.untracked.PSet(
0015         minChannelEntries = cms.untracked.int32(minChannelEntries),
0016         expectedMean = cms.untracked.double(expectedMean),
0017         toleranceLow = cms.untracked.double(toleranceLow),
0018         toleranceHigh = cms.untracked.double(toleranceHigh),
0019         toleranceRMS = cms.untracked.double(toleranceRMS),
0020         toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
0021     ),
0022     sources = cms.untracked.PSet(
0023         Pedestal = ecalPresampleTask.MEs.Pedestal,
0024         PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
0025         ChStatus = ecalIntegrityClient.MEs.ChStatus
0026     ),
0027     MEs = cms.untracked.PSet(
0028         RMS = cms.untracked.PSet(
0029             path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
0030             kind = cms.untracked.string('TH1F'),
0031             otype = cms.untracked.string('SM'),
0032             xaxis = cms.untracked.PSet(
0033                 high = cms.untracked.double(10.0),
0034                 nbins = cms.untracked.int32(100),
0035                 low = cms.untracked.double(0.0)
0036             ),
0037             btype = cms.untracked.string('User'),
0038             description = cms.untracked.string('Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0039         ),
0040         TrendRMS = cms.untracked.PSet(
0041             path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
0042             kind = cms.untracked.string('TProfile'),
0043             otype = cms.untracked.string('Ecal2P'),
0044             btype = cms.untracked.string('Trend'),
0045             description = cms.untracked.string('Trend of presample RMS averaged over all channels in EB / EE.')
0046         ),
0047         RMSMap = cms.untracked.PSet(
0048             path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
0049             kind = cms.untracked.string('TH2F'),
0050             zaxis = cms.untracked.PSet(
0051                 title = cms.untracked.string('RMS')
0052             ),
0053             otype = cms.untracked.string('SM'),
0054             btype = cms.untracked.string('Crystal'),
0055             description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0056         ),
0057         RMSMapAll = cms.untracked.PSet(
0058             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
0059             kind = cms.untracked.string('TH2F'),
0060             zaxis = cms.untracked.PSet(
0061                 title = cms.untracked.string('RMS')
0062             ),
0063             otype = cms.untracked.string('Ecal3P'),
0064             btype = cms.untracked.string('SuperCrystal'),
0065             description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0066         ),
0067      MeanMapAll = cms.untracked.PSet(
0068             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 Mean map'),
0069             kind = cms.untracked.string('TH2F'),
0070             zaxis = cms.untracked.PSet(
0071                 title = cms.untracked.string('Mean')
0072             ),
0073             otype = cms.untracked.string('Ecal3P'),
0074             btype = cms.untracked.string('SuperCrystal'),
0075             description = cms.untracked.string('2D distribution of the presample Mean. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0076         ),
0077         RMSMapAllByLumi = cms.untracked.PSet(
0078             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map by lumi'),
0079             kind = cms.untracked.string('TH2F'),
0080             zaxis = cms.untracked.PSet(
0081                 title = cms.untracked.string('RMS')
0082             ),
0083             otype = cms.untracked.string('Ecal3P'),
0084             btype = cms.untracked.string('Crystal'),
0085             description = cms.untracked.string('2D distribution of the presample RMS in this lumisection. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0086         ),
0087         TrendMean = cms.untracked.PSet(
0088             path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
0089             kind = cms.untracked.string('TProfile'),
0090             otype = cms.untracked.string('Ecal2P'),
0091             btype = cms.untracked.string('Trend'),
0092             description = cms.untracked.string('Trend of presample spread in EB / EE. Y value indicates the difference between maximum and minimum presample mean values within the subdetector.')
0093         ),
0094         QualitySummary = cms.untracked.PSet(
0095             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
0096             kind = cms.untracked.string('TH2F'),
0097             otype = cms.untracked.string('Ecal3P'),
0098             btype = cms.untracked.string('Crystal'),
0099             description = cms.untracked.string('Summary of the presample data quality. A channel is red if presample mean is outside the range (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHigh) + '), or RMS is greater than ' + str(toleranceRMS) + '. RMS threshold is ' + str(toleranceRMSFwd) + ' in the forward region (|eta| > 2.1). Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0100         ),
0101         Quality = cms.untracked.PSet(
0102             path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
0103             kind = cms.untracked.string('TH2F'),
0104             otype = cms.untracked.string('SM'),
0105             btype = cms.untracked.string('Crystal'),
0106             description = cms.untracked.string('Summary of the presample data quality. A channel is red if presample mean is outside the range (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHigh) + '), or RMS is greater than ' + str(toleranceRMS) + '. RMS threshold is ' + str(toleranceRMSFwd) + ' in the forward region (|eta| > 2.1). Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0107         ),
0108         ErrorsSummary = cms.untracked.PSet(
0109             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
0110             kind = cms.untracked.string('TH1F'),
0111             otype = cms.untracked.string('Ecal2P'),
0112             btype = cms.untracked.string('DCC'),
0113             description = cms.untracked.string('Counter of channels flagged as bad in the quality summary')
0114         ),
0115         Mean = cms.untracked.PSet(
0116             path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
0117             kind = cms.untracked.string('TH1F'),
0118             otype = cms.untracked.string('SM'),
0119             xaxis = cms.untracked.PSet(
0120                 high = cms.untracked.double(270.0),
0121                 nbins = cms.untracked.int32(200),
0122                 low = cms.untracked.double(170.0)
0123             ),
0124             btype = cms.untracked.string('User'),
0125             description = cms.untracked.string('1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0126         )
0127     )
0128 )