CMS 3D CMS Logo

hcaltpdigi_cff.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 # if read_Ascii_LUTs is true then read Ascii LUTs via "inputLUTs" below
4 
5 import FWCore.ParameterSet.Config as cms
6 
7 from Configuration.Eras.Modifier_run2_HCAL_2018_cff import run2_HCAL_2018
8 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
9 
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  tpScales = tpScales,
19  MaskBit = cms.int32(0x8000),
20  FG_HF_thresholds = cms.vuint32(17, 255),
21  inputLUTs = cms.FileInPath('CalibCalorimetry/HcalTPGAlgos/data/inputLUTcoder_physics.dat'),
22  FGLUTs = cms.FileInPath('CalibCalorimetry/HcalTPGAlgos/data/HBHE_FG_LUT.dat'),
23  RCalibFile = cms.FileInPath('CalibCalorimetry/HcalTPGAlgos/data/RecHit-TPG-calib.dat')
24 )
25 
26 HcalTrigTowerGeometryESProducer = cms.ESProducer("HcalTrigTowerGeometryESProducer")
27 
28 run2_HCAL_2018.toModify(CaloTPGTranscoder, linearLUTs=cms.bool(True))
29 run2_HCAL_2018.toModify(HcalTPGCoderULUT, linearLUTs=cms.bool(True))
30 pp_on_AA_2018.toModify(CaloTPGTranscoder, FG_HF_thresholds = cms.vuint32(15, 19))
31 pp_on_AA_2018.toModify(HcalTPGCoderULUT, FG_HF_thresholds = cms.vuint32(15, 19))
CaloTPGTranscoder_cfi
hcaltpdigi_cfi