CMS 3D CMS Logo

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

Functions

def fixCSCAlignmentConditions
 
def fixDTAlignmentConditions
 
def fixRPCConditions
 

Function Documentation

def fixMissingUpgradeGTPayloads.fixCSCAlignmentConditions (   process)

Definition at line 39 of file fixMissingUpgradeGTPayloads.py.

39 
40 def fixCSCAlignmentConditions(process):
41  if not hasattr(process.GlobalTag,'toGet'):
42  process.GlobalTag.toGet=cms.VPSet()
43  process.GlobalTag.toGet.extend( cms.VPSet(
44  cms.PSet(record = cms.string("CSCAlignmentErrorExtendedRcd"),
45  tag = cms.string("MuonCSCAPEObjectsExtended_v0_mc"),
46  connect = cms.string("frontier://FrontierProd/CMS_COND_ALIGN_000")
47  )
48  )
49  ),
50  return process
def fixMissingUpgradeGTPayloads.fixDTAlignmentConditions (   process)

Definition at line 20 of file fixMissingUpgradeGTPayloads.py.

20 
21 def fixDTAlignmentConditions(process):
22  if not hasattr(process.GlobalTag,'toGet'):
23  process.GlobalTag.toGet=cms.VPSet()
24  process.GlobalTag.toGet.extend( cms.VPSet(
25  cms.PSet(record = cms.string("DTAlignmentErrorExtendedRcd"),
26  tag = cms.string("MuonDTAPEObjectsExtended_v0_mc"),
27  connect = cms.string("frontier://FrontierProd/CMS_COND_ALIGN_000")
28  )
29  )
30  ),
31  process.GlobalTag.toGet.extend( cms.VPSet(
32  cms.PSet(record = cms.string("DTRecoUncertaintiesRcd"),
33  tag = cms.string("DTRecoUncertainties_True_v0"),
34  connect = cms.string("frontier://FrontierProd/CMS_COND_DT_000")
35  )
36  )
37  ),
38  return process
def fixMissingUpgradeGTPayloads.fixRPCConditions (   process)

Definition at line 3 of file fixMissingUpgradeGTPayloads.py.

3 
4 def fixRPCConditions(process):
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_COND_31X_RPC")
12  ),
13  cms.PSet(record = cms.string("RPCClusterSizeRcd"),
14  tag = cms.string("RPCClusterSize_PhaseII_mc"),
15  connect = cms.string("frontier://FrontierProd/CMS_COND_36X_RPC")
16  )
17  )
18  )
19  return process