CMS 3D CMS Logo

customiseHBHEreco.py
Go to the documentation of this file.
1 # Set M0 as default HCAL reconstruction over full HBHE Digi range
2 # To be used in cmsDriver command:
3 # --customise RecoLocalCalo/Configuration/customiseHBHEreco.hbheUseM0FullRangePhase1
4 
5 import FWCore.ParameterSet.Config as cms
7  if hasattr(process,'hbhereco'):
8  process.hbhereco.cpu.tsFromDB = False
9  process.hbhereco.cpu.recoParamsFromDB = False
10  process.hbhereco.cpu.sipmQTSShift = -99
11  process.hbhereco.cpu.sipmQNTStoSum = 99
12  process.hbhereco.cpu.algorithm.useMahi = False
13  process.hbhereco.cpu.algorithm.useM2 = False
14  process.hbhereco.cpu.algorithm.useM3 = False
15  process.hbhereco.cpu.algorithm.correctForPhaseContainment = False
16  process.hbhereco.cpu.algorithm.firstSampleShift = -999
17  process.hbhereco.cpu.algorithm.samplesToAdd = 10
18 
19  return(process)
return((rh ^ lh) &mask)
def hbheUseM0FullRangePhase1(process)