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  process.simMuonRPCDigis.digiModel = cms.string('RPCSimAverageNoiseEffCls')
5  if not hasattr(process.GlobalTag,'toGet'):
6  process.GlobalTag.toGet=cms.VPSet()
7  process.GlobalTag.toGet.extend( cms.VPSet(
8  cms.PSet(record = cms.string("RPCStripNoisesRcd"),
9  tag = cms.string("RPC_testCondition_192Strips_mc"),
10  connect = cms.string("frontier://FrontierProd/CMS_COND_31X_RPC")
11  ),
12  cms.PSet(record = cms.string("RPCClusterSizeRcd"),
13  tag = cms.string("RPCClusterSize_PhaseII_mc"),
14  connect = cms.string("frontier://FrontierProd/CMS_COND_36X_RPC")
15  )
16  )
17  )
18  return process
19 
21  if not hasattr(process.GlobalTag,'toGet'):
22  process.GlobalTag.toGet=cms.VPSet()
23  process.GlobalTag.toGet.extend( cms.VPSet(
24  cms.PSet(record = cms.string("DTAlignmentErrorExtendedRcd"),
25  tag = cms.string("MuonDTAPEObjectsExtended_v0_mc"),
26  connect = cms.string("frontier://FrontierProd/CMS_COND_ALIGN_000")
27  )
28  )
29  ),
30  process.GlobalTag.toGet.extend( cms.VPSet(
31  cms.PSet(record = cms.string("DTRecoUncertaintiesRcd"),
32  tag = cms.string("DTRecoUncertainties_True_v0"),
33  connect = cms.string("frontier://FrontierProd/CMS_COND_DT_000")
34  )
35  )
36  ),
37  return process
38 
40  if not hasattr(process.GlobalTag,'toGet'):
41  process.GlobalTag.toGet=cms.VPSet()
42  process.GlobalTag.toGet.extend( cms.VPSet(
43  cms.PSet(record = cms.string("CSCAlignmentErrorExtendedRcd"),
44  tag = cms.string("MuonCSCAPEObjectsExtended_v0_mc"),
45  connect = cms.string("frontier://FrontierProd/CMS_COND_ALIGN_000")
46  )
47  )
48  ),
49  return process