CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fixMissingUpgradeGTPayloads.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 def fixRPCConditions(process):
4  if hasattr(process,'simMuonRPCDigis'):
5  process.simMuonRPCDigis.digiModel = cms.string('RPCSimAverageNoiseEffCls')
6  if not hasattr(process.GlobalTag,'toGet'):
7  process.GlobalTag.toGet=cms.VPSet()
8  process.GlobalTag.toGet.extend( cms.VPSet(
9  cms.PSet(record = cms.string("RPCStripNoisesRcd"),
10  tag = cms.string("RPC_testCondition_192Strips_mc"),
11  connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
12  ),
13  cms.PSet(record = cms.string("RPCClusterSizeRcd"),
14  tag = cms.string("RPCClusterSize_PhaseII_mc"),
15  connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
16  )
17  )
18  )
19  return process
20 
21