1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.PresampleTask_cfi
import ecalPresampleTask
4 from DQM.EcalMonitorClient.IntegrityClient_cfi
import ecalIntegrityClient
12 ecalPresampleClient = cms.untracked.PSet(
13 params = cms.untracked.PSet(
14 minChannelEntries = cms.untracked.int32(minChannelEntries),
15 expectedMean = cms.untracked.double(expectedMean),
16 toleranceMean = cms.untracked.double(toleranceMean),
17 toleranceRMS = cms.untracked.double(toleranceRMS),
18 toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
20 sources = cms.untracked.PSet(
21 Pedestal = ecalPresampleTask.MEs.Pedestal,
22 PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
23 ChStatus = ecalIntegrityClient.MEs.ChStatus
25 MEs = cms.untracked.PSet(
26 RMS = cms.untracked.PSet(
27 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
28 kind = cms.untracked.string(
'TH1F'),
29 otype = cms.untracked.string(
'SM'),
30 xaxis = cms.untracked.PSet(
31 high = cms.untracked.double(10.0),
32 nbins = cms.untracked.int32(100),
33 low = cms.untracked.double(0.0)
35 btype = cms.untracked.string(
'User'),
36 description = cms.untracked.string(
'Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
38 TrendRMS = cms.untracked.PSet(
39 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
40 kind = cms.untracked.string(
'TProfile'),
41 otype = cms.untracked.string(
'Ecal2P'),
42 btype = cms.untracked.string(
'Trend'),
43 description = cms.untracked.string(
'Trend of presample RMS averaged over all channels in EB / EE.')
45 RMSMap = cms.untracked.PSet(
46 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
47 kind = cms.untracked.string(
'TH2F'),
48 zaxis = cms.untracked.PSet(
49 title = cms.untracked.string(
'RMS')
51 otype = cms.untracked.string(
'SM'),
52 btype = cms.untracked.string(
'Crystal'),
53 description = cms.untracked.string(
'2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
55 RMSMapAll = cms.untracked.PSet(
56 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
57 kind = cms.untracked.string(
'TH2F'),
58 zaxis = cms.untracked.PSet(
59 title = cms.untracked.string(
'RMS')
61 otype = cms.untracked.string(
'Ecal3P'),
62 btype = cms.untracked.string(
'SuperCrystal'),
63 description = cms.untracked.string(
'2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
65 RMSMapAllByLumi = cms.untracked.PSet(
66 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map by lumi'),
67 kind = cms.untracked.string(
'TH2F'),
68 zaxis = cms.untracked.PSet(
69 title = cms.untracked.string(
'RMS')
71 otype = cms.untracked.string(
'Ecal3P'),
72 btype = cms.untracked.string(
'Crystal'),
73 description = cms.untracked.string(
'2D distribution of the presample RMS in this lumisection. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
75 TrendMean = cms.untracked.PSet(
76 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
77 kind = cms.untracked.string(
'TProfile'),
78 otype = cms.untracked.string(
'Ecal2P'),
79 btype = cms.untracked.string(
'Trend'),
80 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.')
82 QualitySummary = cms.untracked.PSet(
83 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
84 kind = cms.untracked.string(
'TH2F'),
85 otype = cms.untracked.string(
'Ecal3P'),
86 btype = cms.untracked.string(
'Crystal'),
87 description = cms.untracked.string(
'Summary of the presample data quality. A channel is red if presample mean is off by ' + str(toleranceMean) +
' from ' + str(expectedMean) +
' 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.')
89 Quality = cms.untracked.PSet(
90 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
91 kind = cms.untracked.string(
'TH2F'),
92 otype = cms.untracked.string(
'SM'),
93 btype = cms.untracked.string(
'Crystal'),
94 description = cms.untracked.string(
'Summary of the presample data quality. A channel is red if presample mean is off by ' + str(toleranceMean) +
' from ' + str(expectedMean) +
' 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.')
96 ErrorsSummary = cms.untracked.PSet(
97 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
98 kind = cms.untracked.string(
'TH1F'),
99 otype = cms.untracked.string(
'Ecal2P'),
100 btype = cms.untracked.string(
'DCC'),
101 description = cms.untracked.string(
'Counter of channels flagged as bad in the quality summary')
103 Mean = cms.untracked.PSet(
104 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
105 kind = cms.untracked.string(
'TH1F'),
106 otype = cms.untracked.string(
'SM'),
107 xaxis = cms.untracked.PSet(
108 high = cms.untracked.double(230.0),
109 nbins = cms.untracked.int32(120),
110 low = cms.untracked.double(170.0)
112 btype = cms.untracked.string(
'User'),
113 description = cms.untracked.string(
'1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')