CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
fixMissingUpgradeGTPayloads Namespace Reference

Functions

def fixRPCConditions
 

Function Documentation

def fixMissingUpgradeGTPayloads.fixRPCConditions (   process)

Definition at line 3 of file fixMissingUpgradeGTPayloads.py.

Referenced by combinedCustoms.cust_2023HGCal_common(), and combinedCustoms.cust_2023MuonOnly().

3 
4 def fixRPCConditions(process):
5  if hasattr(process,'simMuonRPCDigis'):
6  process.simMuonRPCDigis.digiModel = cms.string('RPCSimAverageNoiseEffCls')
7  if not hasattr(process.GlobalTag,'toGet'):
8  process.GlobalTag.toGet=cms.VPSet()
9  process.GlobalTag.toGet.extend( cms.VPSet(
10  cms.PSet(record = cms.string("RPCStripNoisesRcd"),
11  tag = cms.string("RPC_testCondition_192Strips_mc"),
12  connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
13  ),
14  cms.PSet(record = cms.string("RPCClusterSizeRcd"),
15  tag = cms.string("RPCClusterSize_PhaseII_mc"),
16  connect = cms.string("frontier://FrontierProd/CMS_CONDITIONS")
17  )
18  )
19  )
20  return process
21 
22