5 from DQM.EcalMonitorTasks.LedTask_cfi
import ecalLedTask
9 expectedAmplitude = [200., 10.]
10 toleranceAmplitude = 0.1
11 toleranceAmpRMSRatio = 0.5
12 expectedTiming = [4.4, 4.5]
15 expectedPNAmplitude = [800., 800.]
17 tolerancePNRMSRatio = 1.
19 ecalLedClient = cms.untracked.PSet(
20 params = cms.untracked.PSet(
21 forwardFactor = cms.untracked.double(forwardFactor),
22 minChannelEntries = cms.untracked.int32(minChannelEntries),
23 expectedAmplitude = cms.untracked.vdouble(expectedAmplitude),
24 toleranceAmplitude = cms.untracked.double(toleranceAmplitude),
25 toleranceAmpRMSRatio = cms.untracked.double(toleranceAmpRMSRatio),
26 expectedPNAmplitude = cms.untracked.vdouble(expectedPNAmplitude),
27 tolerancePNAmp = cms.untracked.double(tolerancePNAmp),
28 tolerancePNRMSRatio = cms.untracked.double(tolerancePNRMSRatio),
29 expectedTiming = cms.untracked.vdouble(expectedTiming),
30 toleranceTiming = cms.untracked.double(toleranceTiming),
31 toleranceTimRMS = cms.untracked.double(toleranceTimRMS)
33 sources = cms.untracked.PSet(
34 Timing = ecalLedTask.MEs.Timing,
35 PNAmplitude = ecalLedTask.MEs.PNAmplitude,
36 Amplitude = ecalLedTask.MEs.Amplitude
38 MEs = cms.untracked.PSet(
39 TimingMean = cms.untracked.PSet(
40 kind = cms.untracked.string(
'TH1F'),
41 multi = cms.untracked.PSet(
42 wl = ecaldqmLedWavelengths
44 otype = cms.untracked.string(
'EESM'),
45 xaxis = cms.untracked.PSet(
46 high = cms.untracked.double(5.5),
47 nbins = cms.untracked.int32(100),
48 low = cms.untracked.double(3.5)
50 btype = cms.untracked.string(
'User'),
51 path = cms.untracked.string(
'EcalEndcap/EELedClient/EELDT led timing L%(wl)s %(sm)s'),
52 description = cms.untracked.string(
'Distribution of the timing in each crystal channel. Z scale is in LHC clocks. Channels with less than ' + str(minChannelEntries) +
' are not considered.')
54 PNQualitySummary = cms.untracked.PSet(
55 path = cms.untracked.string(
'EcalEndcap/EESummaryClient/EELDT PN led quality summary L%(wl)s'),
56 otype = cms.untracked.string(
'EEMEM'),
57 multi = cms.untracked.PSet(
58 wl = ecaldqmLedWavelengths
60 kind = cms.untracked.string(
'TH2F'),
61 btype = cms.untracked.string(
'Crystal'),
62 description = cms.untracked.string(
'Summary of the led data quality in the PN diodes. A channel is red if mean / expected < ' + str(tolerancePNAmp) +
' or RMS / expected > ' + str(tolerancePNRMSRatio) +
'. Expected amplitudes are ' + (
'%.1f, %.1f' % tuple(expectedPNAmplitude)) +
' for led 1 and 2 respectively. Channels with less than ' + str(minChannelEntries) +
' are not considered.')
64 TimingRMSMap = cms.untracked.PSet(
65 path = cms.untracked.string(
'EcalEndcap/EELedClient/EELDT timing RMS L%(wl)s'),
66 otype = cms.untracked.string(
'EE'),
67 multi = cms.untracked.PSet(
68 wl = ecaldqmLedWavelengths
70 kind = cms.untracked.string(
'TH2F'),
71 btype = cms.untracked.string(
'Crystal'),
72 description = cms.untracked.string(
'2D distribution of the led timing RMS. Z scale is in LHC clocks. Channels with less than ' + str(minChannelEntries) +
' are not considered.')
74 AmplitudeMean = cms.untracked.PSet(
75 kind = cms.untracked.string(
'TH1F'),
76 multi = cms.untracked.PSet(
77 wl = ecaldqmLedWavelengths
79 otype = cms.untracked.string(
'EESM'),
80 xaxis = cms.untracked.PSet(
81 high = cms.untracked.double(400.0),
82 nbins = cms.untracked.int32(100),
83 low = cms.untracked.double(0.0)
85 btype = cms.untracked.string(
'User'),
86 path = cms.untracked.string(
'EcalEndcap/EELedClient/EELDT amplitude L%(wl)s %(sm)s'),
87 description = cms.untracked.string(
'Distribution of the mean amplitude seen in each crystal. Channels with less than ' + str(minChannelEntries) +
' are not considered.')
89 QualitySummary = cms.untracked.PSet(
90 path = cms.untracked.string(
'EcalEndcap/EESummaryClient/EELDT%(suffix)s led quality summary L%(wl)s'),
91 otype = cms.untracked.string(
'EE2P'),
92 multi = cms.untracked.PSet(
93 wl = ecaldqmLedWavelengths
95 kind = cms.untracked.string(
'TH2F'),
96 btype = cms.untracked.string(
'SuperCrystal'),
97 description = cms.untracked.string(
'Summary of the led data quality. A channel is red either if mean / expected < ' + str(toleranceAmplitude) +
', or if RMS / expected > ' + str(toleranceAmpRMSRatio) +
', or if mean timing is off from expected by ' + str(toleranceTiming) +
'. Expected amplitudes and timings are ' + (
'%.1f, %.1f' % tuple(expectedAmplitude)) +
' and ' + (
'%.1f, %.1f' % tuple(expectedTiming)) +
' for leds 1 and 2 respectively. Channels with less than ' + str(minChannelEntries) +
' are not considered.')
99 Quality = cms.untracked.PSet(
100 path = cms.untracked.string(
'EcalEndcap/EELedClient/EELDT led quality L%(wl)s %(sm)s'),
101 otype = cms.untracked.string(
'EESM'),
102 multi = cms.untracked.PSet(
103 wl = ecaldqmLedWavelengths
105 kind = cms.untracked.string(
'TH2F'),
106 btype = cms.untracked.string(
'Crystal'),
107 description = cms.untracked.string(
'Summary of the led data quality. A channel is red either if mean / expected < ' + str(toleranceAmplitude) +
', or if RMS / expected > ' + str(toleranceAmpRMSRatio) +
', or if mean timing is off from expected by ' + str(toleranceTiming) +
'. Expected amplitudes and timings are ' + (
'%.1f, %.1f' % tuple(expectedAmplitude)) +
' and ' + (
'%.1f, %.1f' % tuple(expectedTiming)) +
' for leds 1 and 2 respectively. Channels with less than ' + str(minChannelEntries) +
' are not considered.')
109 AmplitudeRMS = cms.untracked.PSet(
110 path = cms.untracked.string(
'EcalEndcap/EELedClient/EELDT amplitude RMS L%(wl)s'),
111 otype = cms.untracked.string(
'EE'),
112 multi = cms.untracked.PSet(
113 wl = ecaldqmLedWavelengths
115 kind = cms.untracked.string(
'TH2F'),
116 btype = cms.untracked.string(
'Crystal'),
117 description = cms.untracked.string(
'2D distribution of the amplitude RMS. Channels with less than ' + str(minChannelEntries) +
' are not considered.')