CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.ProcessModifiers.pp_on_AA_cff import pp_on_AA
9 
13 
14 HcalTPGCoderULUT = cms.ESProducer("HcalTPGCoderULUT",
15  read_Ascii_LUTs = cms.bool(False),
16  read_XML_LUTs = cms.bool(False),
17  read_FG_LUTs = cms.bool(False),
18  LUTGenerationMode = cms.bool(True),
19  linearLUTs = cms.bool(False),
20  contain1TSHB = cms.bool(False),
21  contain1TSHE = cms.bool(False),
22  containPhaseNSHE = cms.double(6.0),
23  containPhaseNSHB = cms.double(6.0),
24  applyFixPCC = PCCUpdate.applyFixPCC,
25  overrideDBweightsAndFilterHB = cms.bool(False),
26  overrideDBweightsAndFilterHE = cms.bool(False),
27  tpScales = tpScales,
28  MaskBit = cms.int32(0x8000),
29  FG_HF_thresholds = cms.vuint32(17, 255),
30  inputLUTs = cms.FileInPath('CalibCalorimetry/HcalTPGAlgos/data/inputLUTcoder_physics.dat'),
31  FGLUTs = cms.FileInPath('CalibCalorimetry/HcalTPGAlgos/data/HBHE_FG_LUT.dat'),
32  RCalibFile = cms.FileInPath('CalibCalorimetry/HcalTPGAlgos/data/RecHit-TPG-calib.dat')
33 )
34 
35 HcalTrigTowerGeometryESProducer = cms.ESProducer("HcalTrigTowerGeometryESProducer")
36 
37 run2_HCAL_2018.toModify(CaloTPGTranscoder, linearLUTs=cms.bool(True))
38 run2_HCAL_2018.toModify(HcalTPGCoderULUT, linearLUTs=cms.bool(True))
39 run3_common.toModify(HcalTPGCoderULUT, applyFixPCC=cms.bool(True))
40 pp_on_AA.toModify(CaloTPGTranscoder, FG_HF_thresholds = cms.vuint32(15, 19))
41 pp_on_AA.toModify(HcalTPGCoderULUT, FG_HF_thresholds = cms.vuint32(15, 19))