CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CaloTPGTranscoder_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 tpScales = cms.PSet(
4  HF=cms.PSet(
5  NCTShift=cms.int32(1),
6  RCTShift=cms.int32(3),
7  ),
8  HBHE=cms.PSet(
9  LSBQIE8=cms.double(1/8.),
10  LSBQIE11=cms.double(1/16.),
11  LSBQIE11Overlap=cms.double(1/8.),
12  )
13 )
14 
15 CaloTPGTranscoder = cms.ESProducer("CaloTPGTranscoderULUTs",
16  hcalLUT1 = cms.FileInPath('CalibCalorimetry/CaloTPG/data/outputLUTtranscoder_physics.dat'),
17  hcalLUT2 = cms.FileInPath('CalibCalorimetry/CaloTPG/data/TPGcalcDecompress2.txt'),
18  read_Ascii_Compression_LUTs = cms.bool(False),
19  read_Ascii_RCT_LUTs = cms.bool(False),
20  ietaLowerBound = cms.vint32( 1,18,27,29),
21  ietaUpperBound = cms.vint32(17,26,28,32),
22  ZS = cms.vint32(4,2,1,0),
23  LUTfactor = cms.vint32(1,2,5,0),
24  linearLUTs = cms.bool(False),
25  nominal_gain = cms.double(0.177),
26  RCTLSB = cms.double(0.25),
27  tpScales = tpScales,
28 )