CMS 3D CMS Logo

BeamSpot_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import RecoVertex.BeamSpotProducer.Modifiers as mods
4 
5 offlineBeamSpot = cms.EDProducer("BeamSpotProducer")
6 
8  import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi as _mod
9  process.BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone(
10  timeThreshold = 999999 # for express allow >48h old payloads for replays. DO NOT CHANGE
11  )
12 
14 _onlineBeamSpotProducer = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
15 mods.offlineToOnlineBeamSpotSwap.toReplaceWith(offlineBeamSpot, _onlineBeamSpotProducer)
16 
17 applyOnlineBSESProducer = mods.offlineToOnlineBeamSpotSwap.makeProcessModifier(_loadOnlineBeamSpotESProducer)
BeamSpot_cfi._loadOnlineBeamSpotESProducer
def _loadOnlineBeamSpotESProducer(process)
Definition: BeamSpot_cfi.py:7
BeamSpotOnline_cfi