CMS 3D CMS Logo

caloParams_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 caloParamsSource = cms.ESSource(
4  "EmptyESSource",
5  recordName = cms.string('L1TCaloParamsRcd'),
6  iovIsRunNotTime = cms.bool(True),
7  firstValid = cms.vuint32(1)
8 )
9 
10 caloParams = cms.ESProducer(
11  "L1TCaloStage2ParamsESProducer",
12 
13  # towers
14  towerLsbH = cms.double(0.5),
15  towerLsbE = cms.double(0.5),
16  towerLsbSum = cms.double(0.5),
17  towerNBitsH = cms.int32(8),
18  towerNBitsE = cms.int32(8),
19  towerNBitsSum = cms.int32(9),
20  towerNBitsRatio = cms.int32(3),
21  towerEncoding = cms.bool(True),
22 
23  # regions
24  regionLsb = cms.double(0.5),
25  regionPUSType = cms.string("None"),
26  regionPUSVersion = cms.int32(0),
27  regionPUSParams = cms.vdouble(),
28 
29  pileUpTowerThreshold = cms.int32(0),
30 
31  # EG
32  egEtaCut = cms.int32(28),
33  egLsb = cms.double(0.5),
34  egSeedThreshold = cms.double(2.),
35  egNeighbourThreshold = cms.double(1.),
36  egHcalThreshold = cms.double(1.),
37  egMaxHcalEt = cms.double(0.),
38  egTrimmingLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egTrimmingLUT_corners.txt"),
39  egMaxPtHOverE = cms.double(128.),
40  egHOverEcutBarrel = cms.int32(4),
41  egHOverEcutEndcap = cms.int32(3),
42  egMaxHOverE = cms.double(0.15),
43  egMaxHOverELUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egMaxHOverELUT.txt"),
44  egCompressShapesLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egCompressShapesLUT.txt"),
45  egShapeIdType = cms.string("unspecified"),
46  egShapeIdVersion = cms.uint32(0),
47  egShapeIdLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egShapeIdLUT.txt"),
48  egCalibrationType = cms.string("unspecified"),
49  egCalibrationVersion = cms.uint32(0),
50  egCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egCalibrationLUT.txt"),
51  egMinPtJetIsolation = cms.int32(25),
52  egMaxPtJetIsolation = cms.int32(63),
53  egMinPtHOverEIsolation = cms.int32(1),
54  egMaxPtHOverEIsolation = cms.int32(40),
55  egPUSType = cms.string("None"),
56  egIsolationType = cms.string("unspecified"),
57  egIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT.txt"),
58  egIsoLUTFile2 = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT.txt"),
59 
60  #egIsoLUTFileBarrel = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.30.txt"),
61  #egIsoLUTFileEndcaps = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.50.txt"),
62  egIsoAreaNrTowersEta = cms.uint32(2),
63  egIsoAreaNrTowersPhi = cms.uint32(4),
64  egIsoVetoNrTowersPhi = cms.uint32(3),
65  egIsoPUEstTowerGranularity = cms.uint32(1),
66  egIsoMaxEtaAbsForTowerSum = cms.uint32(4),
67  egIsoMaxEtaAbsForIsoSum = cms.uint32(27),
68  egBypassEGVetos = cms.uint32(0),
69  egBypassExtHOverE = cms.uint32(1),
70  egBypassShape = cms.uint32(0),
71  egBypassECALFG = cms.uint32(0),
72  egBypassHoE = cms.uint32(0),
73 
74  # Tau
75  tauRegionMask = cms.int32(0),
76  tauLsb = cms.double(0.5),
77  tauSeedThreshold = cms.double(7.),
78  tauNeighbourThreshold = cms.double(0.),
79  tauMaxPtTauVeto = cms.double(64.),
80  tauMinPtJetIsolationB = cms.double(192.),
81  tauMaxJetIsolationB = cms.double(100.),
82  tauMaxJetIsolationA = cms.double(0.1),
83  tauPUSType = cms.string("None"),
84  isoTauEtaMin = cms.int32(0),
85  isoTauEtaMax = cms.int32(28),
86  tauIsoAreaNrTowersEta = cms.uint32(2),
87  tauIsoAreaNrTowersPhi = cms.uint32(4),
88  tauIsoVetoNrTowersPhi = cms.uint32(2),
89  tauIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUTetPU.txt"),
90  tauIsoLUTFile2 = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUTetPU.txt"),
91  tauCalibrationLUTFileEta = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUTEta.txt"),
92  tauCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUT.txt"),
93  tauTrimmingShapeVetoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/Tau_TrimmingShapeVeto_LUT_v1.0.0.txt"),
94  tauCompressLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/Tau_Eta_Et_compression_LUT.txt"),
95  tauEtToHFRingEtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauHwEtToHFRingScale_LUT.txt"),
96  tauPUSParams = cms.vdouble(1,4,27),
97 
98  # jets
99  jetRegionMask = cms.int32(0),
100  jetLsb = cms.double(0.5),
101  jetSeedThreshold = cms.double(0.),
102  jetNeighbourThreshold = cms.double(0.),
103  jetPUSType = cms.string("None"),
104  jetCalibrationType = cms.string("None"),
105  jetCalibrationParams = cms.vdouble(),
106  jetCompressPtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_pt_compress.txt"),
107  jetCompressEtaLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_eta_compress.txt"),
108  jetCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_add_mult.txt"),
109  jetBypassPUS = cms.uint32(0),
110  jetPUSUsePhiRing = cms.uint32(0),
111 
112  # sums
113  etSumLsb = cms.double(0.5),
114  etSumEtaMin = cms.vint32(-999, -999, -999, -999),
115  etSumEtaMax = cms.vint32(999, 999, 999, 999),
116  etSumEtThreshold = cms.vdouble(0., 0., 0., 0.),
117  etSumMetPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_towEtThresh_dummy.txt"),
118  etSumEttPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_towEtThresh_dummy.txt"),
119  etSumEcalSumPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_towEtThresh_dummy.txt"),
120  etSumBypassMetPUS = cms.uint32(0),
121  etSumBypassEttPUS = cms.uint32(0),
122  etSumBypassEcalSumPUS = cms.uint32(0),
123  etSumMetPUSType = cms.string("None"),
124  etSumEttPUSType = cms.string("None"),
125  etSumEcalSumPUSType = cms.string("None"),
126  metCalibrationType = cms.string("None"),
127  metHFCalibrationType = cms.string("None"),
128  etSumEttCalibrationType = cms.string("None"),
129  etSumEcalSumCalibrationType = cms.string("None"),
130  metCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
131  metHFCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
132  etSumEttCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
133  etSumEcalSumCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
134  metPhiCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
135  metHFPhiCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
136 
137  # HI
138  etSumCentralityLower = cms.vdouble(0,200,400,600,800, 1000,1200,1400),
139  etSumCentralityUpper = cms.vdouble(200,400,600,800,1000,1200,1400,1600),
140  centralityNodeVersion = cms.int32(1),
141  centralityRegionMask = cms.int32(0),
142  minimumBiasThresholds = cms.vint32(0, 0, 0, 0),
143  centralityLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/centralityLUT_stage1.txt"),
144  q2LUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/q2LUT_stage1.txt"),
145 
146  # HCal FB LUT
147  layer1HCalFBLUTUpper = cms.vuint32([
148  0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA,
149  ]),
150 
151  layer1HCalFBLUTLower = cms.vuint32([
152  0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA, 0xBBBABBBA,
153  ])
154 
155 )