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 FEStatusErrMapByLumi = ecalRawDataTask.MEs.FEStatusErrMapByLumi,
31 TriggerPrimitives = ecalTrigPrimClient.MEs.EmulQualitySummary,
32 HotCell = ecalOccupancyClient.MEs.QualitySummary,
33 BXSRP = ecalRawDataTask.MEs.BXSRP,
34 BXTCC = ecalRawDataTask.MEs.BXTCC
36 MEs = cms.untracked.PSet(
37 ReportSummaryMap = cms.untracked.PSet(
38 path = cms.untracked.string(
'Ecal/EventInfo/reportSummaryMap'),
39 kind = cms.untracked.string(
'TH2F'),
40 otype = cms.untracked.string(
'Ecal'),
41 btype = cms.untracked.string(
'DCC'),
42 description = cms.untracked.string(
'')
44 ReportSummaryContents = cms.untracked.PSet(
45 path = cms.untracked.string(
'Ecal/EventInfo/reportSummaryContents/Ecal_%(sm)s'),
46 kind = cms.untracked.string(
'REAL'),
47 otype = cms.untracked.string(
'SM'),
48 btype = cms.untracked.string(
'Report'),
49 perLumi = cms.untracked.bool(
False),
50 description = cms.untracked.string(
'')
52 GlobalSummary = cms.untracked.PSet(
53 path = cms.untracked.string(
'Ecal/Errors/Global summary errors'),
54 kind = cms.untracked.string(
'TH1F'),
55 otype = cms.untracked.string(
'None'),
56 btype = cms.untracked.string(
'User'),
57 xaxis = cms.untracked.PSet(
58 nbins = cms.untracked.int32(1),
59 low = cms.untracked.double(0.),
60 high = cms.untracked.double(1.),
61 labels = cms.untracked.vstring([
'ECAL status'])
63 description = cms.untracked.string(
'Error summary used to trigger audio alarm. The value is identical to reportSummary.'),
64 online = cms.untracked.bool(
True)
66 NBadFEDs = cms.untracked.PSet(
67 path = cms.untracked.string(
'Ecal/Errors/Number of Bad Ecal FEDs'),
68 kind = cms.untracked.string(
'TH1F'),
69 otype = cms.untracked.string(
'None'),
70 xaxis = cms.untracked.PSet(
71 high = cms.untracked.double(1.0),
72 nbins = cms.untracked.int32(1),
73 low = cms.untracked.double(0.0)
75 btype = cms.untracked.string(
'User'),
76 online = cms.untracked.bool(
True),
77 description = cms.untracked.string(
'Number of FEDs with more than ' +
str(fedBadFraction * 100) +
'% of channels in bad status. Updated every lumi section.')
79 QualitySummary = cms.untracked.PSet(
80 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)s global summary%(suffix)s'),
81 kind = cms.untracked.string(
'TH2F'),
82 otype = cms.untracked.string(
'Ecal3P'),
83 btype = cms.untracked.string(
'Crystal'),
84 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.')
86 ReportSummary = cms.untracked.PSet(
87 path = cms.untracked.string(
'Ecal/EventInfo/reportSummary'),
88 kind = cms.untracked.string(
'REAL'),
89 otype = cms.untracked.string(
'Ecal'),
90 btype = cms.untracked.string(
'Report'),
91 perLumi = cms.untracked.bool(
False),
92 description = cms.untracked.string(
'')