1 import FWCore.ParameterSet.Config
as cms
2 from FWCore.ParameterSet.MassReplace
import massReplaceInputTag
as MassReplaceInputTag
9 process = MassReplaceInputTag(process,
"offlinePrimaryVertices",
"offlinePrimaryVerticesWithBS")
12 if hasattr(process,
'offlinePrimaryVerticesWithBS'):
13 process.offlinePrimaryVerticesWithBS.src = cms.InputTag(
"offlinePrimaryVertices",
"WithBS")
23 if hasattr(process,
'offlinePrimaryVertices'):
24 process.offlinePrimaryVertices.vertices=
"unsortedOfflinePrimaryVertices:WithBS" def massReplaceOfflinePrimaryVerticesToUseBeamSpot(process)
def swapOfflinePrimaryVerticesToUseBeamSpot(process)