1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.PresampleTask_cfi
import ecalPresampleTask
4 from DQM.EcalMonitorClient.IntegrityClient_cfi
import ecalIntegrityClient
13 ecalPresampleClient = cms.untracked.PSet(
14 params = cms.untracked.PSet(
15 minChannelEntries = cms.untracked.int32(minChannelEntries),
16 expectedMean = cms.untracked.double(expectedMean),
17 toleranceLow = cms.untracked.double(toleranceLow),
18 toleranceHigh = cms.untracked.double(toleranceHigh),
19 toleranceRMS = cms.untracked.double(toleranceRMS),
20 toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
22 sources = cms.untracked.PSet(
23 Pedestal = ecalPresampleTask.MEs.Pedestal,
24 PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
25 ChStatus = ecalIntegrityClient.MEs.ChStatus
27 MEs = cms.untracked.PSet(
28 RMS = cms.untracked.PSet(
29 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
30 kind = cms.untracked.string(
'TH1F'),
31 otype = cms.untracked.string(
'SM'),
32 xaxis = cms.untracked.PSet(
33 high = cms.untracked.double(10.0),
34 nbins = cms.untracked.int32(100),
35 low = cms.untracked.double(0.0)
37 btype = cms.untracked.string(
'User'),
38 description = cms.untracked.string(
'Distribution of the presample RMS of each channel. Channels with entries less than ' +
str(minChannelEntries) +
' are not considered.')
40 TrendRMS = cms.untracked.PSet(
41 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
42 kind = cms.untracked.string(
'TProfile'),
43 otype = cms.untracked.string(
'Ecal2P'),
44 btype = cms.untracked.string(
'Trend'),
45 description = cms.untracked.string(
'Trend of presample RMS averaged over all channels in EB / EE.')
47 RMSMap = cms.untracked.PSet(
48 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
49 kind = cms.untracked.string(
'TH2F'),
50 zaxis = cms.untracked.PSet(
51 title = cms.untracked.string(
'RMS')
53 otype = cms.untracked.string(
'SM'),
54 btype = cms.untracked.string(
'Crystal'),
55 description = cms.untracked.string(
'2D distribution of the presample RMS. Channels with entries less than ' +
str(minChannelEntries) +
' are not considered.')
57 RMSMapAll = cms.untracked.PSet(
58 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
59 kind = cms.untracked.string(
'TH2F'),
60 zaxis = cms.untracked.PSet(
61 title = cms.untracked.string(
'RMS')
63 otype = cms.untracked.string(
'Ecal3P'),
64 btype = cms.untracked.string(
'SuperCrystal'),
65 description = cms.untracked.string(
'2D distribution of the presample RMS. Channels with entries less than ' +
str(minChannelEntries) +
' are not considered.')
67 MeanMapAll = cms.untracked.PSet(
68 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 Mean map'),
69 kind = cms.untracked.string(
'TH2F'),
70 zaxis = cms.untracked.PSet(
71 title = cms.untracked.string(
'Mean')
73 otype = cms.untracked.string(
'Ecal3P'),
74 btype = cms.untracked.string(
'SuperCrystal'),
75 description = cms.untracked.string(
'2D distribution of the presample Mean. Channels with entries less than ' +
str(minChannelEntries) +
' are not considered.')
77 RMSMapAllByLumi = cms.untracked.PSet(
78 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map by lumi'),
79 kind = cms.untracked.string(
'TH2F'),
80 zaxis = cms.untracked.PSet(
81 title = cms.untracked.string(
'RMS')
83 otype = cms.untracked.string(
'Ecal3P'),
84 btype = cms.untracked.string(
'Crystal'),
85 description = cms.untracked.string(
'2D distribution of the presample RMS in this lumisection. Channels with entries less than ' +
str(minChannelEntries) +
' are not considered.')
87 TrendMean = cms.untracked.PSet(
88 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
89 kind = cms.untracked.string(
'TProfile'),
90 otype = cms.untracked.string(
'Ecal2P'),
91 btype = cms.untracked.string(
'Trend'),
92 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.')
94 QualitySummary = cms.untracked.PSet(
95 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
96 kind = cms.untracked.string(
'TH2F'),
97 otype = cms.untracked.string(
'Ecal3P'),
98 btype = cms.untracked.string(
'Crystal'),
99 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.')
101 Quality = cms.untracked.PSet(
102 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
103 kind = cms.untracked.string(
'TH2F'),
104 otype = cms.untracked.string(
'SM'),
105 btype = cms.untracked.string(
'Crystal'),
106 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.')
108 ErrorsSummary = cms.untracked.PSet(
109 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
110 kind = cms.untracked.string(
'TH1F'),
111 otype = cms.untracked.string(
'Ecal2P'),
112 btype = cms.untracked.string(
'DCC'),
113 description = cms.untracked.string(
'Counter of channels flagged as bad in the quality summary')
115 Mean = cms.untracked.PSet(
116 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
117 kind = cms.untracked.string(
'TH1F'),
118 otype = cms.untracked.string(
'SM'),
119 xaxis = cms.untracked.PSet(
120 high = cms.untracked.double(270.0),
121 nbins = cms.untracked.int32(200),
122 low = cms.untracked.double(170.0)
124 btype = cms.untracked.string(
'User'),
125 description = cms.untracked.string(
'1D distribution of the mean presample value in each crystal. Channels with entries less than ' +
str(minChannelEntries) +
' are not considered.')