Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:38

0001 # Set M0 as default HCAL reconstruction over full HBHE Digi range
0002 # To be used in cmsDriver command: 
0003 # --customise RecoLocalCalo/Configuration/customiseHBHEreco.hbheUseM0FullRangePhase1
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 def hbheUseM0FullRangePhase1(process):
0007     if hasattr(process,'hbhereco'):
0008        process.hbhereco.cpu.tsFromDB = False
0009        process.hbhereco.cpu.recoParamsFromDB = False
0010        process.hbhereco.cpu.sipmQTSShift = -99
0011        process.hbhereco.cpu.sipmQNTStoSum = 99
0012        process.hbhereco.cpu.algorithm.useMahi = False
0013        process.hbhereco.cpu.algorithm.useM2 = False
0014        process.hbhereco.cpu.algorithm.useM3 = False
0015        process.hbhereco.cpu.algorithm.correctForPhaseContainment = False
0016        process.hbhereco.cpu.algorithm.firstSampleShift = -999
0017        process.hbhereco.cpu.algorithm.samplesToAdd = 10
0018 
0019     return(process)