5 from DQM.EcalMonitorTasks.PedestalTask_cfi
import ecalPedestalTask
10 toleranceRMS = [1., 1.2, 2.]
12 tolerancePNMean = 100.
13 tolerancePNRMS = [20., 20.]
15 ecalPedestalClient = cms.untracked.PSet(
16 params = cms.untracked.PSet(
17 minChannelEntries = cms.untracked.int32(minChannelEntries),
18 expectedMean = cms.untracked.double(expectedMean),
19 toleranceMean = cms.untracked.double(toleranceMean),
20 toleranceRMS = cms.untracked.vdouble(toleranceRMS),
21 expectedPNMean = cms.untracked.double(expectedPNMean),
22 tolerancePNMean = cms.untracked.double(tolerancePNMean),
23 tolerancePNRMS = cms.untracked.vdouble(tolerancePNRMS)
25 sources = cms.untracked.PSet(
26 Pedestal = ecalPedestalTask.MEs.Pedestal,
27 PNPedestal = ecalPedestalTask.MEs.PNPedestal
29 MEs = cms.untracked.PSet(
30 RMS = cms.untracked.PSet(
31 kind = cms.untracked.string(
'TH1F'),
32 multi = cms.untracked.PSet(
33 gain = ecaldqmMGPAGains
35 otype = cms.untracked.string(
'SM'),
36 xaxis = cms.untracked.PSet(
37 high = cms.untracked.double(10.0),
38 nbins = cms.untracked.int32(100),
39 low = cms.untracked.double(0.0)
41 btype = cms.untracked.string(
'User'),
42 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPT pedestal rms G%(gain)s %(sm)s'),
43 description = cms.untracked.string(
'Distribution of the pedestal RMS for each crystal channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
45 PNRMS = cms.untracked.PSet(
46 kind = cms.untracked.string(
'TH1F'),
47 multi = cms.untracked.PSet(
48 pngain = ecaldqmMGPAGainsPN
50 otype = cms.untracked.string(
'SMMEM'),
51 xaxis = cms.untracked.PSet(
52 high = cms.untracked.double(50.0),
53 nbins = cms.untracked.int32(100),
54 low = cms.untracked.double(0.0)
56 btype = cms.untracked.string(
'User'),
57 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPDT PNs pedestal rms %(sm)s G%(pngain)s'),
58 description = cms.untracked.string(
'Distribution of the pedestal RMS for each PN channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
60 PNQualitySummary = cms.untracked.PSet(
61 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPT PN pedestal quality G%(pngain)s summary'),
62 otype = cms.untracked.string(
'MEM2P'),
63 multi = cms.untracked.PSet(
64 pngain = ecaldqmMGPAGainsPN
66 kind = cms.untracked.string(
'TH2F'),
67 btype = cms.untracked.string(
'Crystal'),
68 description = cms.untracked.string(
'Summary of the pedestal quality for PN diodes. A channel is red if the pedestal mean is off from ' + str(expectedPNMean) +
' by ' + str(tolerancePNMean) +
' or if the pedestal RMS is greater than threshold. RMS thresholds are ' + (
'%.1f, %.1f' % tuple(tolerancePNRMS)) +
' for gains 1 and 16 respectively. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
70 QualitySummary = cms.untracked.PSet(
71 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPT pedestal quality G%(gain)s summary%(suffix)s'),
72 otype = cms.untracked.string(
'Ecal3P'),
73 multi = cms.untracked.PSet(
74 gain = ecaldqmMGPAGains
76 kind = cms.untracked.string(
'TH2F'),
77 btype = cms.untracked.string(
'SuperCrystal'),
78 description = cms.untracked.string(
'Summary of the pedestal quality for crystals. A channel is red if the pedestal mean is off from ' + str(expectedMean) +
' by ' + str(toleranceMean) +
' or if the pedestal RMS is greater than threshold. RMS thresholds are ' + (
'%.1f, %.1f, %.1f' % tuple(toleranceRMS)) +
' for gains 1, 6, and 12 respectively. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
80 Quality = cms.untracked.PSet(
81 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPT pedestal quality G%(gain)s %(sm)s'),
82 otype = cms.untracked.string(
'SM'),
83 multi = cms.untracked.PSet(
84 gain = ecaldqmMGPAGains
86 kind = cms.untracked.string(
'TH2F'),
87 btype = cms.untracked.string(
'Crystal'),
88 description = cms.untracked.string(
'Summary of the pedestal quality for crystals. A channel is red if the pedestal mean is off from ' + str(expectedMean) +
' by ' + str(toleranceMean) +
' or if the pedestal RMS is greater than threshold. RMS thresholds are ' + (
'%.1f, %.1f, %.1f' % tuple(toleranceRMS)) +
' for gains 1, 6, and 12 respectively. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
90 Mean = cms.untracked.PSet(
91 kind = cms.untracked.string(
'TH1F'),
92 multi = cms.untracked.PSet(
93 gain = ecaldqmMGPAGains
95 otype = cms.untracked.string(
'SM'),
96 xaxis = cms.untracked.PSet(
97 high = cms.untracked.double(230.0),
98 nbins = cms.untracked.int32(120),
99 low = cms.untracked.double(170.0)
101 btype = cms.untracked.string(
'User'),
102 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPT pedestal mean G%(gain)s %(sm)s'),
103 description = cms.untracked.string(
'Distribution of pedestal mean in each channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')