Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.EcalMonitorTasks.TrigPrimTask_cfi import ecalTrigPrimTask
0004 from DQM.EcalMonitorTasks.OccupancyTask_cfi import ecalOccupancyTask
0005 
0006 minEntries = 3
0007 errorFractionThreshold = 0.2
0008 TTF4MaskingAlarmThreshold = 0.1
0009 
0010 ecalTrigPrimClient = cms.untracked.PSet(
0011     params = cms.untracked.PSet(
0012         minEntries = cms.untracked.int32(minEntries),
0013         errorFractionThreshold = cms.untracked.double(errorFractionThreshold),
0014         TTF4MaskingAlarmThreshold = cms.untracked.double(TTF4MaskingAlarmThreshold),
0015         sourceFromEmul = cms.untracked.bool(True)
0016     ),
0017     sources = cms.untracked.PSet(
0018         EtEmulError = ecalTrigPrimTask.MEs.EtEmulError,
0019         MatchedIndex = ecalTrigPrimTask.MEs.MatchedIndex,
0020         TTFlags4 = ecalTrigPrimTask.MEs.TTFlags4,
0021         TTFlags4ByLumi = ecalTrigPrimTask.MEs.TTFlags4ByLumi,
0022         TTMaskMapAll = ecalTrigPrimTask.MEs.TTMaskMapAll,
0023         TTFMismatch = ecalTrigPrimTask.MEs.TTFMismatch,
0024         LHCStatusByLumi = ecalTrigPrimTask.MEs.LHCStatusByLumi,
0025         TPDigiThrAll = ecalOccupancyTask.MEs.TPDigiThrAll
0026     ),
0027     MEs = cms.untracked.PSet(
0028         NonSingleSummary = cms.untracked.PSet(
0029             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Non Single Timing summary'),
0030             kind = cms.untracked.string('TH2F'),
0031             otype = cms.untracked.string('Ecal3P'),
0032             btype = cms.untracked.string('TriggerTower'),
0033             zaxis = cms.untracked.PSet(
0034                 title = cms.untracked.string('rate')
0035             ),
0036             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.')
0037         ),
0038         EmulQualitySummary = cms.untracked.PSet(
0039             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s emulator error quality summary'),
0040             kind = cms.untracked.string('TH2F'),
0041             otype = cms.untracked.string('Ecal3P'),
0042             btype = cms.untracked.string('TriggerTower'),
0043             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.')
0044         ),
0045         TimingSummary = cms.untracked.PSet(
0046             path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sTTT%(suffix)s Trigger Primitives Timing summary'),
0047             kind = cms.untracked.string('TH2F'),
0048             zaxis = cms.untracked.PSet(
0049                 title = cms.untracked.string('TP data matching emulator')
0050             ),
0051             otype = cms.untracked.string('Ecal3P'),
0052             btype = cms.untracked.string('TriggerTower'),
0053             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.')
0054         ),
0055         TTF4vMask = cms.untracked.PSet(
0056             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s'),
0057             kind = cms.untracked.string('TH2F'),
0058             otype = cms.untracked.string('Ecal3P'),
0059             btype = cms.untracked.string('TriggerTower'),
0060             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.')
0061         ),
0062         TTF4vMaskByLumi = cms.untracked.PSet(
0063             path = cms.untracked.string('%(subdet)s/%(prefix)sTriggerTowerTask/%(prefix)sTTT TTF4 vs Masking Status%(suffix)s by lumi'),
0064             kind = cms.untracked.string('TH2F'),
0065             otype = cms.untracked.string('Ecal3P'),
0066             btype = cms.untracked.string('TriggerTower'),
0067             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.')
0068         ),
0069         TrendTTF4Flags = cms.untracked.PSet(
0070             path = cms.untracked.string('Ecal/Trends/TrigPrimClient %(prefix)s number of TTs with TTF4 set'),
0071             kind = cms.untracked.string('TProfile'),
0072             otype = cms.untracked.string('Ecal2P'),
0073             btype = cms.untracked.string('Trend'),
0074             description = cms.untracked.string('Trend of the total number of TTs in this partition with TTF4 flag set.')
0075         )
0076     )
0077 )