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),
24 MGPAGains = ecaldqmMGPAGains,
25 MGPAGainsPN = ecaldqmMGPAGainsPN
27 sources = cms.untracked.PSet(
28 Pedestal = ecalPedestalTask.MEs.Pedestal,
29 PNPedestal = ecalPedestalTask.MEs.PNPedestal
31 MEs = cms.untracked.PSet(
32 RMS = cms.untracked.PSet(
33 kind = cms.untracked.string(
'TH1F'),
34 multi = cms.untracked.PSet(
35 gain = ecaldqmMGPAGains
37 otype = cms.untracked.string(
'SM'),
38 xaxis = cms.untracked.PSet(
39 high = cms.untracked.double(10.0),
40 nbins = cms.untracked.int32(100),
41 low = cms.untracked.double(0.0)
43 btype = cms.untracked.string(
'User'),
44 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPT pedestal rms G%(gain)s %(sm)s'),
45 description = cms.untracked.string(
'Distribution of the pedestal RMS for each crystal channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
47 PNRMS = cms.untracked.PSet(
48 kind = cms.untracked.string(
'TH1F'),
49 multi = cms.untracked.PSet(
50 pngain = ecaldqmMGPAGainsPN
52 otype = cms.untracked.string(
'SMMEM'),
53 xaxis = cms.untracked.PSet(
54 high = cms.untracked.double(50.0),
55 nbins = cms.untracked.int32(100),
56 low = cms.untracked.double(0.0)
58 btype = cms.untracked.string(
'User'),
59 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPDT PNs pedestal rms %(sm)s G%(pngain)s'),
60 description = cms.untracked.string(
'Distribution of the pedestal RMS for each PN channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
62 PNQualitySummary = cms.untracked.PSet(
63 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPT PN pedestal quality G%(pngain)s summary'),
64 otype = cms.untracked.string(
'MEM2P'),
65 multi = cms.untracked.PSet(
66 pngain = ecaldqmMGPAGainsPN
68 kind = cms.untracked.string(
'TH2F'),
69 btype = cms.untracked.string(
'Crystal'),
70 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.')
72 QualitySummary = cms.untracked.PSet(
73 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPT pedestal quality G%(gain)s summary%(suffix)s'),
74 otype = cms.untracked.string(
'Ecal3P'),
75 multi = cms.untracked.PSet(
76 gain = ecaldqmMGPAGains
78 kind = cms.untracked.string(
'TH2F'),
79 btype = cms.untracked.string(
'SuperCrystal'),
80 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.')
82 Quality = cms.untracked.PSet(
83 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPT pedestal quality G%(gain)s %(sm)s'),
84 otype = cms.untracked.string(
'SM'),
85 multi = cms.untracked.PSet(
86 gain = ecaldqmMGPAGains
88 kind = cms.untracked.string(
'TH2F'),
89 btype = cms.untracked.string(
'Crystal'),
90 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.')
92 Mean = cms.untracked.PSet(
93 kind = cms.untracked.string(
'TH1F'),
94 multi = cms.untracked.PSet(
95 gain = ecaldqmMGPAGains
97 otype = cms.untracked.string(
'SM'),
98 xaxis = cms.untracked.PSet(
99 high = cms.untracked.double(230.0),
100 nbins = cms.untracked.int32(120),
101 low = cms.untracked.double(170.0)
103 btype = cms.untracked.string(
'User'),
104 path = cms.untracked.string(
'%(subdet)s/%(prefix)sPedestalClient/%(prefix)sPT pedestal mean G%(gain)s %(sm)s'),
105 description = cms.untracked.string(
'Distribution of pedestal mean in each channel. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')