CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
9 ecalTrigPrimClient = cms.untracked.PSet(
10  params = cms.untracked.PSet(
11  minEntries = cms.untracked.int32(minEntries),
12  errorFractionThreshold = cms.untracked.double(errorFractionThreshold)
13  ),
14  sources = cms.untracked.PSet(
15  EtEmulError = ecalTrigPrimTask.MEs.EtEmulError,
16  MatchedIndex = ecalTrigPrimTask.MEs.MatchedIndex
17  ),
18  MEs = cms.untracked.PSet(
19  NonSingleSummary = cms.untracked.PSet(
20  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Non Single Timing summary'),
21  kind = cms.untracked.string('TH2F'),
22  otype = cms.untracked.string('Ecal3P'),
23  btype = cms.untracked.string('TriggerTower'),
24  zaxis = cms.untracked.PSet(
25  title = cms.untracked.string('rate')
26  ),
27  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.')
28  ),
29  EmulQualitySummary = cms.untracked.PSet(
30  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s emulator error quality summary'),
31  kind = cms.untracked.string('TH2F'),
32  otype = cms.untracked.string('Ecal3P'),
33  btype = cms.untracked.string('TriggerTower'),
34  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.')
35  ),
36  TimingSummary = cms.untracked.PSet(
37  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Timing summary'),
38  kind = cms.untracked.string('TH2F'),
39  zaxis = cms.untracked.PSet(
40  title = cms.untracked.string('TP data matching emulator')
41  ),
42  otype = cms.untracked.string('Ecal3P'),
43  btype = cms.untracked.string('TriggerTower'),
44  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.')
45  )
46  )
47 )