5 from DQM.EcalMonitorTasks.TestPulseTask_cfi
import ecalTestPulseTask
8 amplitudeThreshold = [1200., 600., 100.]
9 toleranceRMS = [160., 80., 10.]
10 PNAmplitudeThreshold = [12.5, 200.]
11 tolerancePNRMS = [20., 20.]
13 ecalTestPulseClient = cms.untracked.PSet(
14 name = cms.untracked.string(
'TestPulseClient'),
15 minChannelEntries = cms.untracked.int32(minChannelEntries),
16 amplitudeThreshold = cms.untracked.vdouble(amplitudeThreshold),
17 toleranceRMS = cms.untracked.vdouble(toleranceRMS),
18 PNAmplitudeThreshold = cms.untracked.vdouble(PNAmplitudeThreshold),
19 tolerancePNRMS = cms.untracked.vdouble(tolerancePNRMS),
20 sources = cms.untracked.PSet(
21 Amplitude = ecalTestPulseTask.MEs.Amplitude,
22 PNAmplitude = ecalTestPulseTask.MEs.PNAmplitude
24 MEs = cms.untracked.PSet(
25 PNQualitySummary = cms.untracked.PSet(
26 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTPT PN test pulse quality G%(pngain)s summary'),
27 otype = cms.untracked.string(
'MEM2P'),
28 multi = cms.untracked.PSet(
29 pngain = ecaldqmMGPAGainsPN
31 kind = cms.untracked.string(
'TH2F'),
32 btype = cms.untracked.string(
'Crystal'),
33 description = cms.untracked.string(
'Summary of test pulse data quality for PN diodes. A channel is red if mean amplitude is lower than the threshold, or RMS is greater than threshold. The mean and RMS thresholds are ' + (
'%.1f, %.1f' % tuple(PNAmplitudeThreshold)) +
' and ' + (
'%.1f, %.1f' % tuple(tolerancePNRMS)) +
' for gains 1 and 16 respectively. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
35 QualitySummary = cms.untracked.PSet(
36 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTPT%(suffix)s test pulse quality G%(gain)s summary'),
37 otype = cms.untracked.string(
'Ecal3P'),
38 multi = cms.untracked.PSet(
39 gain = ecaldqmMGPAGains
41 kind = cms.untracked.string(
'TH2F'),
42 btype = cms.untracked.string(
'SuperCrystal'),
43 description = cms.untracked.string(
'Summary of test pulse data quality for crystals. A channel is red if mean amplitude is lower than the threshold, or RMS is greater than threshold. The mean and RMS thresholds are ' + (
'%.1f, %.1f, %.1f' % tuple(amplitudeThreshold)) +
' and ' + (
'%.1f, %.1f, %.1f' % tuple(toleranceRMS)) +
' for gains 1, 6, and 12 respectively. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
45 Quality = cms.untracked.PSet(
46 path = cms.untracked.string(
'%(subdet)s/%(prefix)sTestPulseClient/%(prefix)sTPT test pulse quality G%(gain)s %(sm)s'),
47 otype = cms.untracked.string(
'SM'),
48 multi = cms.untracked.PSet(
49 gain = ecaldqmMGPAGains
51 kind = cms.untracked.string(
'TH2F'),
52 btype = cms.untracked.string(
'Crystal'),
53 description = cms.untracked.string(
'Summary of test pulse data quality for crystals. A channel is red if mean amplitude is lower than the threshold, or RMS is greater than threshold. The mean and RMS thresholds are ' + (
'%.1f, %.1f, %.1f' % tuple(amplitudeThreshold)) +
' and ' + (
'%.1f, %.1f, %.1f' % tuple(toleranceRMS)) +
' for gains 1, 6, and 12 respectively. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')
55 AmplitudeRMS = cms.untracked.PSet(
56 multi = cms.untracked.PSet(
57 gain = ecaldqmMGPAGains
59 kind = cms.untracked.string(
'TH2F'),
60 otype = cms.untracked.string(
'Ecal2P'),
61 zaxis = cms.untracked.PSet(
62 title = cms.untracked.string(
'rms (ADC counts)')
64 btype = cms.untracked.string(
'Crystal'),
65 path = cms.untracked.string(
'%(subdet)s/%(prefix)sTestPulseClient/%(prefix)sTPT test pulse rms G%(gain)s'),
66 description = cms.untracked.string(
'2D distribution of the amplitude RMS. Channels with entries less than ' + str(minChannelEntries) +
' are not considered.')