File indexing completed on 2024-04-06 12:07:15
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 = 60.0
0010 toleranceHighFwd = 100.0
0011 toleranceRMS = 6.0
0012 toleranceRMSFwd = 6.0
0013
0014 ecalPresampleClient = cms.untracked.PSet(
0015 params = cms.untracked.PSet(
0016 minChannelEntries = cms.untracked.int32(minChannelEntries),
0017 expectedMean = cms.untracked.double(expectedMean),
0018 toleranceLow = cms.untracked.double(toleranceLow),
0019 toleranceHigh = cms.untracked.double(toleranceHigh),
0020 toleranceHighFwd = cms.untracked.double(toleranceHighFwd),
0021 toleranceRMS = cms.untracked.double(toleranceRMS),
0022 toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
0023 ),
0024 sources = cms.untracked.PSet(
0025 Pedestal = ecalPresampleTask.MEs.Pedestal,
0026 PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
0027 ChStatus = ecalIntegrityClient.MEs.ChStatus
0028 ),
0029 MEs = cms.untracked.PSet(
0030 RMS = cms.untracked.PSet(
0031 path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
0032 kind = cms.untracked.string('TH1F'),
0033 otype = cms.untracked.string('SM'),
0034 xaxis = cms.untracked.PSet(
0035 high = cms.untracked.double(10.0),
0036 nbins = cms.untracked.int32(100),
0037 low = cms.untracked.double(0.0)
0038 ),
0039 btype = cms.untracked.string('User'),
0040 description = cms.untracked.string('Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0041 ),
0042 TrendRMS = cms.untracked.PSet(
0043 path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
0044 kind = cms.untracked.string('TProfile'),
0045 otype = cms.untracked.string('Ecal2P'),
0046 btype = cms.untracked.string('Trend'),
0047 description = cms.untracked.string('Trend of presample RMS averaged over all channels in EB / EE.')
0048 ),
0049 RMSMap = cms.untracked.PSet(
0050 path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
0051 kind = cms.untracked.string('TH2F'),
0052 zaxis = cms.untracked.PSet(
0053 title = cms.untracked.string('RMS')
0054 ),
0055 otype = cms.untracked.string('SM'),
0056 btype = cms.untracked.string('Crystal'),
0057 description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0058 ),
0059 RMSMapAll = cms.untracked.PSet(
0060 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
0061 kind = cms.untracked.string('TH2F'),
0062 zaxis = cms.untracked.PSet(
0063 title = cms.untracked.string('RMS')
0064 ),
0065 otype = cms.untracked.string('Ecal3P'),
0066 btype = cms.untracked.string('SuperCrystal'),
0067 description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0068 ),
0069 MeanMapAll = cms.untracked.PSet(
0070 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 Mean map'),
0071 kind = cms.untracked.string('TH2F'),
0072 zaxis = cms.untracked.PSet(
0073 title = cms.untracked.string('Mean')
0074 ),
0075 otype = cms.untracked.string('Ecal3P'),
0076 btype = cms.untracked.string('SuperCrystal'),
0077 description = cms.untracked.string('2D distribution of the presample Mean. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0078 ),
0079 RMSMapAllByLumi = cms.untracked.PSet(
0080 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map by lumi'),
0081 kind = cms.untracked.string('TH2F'),
0082 zaxis = cms.untracked.PSet(
0083 title = cms.untracked.string('RMS')
0084 ),
0085 otype = cms.untracked.string('Ecal3P'),
0086 btype = cms.untracked.string('Crystal'),
0087 description = cms.untracked.string('2D distribution of the presample RMS in this lumisection. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0088 ),
0089 TrendMean = cms.untracked.PSet(
0090 path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
0091 kind = cms.untracked.string('TProfile'),
0092 otype = cms.untracked.string('Ecal2P'),
0093 btype = cms.untracked.string('Trend'),
0094 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.')
0095 ),
0096 QualitySummary = cms.untracked.PSet(
0097 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
0098 kind = cms.untracked.string('TH2F'),
0099 otype = cms.untracked.string('Ecal3P'),
0100 btype = cms.untracked.string('Crystal'),
0101 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 (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHighFwd) + ') for forward region, 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.')
0102 ),
0103 Quality = cms.untracked.PSet(
0104 path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
0105 kind = cms.untracked.string('TH2F'),
0106 otype = cms.untracked.string('SM'),
0107 btype = cms.untracked.string('Crystal'),
0108 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 (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHighFwd) + ') for forward region, 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.')
0109 ),
0110 ErrorsSummary = cms.untracked.PSet(
0111 path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
0112 kind = cms.untracked.string('TH1F'),
0113 otype = cms.untracked.string('Ecal2P'),
0114 btype = cms.untracked.string('DCC'),
0115 description = cms.untracked.string('Counter of channels flagged as bad in the quality summary')
0116 ),
0117 Mean = cms.untracked.PSet(
0118 path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
0119 kind = cms.untracked.string('TH1F'),
0120 otype = cms.untracked.string('SM'),
0121 xaxis = cms.untracked.PSet(
0122 high = cms.untracked.double(270.0),
0123 nbins = cms.untracked.int32(200),
0124 low = cms.untracked.double(170.0)
0125 ),
0126 btype = cms.untracked.string('User'),
0127 description = cms.untracked.string('1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
0128 )
0129 )
0130 )