Skip to content

Commit

Permalink
Merge pull request #42935 from rovere/HLT_P2_Add_FTS_TS_TimingMenu_13…
Browse files Browse the repository at this point in the history
…_1_1

[13_1_X] Add FastTimer and Throughput Services to HLT P2 timing menu.
  • Loading branch information
cmsbuild authored Oct 10, 2023
2 parents d55a81b + 64e8624 commit 55600b8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import FWCore.ParameterSet.Config as cms

ThroughputService = cms.Service('ThroughputService',
eventRange = cms.untracked.uint32(10000),
eventResolution = cms.untracked.uint32(1),
printEventSummary = cms.untracked.bool(False),
enableDQM = cms.untracked.bool(True),
)

18 changes: 18 additions & 0 deletions HLTrigger/Configuration/python/HLT_75e33_timing_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,24 @@
fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLTriggerFinalPath_cff")
fragment.load("HLTrigger/Configuration/HLT_75e33/paths/HLTAnalyzerEndpath_cff")

# Load and configure the FastTimerService
fragment.load("HLTrigger/Configuration/HLT_75e33/services/FastTimerService_cfi")
fragment.FastTimerService.enableDQM = False
fragment.FastTimerService.enableDQMbyModule = False
fragment.FastTimerService.enableDQMbyPath = False
fragment.FastTimerService.jsonFileName = 'Phase2Timing_resources.json'

# Load and configure the ThroughputService
fragment.load("HLTrigger/Configuration/HLT_75e33/services/ThroughputService_cfi")
fragment.ThroughputService.eventRange = 1000
fragment.ThroughputService.eventResolution = 50
fragment.ThroughputService.printEventSummary = True
fragment.ThroughputService.enableDQM = False

# Cusotmize the output as well
if fragment.HLTriggerFinalPath.contains(fragment.hltTriggerSummaryAOD):
fragment.HLTriggerFinalPath.remove(fragment.hltTriggerSummaryAOD)

fragment.schedule = cms.Schedule(*[

fragment.L1T_SinglePFPuppiJet230off,
Expand Down

0 comments on commit 55600b8

Please sign in to comment.