1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.PresampleTask_cfi
import ecalPresampleTask
11 ecalPresampleClient = cms.untracked.PSet(
12 params = cms.untracked.PSet(
13 minChannelEntries = cms.untracked.int32(minChannelEntries),
14 expectedMean = cms.untracked.double(expectedMean),
15 toleranceMean = cms.untracked.double(toleranceMean),
16 toleranceRMS = cms.untracked.double(toleranceRMS),
17 toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
19 sources = cms.untracked.PSet(
20 Pedestal = ecalPresampleTask.MEs.Pedestal
22 MEs = cms.untracked.PSet(
23 RMS = cms.untracked.PSet(
24 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
25 kind = cms.untracked.string(
'TH1F'),
26 otype = cms.untracked.string(
'SM'),
27 xaxis = cms.untracked.PSet(
28 high = cms.untracked.double(10.0),
29 nbins = cms.untracked.int32(100),
30 low = cms.untracked.double(0.0)
32 btype = cms.untracked.string(
'User'),
33 description = cms.untracked.string(
'Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
35 TrendRMS = cms.untracked.PSet(
36 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
37 kind = cms.untracked.string(
'TProfile'),
38 otype = cms.untracked.string(
'Ecal2P'),
39 btype = cms.untracked.string(
'Trend'),
40 description = cms.untracked.string(
'Trend of presample RMS averaged over all channels in EB / EE.')
42 RMSMap = cms.untracked.PSet(
43 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
44 kind = cms.untracked.string(
'TH2F'),
45 zaxis = cms.untracked.PSet(
46 title = cms.untracked.string(
'RMS')
48 otype = cms.untracked.string(
'SM'),
49 btype = cms.untracked.string(
'Crystal'),
50 description = cms.untracked.string(
'2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
52 RMSMapAll = cms.untracked.PSet(
53 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
54 kind = cms.untracked.string(
'TH2F'),
55 zaxis = cms.untracked.PSet(
56 title = cms.untracked.string(
'RMS')
58 otype = cms.untracked.string(
'Ecal3P'),
59 btype = cms.untracked.string(
'SuperCrystal'),
60 description = cms.untracked.string(
'2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
62 TrendMean = cms.untracked.PSet(
63 path = cms.untracked.string(
'Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
64 kind = cms.untracked.string(
'TProfile'),
65 otype = cms.untracked.string(
'Ecal2P'),
66 btype = cms.untracked.string(
'Trend'),
67 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.')
69 QualitySummary = cms.untracked.PSet(
70 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
71 kind = cms.untracked.string(
'TH2F'),
72 otype = cms.untracked.string(
'Ecal3P'),
73 btype = cms.untracked.string(
'Crystal'),
74 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.')
76 Quality = cms.untracked.PSet(
77 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
78 kind = cms.untracked.string(
'TH2F'),
79 otype = cms.untracked.string(
'SM'),
80 btype = cms.untracked.string(
'Crystal'),
81 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.')
83 ErrorsSummary = cms.untracked.PSet(
84 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
85 kind = cms.untracked.string(
'TH1F'),
86 otype = cms.untracked.string(
'Ecal2P'),
87 btype = cms.untracked.string(
'DCC'),
88 description = cms.untracked.string(
'Counter of channels flagged as bad in the quality summary')
90 Mean = cms.untracked.PSet(
91 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
92 kind = cms.untracked.string(
'TH1F'),
93 otype = cms.untracked.string(
'SM'),
94 xaxis = cms.untracked.PSet(
95 high = cms.untracked.double(230.0),
96 nbins = cms.untracked.int32(120),
97 low = cms.untracked.double(170.0)
99 btype = cms.untracked.string(
'User'),
100 description = cms.untracked.string(
'1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')