Skip to content

Commit e560847

Browse files
committed
add dqmInfoHLTMon to offlineHLTSource in DQMOffline_Trigger_cosmics and enable showHLTGlobalTag
1 parent c08da19 commit e560847

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

DQMOffline/Trigger/python/DQMOffline_Trigger_cosmics_cff.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
# *hltMonJetMET makes a log file, need to learn how to turn it off
2626
# *hltMonEleBits causes SegmentFaults in HARVESTING(step3) in inlcuded in step2
2727

28-
#import DQMServices.Components.DQMEnvironment_cfi
29-
#dqmEnvHLTOnline = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone()
30-
#dqmEnvHLTOnline.subSystemFolder = 'HLT'
31-
3228
#onlineHLTSource = cms.Sequence(EcalPi0Mon*EcalPhiSymMon*hltMonEleBits*hltMonMuBits*hltMonTauReco*hltMonBTagIPSource*hltMonBTagMuSource*dqmEnvHLTOnline)
3329
#onlineHLTSource = cms.Sequence(EcalPi0Mon*EcalPhiSymMon*hltMonMuBits*dqmEnvHLTOnline)
3430

@@ -53,8 +49,13 @@
5349

5450
import DQMServices.Components.DQMEnvironment_cfi
5551
dqmEnvHLT= DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone(
56-
subSystemFolder = 'HLT'
57-
)
52+
subSystemFolder = 'HLT',
53+
showHLTGlobalTag = True)
54+
55+
from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
56+
dqmInfoHLTMon = DQMEDAnalyzer('DQMEventInfo',
57+
subSystemFolder = cms.untracked.string('HLT'),
58+
showHLTGlobalTag = cms.untracked.bool(True))
5859

5960
offlineHLTSource = cms.Sequence(
6061
cosmicTrackingMonitorHLT *
@@ -64,7 +65,8 @@
6465
hltMuonOfflineAnalyzers *
6566
HLTTauDQMOffline *
6667
jetMETHLTOfflineSource *
67-
dqmEnvHLT
68+
dqmEnvHLT *
69+
dqmInfoHLTMon
6870
)
6971

7072
#triggerCosmicOfflineDQMSource = cms.Sequence(onlineHLTSource*offlineHLTSource)

0 commit comments

Comments
 (0)