1 import FWCore.ParameterSet.Config
as cms
3 import RecoVertex.BeamSpotProducer.Modifiers
as mods
5 offlineBeamSpot = cms.EDProducer(
"BeamSpotProducer")
8 import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi
as _mod
9 process.BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone(
10 timeThreshold = 999999
14 _onlineBeamSpotProducer = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
15 mods.offlineToOnlineBeamSpotSwap.toReplaceWith(offlineBeamSpot, _onlineBeamSpotProducer)
17 applyOnlineBSESProducer = mods.offlineToOnlineBeamSpotSwap.makeProcessModifier(_loadOnlineBeamSpotESProducer)