Skip to content

Commit

Permalink
customize OnlineBeamSpot ESProducer inputs to be refreshed at each LS
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Oct 29, 2021
1 parent f496aeb commit 2f5825f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions DQM/Integration/python/config/FrontierCondition_GT_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,21 @@
from Configuration.StandardSequences.FrontierConditions_GlobalTag_cff import *
from Configuration.AlCa.autoCond import autoCond
GlobalTag.globaltag = autoCond['run3_hlt']

#############################################
#
# DO NOT REMOVE
#
# This GlobalTag customization is necessary to
# refresh the online BeamSpot ESProducer inputs
# used by the online DQM clients at every LS
# (as it done in the HLT menu).
##############################################
GlobalTag.globaltag.toGet = cms.VPSet(
cms.PSet( record = cms.string( "BeamSpotOnlineLegacyObjectsRcd" ),
refreshTime = cms.uint64( 1 ),
),
cms.PSet( record = cms.string( "BeamSpotOnlineHLTObjectsRcd" ),
refreshTime = cms.uint64( 1 )
)
)

0 comments on commit 2f5825f

Please sign in to comment.