1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.TrigPrimTask_cfi
import ecalTrigPrimTask
4 from DQM.EcalMonitorTasks.OccupancyTask_cfi
import ecalOccupancyTask
7 errorFractionThreshold = 0.1
9 ecalTrigPrimClient = cms.untracked.PSet(
10 params = cms.untracked.PSet(
11 minEntries = cms.untracked.int32(minEntries),
12 errorFractionThreshold = cms.untracked.double(errorFractionThreshold)
14 sources = cms.untracked.PSet(
15 EtEmulError = ecalTrigPrimTask.MEs.EtEmulError,
16 MatchedIndex = ecalTrigPrimTask.MEs.MatchedIndex,
17 TTFlags4 = ecalTrigPrimTask.MEs.TTFlags4,
18 TTMaskMapAll = ecalTrigPrimTask.MEs.TTMaskMapAll
20 MEs = cms.untracked.PSet(
21 NonSingleSummary = cms.untracked.PSet(
22 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Non Single Timing summary'),
23 kind = cms.untracked.string(
'TH2F'),
24 otype = cms.untracked.string(
'Ecal3P'),
25 btype = cms.untracked.string(
'TriggerTower'),
26 zaxis = cms.untracked.PSet(
27 title = cms.untracked.string(
'rate')
29 description = cms.untracked.string(
'Fraction of events whose emulator TP timing did not agree with the majority. Towers with entries less than ' + str(minEntries) +
' are not considered.')
31 EmulQualitySummary = cms.untracked.PSet(
32 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s emulator error quality summary'),
33 kind = cms.untracked.string(
'TH2F'),
34 otype = cms.untracked.string(
'Ecal3P'),
35 btype = cms.untracked.string(
'TriggerTower'),
36 description = cms.untracked.string(
'Summary of emulator matching quality. A tower is red if the number of events with Et emulation error is greater than ' + str(errorFractionThreshold) +
' of total events. Towers with entries less than ' + str(minEntries) +
' are not considered.')
38 TimingSummary = cms.untracked.PSet(
39 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Timing summary'),
40 kind = cms.untracked.string(
'TH2F'),
41 zaxis = cms.untracked.PSet(
42 title = cms.untracked.string(
'TP data matching emulator')
44 otype = cms.untracked.string(
'Ecal3P'),
45 btype = cms.untracked.string(
'TriggerTower'),
46 description = cms.untracked.string(
'Emulator TP timing where the largest number of events had Et matches. Towers with entries less than ' + str(minEntries) +
' are not considered.')
48 TTF4vMask = cms.untracked.PSet(
49 path = cms.untracked.string(
'%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s'),
50 kind = cms.untracked.string(
'TH2F'),
51 otype = cms.untracked.string(
'Ecal3P'),
52 btype = cms.untracked.string(
'TriggerTower'),
53 description = cms.untracked.string(
'Summarizes whether a TT was masked in the TPGRecords, or had an instance of TT Flag=4.<br/>GRAY: Masked, no TTF4,<br/>BLACK: Masked, with TTF4,<br/>BLUE: Not Masked, with TTF4.')