5 import FWCore.ParameterSet.Config
as cms
7 from Configuration.Eras.Modifier_run2_HCAL_2018_cff
import run2_HCAL_2018
11 HcalTPGCoderULUT = cms.ESProducer(
"HcalTPGCoderULUT",
12 read_Ascii_LUTs = cms.bool(
False),
13 read_XML_LUTs = cms.bool(
False),
14 read_FG_LUTs = cms.bool(
False),
15 LUTGenerationMode = cms.bool(
True),
16 linearLUTs = cms.bool(
False),
18 MaskBit = cms.int32(0x8000),
19 FG_HF_threshold = cms.uint32(17),
20 inputLUTs = cms.FileInPath(
'CalibCalorimetry/HcalTPGAlgos/data/inputLUTcoder_physics.dat'),
21 FGLUTs = cms.FileInPath(
'CalibCalorimetry/HcalTPGAlgos/data/HBHE_FG_LUT.dat'),
22 RCalibFile = cms.FileInPath(
'CalibCalorimetry/HcalTPGAlgos/data/RecHit-TPG-calib.dat')
25 HcalTrigTowerGeometryESProducer = cms.ESProducer(
"HcalTrigTowerGeometryESProducer")
27 run2_HCAL_2018.toModify(CaloTPGTranscoder, linearLUTs=cms.bool(
True))
28 run2_HCAL_2018.toModify(HcalTPGCoderULUT, linearLUTs=cms.bool(
True))