5 import FWCore.ParameterSet.Config
as cms
7 from Configuration.Eras.Modifier_run2_HCAL_2018_cff
import run2_HCAL_2018
8 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
12 HcalTPGCoderULUT = cms.ESProducer(
"HcalTPGCoderULUT",
13 read_Ascii_LUTs = cms.bool(
False),
14 read_XML_LUTs = cms.bool(
False),
15 read_FG_LUTs = cms.bool(
False),
16 LUTGenerationMode = cms.bool(
True),
17 linearLUTs = cms.bool(
False),
18 contain1TSHB = cms.bool(
False),
19 contain1TSHE = cms.bool(
False),
20 containPhaseNSHE = cms.double(6.0),
21 containPhaseNSHB = cms.double(6.0),
22 overrideDBweightsAndFilterHB = cms.bool(
False),
23 overrideDBweightsAndFilterHE = cms.bool(
False),
25 MaskBit = cms.int32(0x8000),
26 FG_HF_thresholds = cms.vuint32(17, 255),
27 inputLUTs = cms.FileInPath(
'CalibCalorimetry/HcalTPGAlgos/data/inputLUTcoder_physics.dat'),
28 FGLUTs = cms.FileInPath(
'CalibCalorimetry/HcalTPGAlgos/data/HBHE_FG_LUT.dat'),
29 RCalibFile = cms.FileInPath(
'CalibCalorimetry/HcalTPGAlgos/data/RecHit-TPG-calib.dat')
32 HcalTrigTowerGeometryESProducer = cms.ESProducer(
"HcalTrigTowerGeometryESProducer")
34 run2_HCAL_2018.toModify(CaloTPGTranscoder, linearLUTs=cms.bool(
True))
35 run2_HCAL_2018.toModify(HcalTPGCoderULUT, linearLUTs=cms.bool(
True))
36 pp_on_AA.toModify(CaloTPGTranscoder, FG_HF_thresholds = cms.vuint32(15, 19))
37 pp_on_AA.toModify(HcalTPGCoderULUT, FG_HF_thresholds = cms.vuint32(15, 19))