1 import FWCore.ParameterSet.Config
as cms
3 import RecoVertex.BeamSpotProducer.Modifiers
as mods
5 offlineBeamSpot = cms.EDProducer(
"BeamSpotProducer")
8 _onlineBeamSpotProducer = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
9 mods.offlineToOnlineBeamSpotSwap.toReplaceWith(offlineBeamSpot, _onlineBeamSpotProducer)