CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pFlowHCALCalibration.py
Go to the documentation of this file.
1 
2 def pFlowHCALCalibration(process):
3  if hasattr(process,'simHcalUnsuppressedDigis'):
4  process.simHcalUnsuppressedDigis.hb.samplingFactors = cms.vdouble(125.44, 125.54, 125.32, 125.13, 124.46,
5  125.01, 125.22, 125.48, 124.45, 125.9,
6  125.83, 127.01, 126.82, 129.73, 131.83,
7  143.52)
8  process.simHcalUnsuppressedDigis.he.samplingFactors = cms.vdouble(210.55, 197.93, 186.12, 189.64, 189.63,
9  190.28, 189.61, 189.6, 190.12, 191.22,
10  190.9, 193.06, 188.42, 188.42)
11 
12 
13  if hasattr(process,'particleFlowRecHitHCAL'):
14  process.particleFlowRecHitHCAL.HCAL_Calib = False
15 
16  return (process)
17