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 TrendMean = cms.untracked.PSet(
66 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
67 kind = cms.untracked.string(
'TProfile'),
68 otype = cms.untracked.string(
'Ecal2P'),
69 btype = cms.untracked.string(
'Trend'),
70 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.')
72 QualitySummary = cms.untracked.PSet(
73 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
74 kind = cms.untracked.string(
'TH2F'),
75 otype = cms.untracked.string(
'Ecal3P'),
76 btype = cms.untracked.string(
'Crystal'),
77 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.')
79 Quality = cms.untracked.PSet(
80 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
81 kind = cms.untracked.string(
'TH2F'),
82 otype = cms.untracked.string(
'SM'),
83 btype = cms.untracked.string(
'Crystal'),
84 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.')
86 ErrorsSummary = cms.untracked.PSet(
87 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
88 kind = cms.untracked.string(
'TH1F'),
89 otype = cms.untracked.string(
'Ecal2P'),
90 btype = cms.untracked.string(
'DCC'),
91 description = cms.untracked.string(
'Counter of channels flagged as bad in the quality summary')
93 Mean = cms.untracked.PSet(
94 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
95 kind = cms.untracked.string(
'TH1F'),
96 otype = cms.untracked.string(
'SM'),
97 xaxis = cms.untracked.PSet(
98 high = cms.untracked.double(230.0),
99 nbins = cms.untracked.int32(120),
100 low = cms.untracked.double(170.0)
102 btype = cms.untracked.string(
'User'),
103 description = cms.untracked.string(
'1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')