CMS 3D CMS Logo

HBHEMahiParameters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Configuration parameters for Mahi
4 mahiParameters = cms.PSet(
5 
6  calculateArrivalTime = cms.bool(True),
7  timeAlgo = cms.int32(2), # 1=MahiTime, 2=ccTime
8  thEnergeticPulses = cms.double(5.),
9  dynamicPed = cms.bool(False),
10  ts4Thresh = cms.double(0.0),
11  chiSqSwitch = cms.double(15.0),
12  activeBXs = cms.vint32(-3, -2, -1, 0, 1, 2, 3, 4),
13  nMaxItersMin = cms.int32(500),
14  nMaxItersNNLS = cms.int32(500),
15  deltaChiSqThresh = cms.double(1e-3),
16  nnlsThresh = cms.double(1e-11)
17 )
18 
19 from Configuration.Eras.Modifier_run2_HE_2017_cff import run2_HE_2017
20 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
21 #--- >= Run3 modification:
22 (run3_HB & run2_HE_2017).toModify(mahiParameters, chiSqSwitch = -1)