CMS 3D CMS Logo

fixMissingUpgradeGTPayloads.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def fixRPCConditions(process):
4  if not hasattr(process.GlobalTag,'toGet'):
5  process.GlobalTag.toGet=cms.VPSet()
6  process.GlobalTag.toGet.extend( cms.VPSet(
7  cms.PSet(record = cms.string("RPCStripNoisesRcd"),
8  tag = cms.string("RPC_testCondition_192Strips_mc"),
9  connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
10  ),
11  cms.PSet(record = cms.string("RPCClusterSizeRcd"),
12  tag = cms.string("RPCClusterSize_PhaseII_mc"),
13  connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
14  )
15  )
16  )
17  return process