1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorClient.IntegrityClient_cfi
import ecalIntegrityClient
4 from DQM.EcalMonitorClient.PresampleClient_cfi
import ecalPresampleClient
5 from DQM.EcalMonitorClient.TimingClient_cfi
import ecalTimingClient
6 from DQM.EcalMonitorClient.RawDataClient_cfi
import ecalRawDataClient
7 from DQM.EcalMonitorClient.TrigPrimClient_cfi
import ecalTrigPrimClient
8 from DQM.EcalMonitorClient.OccupancyClient_cfi
import ecalOccupancyClient
9 from DQM.EcalMonitorTasks.IntegrityTask_cfi
import ecalIntegrityTask
10 from DQM.EcalMonitorTasks.RawDataTask_cfi
import ecalRawDataTask
12 activeSources = [
'Integrity',
'RawData',
'Presample']
13 towerBadFraction = 0.8
16 ecalSummaryClient = cms.untracked.PSet(
17 params = cms.untracked.PSet(
18 activeSources = cms.untracked.vstring(activeSources),
19 towerBadFraction = cms.untracked.double(towerBadFraction),
20 fedBadFraction = cms.untracked.double(fedBadFraction)
22 sources = cms.untracked.PSet(
23 Integrity = ecalIntegrityClient.MEs.QualitySummary,
24 IntegrityByLumi = ecalIntegrityTask.MEs.ByLumi,
25 Presample = ecalPresampleClient.MEs.QualitySummary,
26 Timing = ecalTimingClient.MEs.QualitySummary,
27 RawData = ecalRawDataClient.MEs.QualitySummary,
28 DesyncByLumi = ecalRawDataTask.MEs.DesyncByLumi,
29 FEByLumi = ecalRawDataTask.MEs.FEByLumi,
30 TriggerPrimitives = ecalTrigPrimClient.MEs.EmulQualitySummary,
31 HotCell = ecalOccupancyClient.MEs.QualitySummary,
32 BXSRP = ecalRawDataTask.MEs.BXSRP,
33 BXTCC = ecalRawDataTask.MEs.BXTCC
35 MEs = cms.untracked.PSet(
36 ReportSummaryMap = cms.untracked.PSet(
37 path = cms.untracked.string(
'Ecal/EventInfo/reportSummaryMap'),
38 kind = cms.untracked.string(
'TH2F'),
39 otype = cms.untracked.string(
'Ecal'),
40 btype = cms.untracked.string(
'DCC'),
41 description = cms.untracked.string(
'')
43 ReportSummaryContents = cms.untracked.PSet(
44 path = cms.untracked.string(
'Ecal/EventInfo/reportSummaryContents/Ecal_%(sm)s'),
45 kind = cms.untracked.string(
'REAL'),
46 otype = cms.untracked.string(
'SM'),
47 btype = cms.untracked.string(
'Report'),
48 perLumi = cms.untracked.bool(
True),
49 description = cms.untracked.string(
'')
51 GlobalSummary = cms.untracked.PSet(
52 path = cms.untracked.string(
'Ecal/Errors/Global summary errors'),
53 kind = cms.untracked.string(
'TH1F'),
54 otype = cms.untracked.string(
'None'),
55 btype = cms.untracked.string(
'User'),
56 xaxis = cms.untracked.PSet(
57 nbins = cms.untracked.int32(1),
58 low = cms.untracked.double(0.),
59 high = cms.untracked.double(1.),
60 labels = cms.untracked.vstring([
'ECAL status'])
62 description = cms.untracked.string(
'Error summary used to trigger audio alarm. The value is identical to reportSummary.'),
63 online = cms.untracked.bool(
True)
65 NBadFEDs = cms.untracked.PSet(
66 path = cms.untracked.string(
'Ecal/Errors/Number of Bad Ecal FEDs'),
67 kind = cms.untracked.string(
'TH1F'),
68 otype = cms.untracked.string(
'None'),
69 xaxis = cms.untracked.PSet(
70 high = cms.untracked.double(1.0),
71 nbins = cms.untracked.int32(1),
72 low = cms.untracked.double(0.0)
74 btype = cms.untracked.string(
'User'),
75 online = cms.untracked.bool(
True),
76 description = cms.untracked.string(
'Number of FEDs with more than ' + str(fedBadFraction * 100) +
'% of channels in bad status. Updated every lumi section.')
78 QualitySummary = cms.untracked.PSet(
79 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)s global summary%(suffix)s'),
80 kind = cms.untracked.string(
'TH2F'),
81 otype = cms.untracked.string(
'Ecal3P'),
82 btype = cms.untracked.string(
'Crystal'),
83 description = cms.untracked.string(
'Summary of the data quality. A channel is red if it is red in any one of RawData, Integrity, Timing, TriggerPrimitives, and HotCells task. A cluster of bad towers in this plot will cause the ReportSummary for the FED to go to 0 in online DQM.')
85 ReportSummary = cms.untracked.PSet(
86 path = cms.untracked.string(
'Ecal/EventInfo/reportSummary'),
87 kind = cms.untracked.string(
'REAL'),
88 otype = cms.untracked.string(
'Ecal'),
89 btype = cms.untracked.string(
'Report'),
90 perLumi = cms.untracked.bool(
True),
91 description = cms.untracked.string(
'')