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  sourceFromEmul = cms.untracked.bool(True)
16  ),
17  sources = cms.untracked.PSet(
18  EtEmulError = ecalTrigPrimTask.MEs.EtEmulError,
19  MatchedIndex = ecalTrigPrimTask.MEs.MatchedIndex,
20  TTFlags4 = ecalTrigPrimTask.MEs.TTFlags4,
21  TTFlags4ByLumi = ecalTrigPrimTask.MEs.TTFlags4ByLumi,
22  TTMaskMapAll = ecalTrigPrimTask.MEs.TTMaskMapAll,
23  TTFMismatch = ecalTrigPrimTask.MEs.TTFMismatch,
24  LHCStatusByLumi = ecalTrigPrimTask.MEs.LHCStatusByLumi,
25  TPDigiThrAll = ecalOccupancyTask.MEs.TPDigiThrAll
26  ),
27  MEs = cms.untracked.PSet(
28  NonSingleSummary = cms.untracked.PSet(
29  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Non Single Timing summary'),
30  kind = cms.untracked.string('TH2F'),
31  otype = cms.untracked.string('Ecal3P'),
32  btype = cms.untracked.string('TriggerTower'),
33  zaxis = cms.untracked.PSet(
34  title = cms.untracked.string('rate')
35  ),
36  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.')
37  ),
38  EmulQualitySummary = cms.untracked.PSet(
39  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s emulator error quality summary'),
40  kind = cms.untracked.string('TH2F'),
41  otype = cms.untracked.string('Ecal3P'),
42  btype = cms.untracked.string('TriggerTower'),
43  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.')
44  ),
45  TimingSummary = cms.untracked.PSet(
46  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Timing summary'),
47  kind = cms.untracked.string('TH2F'),
48  zaxis = cms.untracked.PSet(
49  title = cms.untracked.string('TP data matching emulator')
50  ),
51  otype = cms.untracked.string('Ecal3P'),
52  btype = cms.untracked.string('TriggerTower'),
53  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.')
54  ),
55  TTF4vMask = cms.untracked.PSet(
56  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s'),
57  kind = cms.untracked.string('TH2F'),
58  otype = cms.untracked.string('Ecal3P'),
59  btype = cms.untracked.string('TriggerTower'),
60  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.')
61  ),
62  TTF4vMaskByLumi = cms.untracked.PSet(
63  path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s by lumi'),
64  kind = cms.untracked.string('TH2F'),
65  otype = cms.untracked.string('Ecal3P'),
66  btype = cms.untracked.string('TriggerTower'),
67  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.')
68  ),
69  TrendTTF4Flags = cms.untracked.PSet(
70  path = cms.untracked.string('Ecal/Trends/TrigPrimClient %(prefix)s number of TTs with TTF4 set'),
71  kind = cms.untracked.string('TProfile'),
72  otype = cms.untracked.string('Ecal2P'),
73  btype = cms.untracked.string('Trend'),
74  description = cms.untracked.string('Trend of the total number of TTs in this partition with TTF4 flag set.')
75  )
76  )
77 )
str
#define str(s)
Definition: TestProcessor.cc:52