CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  dynamicPed = cms.bool(False),
8  ts4Thresh = cms.double(0.0),
9  chiSqSwitch = cms.double(15.0),
10  activeBXs = cms.vint32(-3, -2, -1, 0, 1, 2, 3, 4),
11  nMaxItersMin = cms.int32(500),
12  nMaxItersNNLS = cms.int32(500),
13  deltaChiSqThresh = cms.double(1e-3),
14  nnlsThresh = cms.double(1e-11)
15 )
16 
17 from Configuration.Eras.Modifier_run2_HE_2017_cff import run2_HE_2017
18 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
19 #--- >= Run3 modification:
20 (run3_HB & run2_HE_2017).toModify(mahiParameters, chiSqSwitch = -1)