CMS 3D CMS Logo

TrigPrimClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.EcalMonitorTasks.TrigPrimTask_cfi import ecalTrigPrimTask
4 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
5 
6 minEntries = 3
7 errorFractionThreshold = 0.1
8 TTF4MaskingAlarmThreshold = 0.1
9 
10 ecalTrigPrimClient = cms.untracked.PSet(
11  params = cms.untracked.PSet(
12  minEntries = cms.untracked.int32(minEntries),
13  errorFractionThreshold = cms.untracked.double(errorFractionThreshold),
14  TTF4MaskingAlarmThreshold = cms.untracked.double(TTF4MaskingAlarmThreshold)
15  ),
16  sources = cms.untracked.PSet(
17  EtEmulError = ecalTrigPrimTask.MEs.EtEmulError,
18  MatchedIndex = ecalTrigPrimTask.MEs.MatchedIndex,
19  TTFlags4 = ecalTrigPrimTask.MEs.TTFlags4,
20  TTFlags4ByLumi = ecalTrigPrimTask.MEs.TTFlags4ByLumi,
21  TTMaskMapAll = ecalTrigPrimTask.MEs.TTMaskMapAll,
22  TTFMismatch = ecalTrigPrimTask.MEs.TTFMismatch,
23  LHCStatusByLumi = ecalTrigPrimTask.MEs.LHCStatusByLumi,
24  TPDigiThrAll = ecalOccupancyTask.MEs.TPDigiThrAll
25  ),
26  MEs = cms.untracked.PSet(
27  NonSingleSummary = cms.untracked.PSet(
28  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Non Single Timing summary'),
29  kind = cms.untracked.string('TH2F'),
30  otype = cms.untracked.string('Ecal3P'),
31  btype = cms.untracked.string('TriggerTower'),
32  zaxis = cms.untracked.PSet(
33  title = cms.untracked.string('rate')
34  ),
35  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.')
36  ),
37  EmulQualitySummary = cms.untracked.PSet(
38  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s emulator error quality summary'),
39  kind = cms.untracked.string('TH2F'),
40  otype = cms.untracked.string('Ecal3P'),
41  btype = cms.untracked.string('TriggerTower'),
42  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. Also, an entire SuperModule can show red if its (data) Trigger Primitive digi occupancy is less than 5sigma of the overall SuperModule mean, or if more than 80% of its Trigger Towers are showing any number of TT Flag-Readout Mismatch errors. Finally, if the fraction of towers in a SuperModule that are permanently masked or have TTF4 flag set is greater than ' + str(TTF4MaskingAlarmThreshold) + ', then the entire supermodule shows red.')
43  ),
44  TimingSummary = cms.untracked.PSet(
45  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Timing summary'),
46  kind = cms.untracked.string('TH2F'),
47  zaxis = cms.untracked.PSet(
48  title = cms.untracked.string('TP data matching emulator')
49  ),
50  otype = cms.untracked.string('Ecal3P'),
51  btype = cms.untracked.string('TriggerTower'),
52  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.')
53  ),
54  TTF4vMask = cms.untracked.PSet(
55  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s'),
56  kind = cms.untracked.string('TH2F'),
57  otype = cms.untracked.string('Ecal3P'),
58  btype = cms.untracked.string('TriggerTower'),
59  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.')
60  ),
61  TTF4vMaskByLumi = cms.untracked.PSet(
62  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s by lumi'),
63  kind = cms.untracked.string('TH2F'),
64  otype = cms.untracked.string('Ecal3P'),
65  btype = cms.untracked.string('TriggerTower'),
66  description = cms.untracked.string('Summarizes whether a TT was masked in this lumisection 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.')
67  ),
68  TrendTTF4Flags = cms.untracked.PSet(
69  path = cms.untracked.string('Ecal/Trends/TrigPrimClient %(prefix)s number of TTs with TTF4 set'),
70  kind = cms.untracked.string('TProfile'),
71  otype = cms.untracked.string('Ecal2P'),
72  btype = cms.untracked.string('Trend'),
73  description = cms.untracked.string('Trend of the total number of TTs in this partition with TTF4 flag set.')
74  )
75  )
76 )
#define str(s)