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,
19 TTFMismatch = ecalTrigPrimTask.MEs.TTFMismatch,
20 TPDigiThrAll = ecalOccupancyTask.MEs.TPDigiThrAll
22 MEs = cms.untracked.PSet(
23 NonSingleSummary = cms.untracked.PSet(
24 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Non Single Timing summary'),
25 kind = cms.untracked.string(
'TH2F'),
26 otype = cms.untracked.string(
'Ecal3P'),
27 btype = cms.untracked.string(
'TriggerTower'),
28 zaxis = cms.untracked.PSet(
29 title = cms.untracked.string(
'rate')
31 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.')
33 EmulQualitySummary = cms.untracked.PSet(
34 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s emulator error quality summary'),
35 kind = cms.untracked.string(
'TH2F'),
36 otype = cms.untracked.string(
'Ecal3P'),
37 btype = cms.untracked.string(
'TriggerTower'),
38 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.')
40 TimingSummary = cms.untracked.PSet(
41 path = cms.untracked.string(
'%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Timing summary'),
42 kind = cms.untracked.string(
'TH2F'),
43 zaxis = cms.untracked.PSet(
44 title = cms.untracked.string(
'TP data matching emulator')
46 otype = cms.untracked.string(
'Ecal3P'),
47 btype = cms.untracked.string(
'TriggerTower'),
48 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.')
50 TTF4vMask = cms.untracked.PSet(
51 path = cms.untracked.string(
'%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s'),
52 kind = cms.untracked.string(
'TH2F'),
53 otype = cms.untracked.string(
'Ecal3P'),
54 btype = cms.untracked.string(
'TriggerTower'),
55 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.')