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 
71  # Tau
72  tauRegionMask = cms.int32(0),
73  tauLsb = cms.double(0.5),
74  tauSeedThreshold = cms.double(7.),
75  tauNeighbourThreshold = cms.double(0.),
76  tauMaxPtTauVeto = cms.double(64.),
77  tauMinPtJetIsolationB = cms.double(192.),
78  tauMaxJetIsolationB = cms.double(100.),
79  tauMaxJetIsolationA = cms.double(0.1),
80  tauPUSType = cms.string("None"),
81  isoTauEtaMin = cms.int32(0),
82  isoTauEtaMax = cms.int32(28),
83  tauIsoAreaNrTowersEta = cms.uint32(2),
84  tauIsoAreaNrTowersPhi = cms.uint32(4),
85  tauIsoVetoNrTowersPhi = cms.uint32(2),
86  tauIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUTetPU.txt"),
87  tauIsoLUTFile2 = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUTetPU.txt"),
88  tauCalibrationLUTFileEta = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUTEta.txt"),
89  tauCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUT.txt"),
90  tauTrimmingShapeVetoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/Tau_TrimmingShapeVeto_LUT_v1.0.0.txt"),
91  tauCompressLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/Tau_Eta_Et_compression_LUT.txt"),
92  tauEtToHFRingEtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauHwEtToHFRingScale_LUT.txt"),
93  tauPUSParams = cms.vdouble(1,4,27),
94 
95  # jets
96  jetRegionMask = cms.int32(0),
97  jetLsb = cms.double(0.5),
98  jetSeedThreshold = cms.double(0.),
99  jetNeighbourThreshold = cms.double(0.),
100  jetPUSType = cms.string("None"),
101  jetCalibrationType = cms.string("None"),
102  jetCalibrationParams = cms.vdouble(),
103  jetCompressPtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_pt_compress.txt"),
104  jetCompressEtaLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_eta_compress.txt"),
105  jetCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_add_mult.txt"),
106  jetBypassPUS = cms.uint32(0),
107 
108  # sums
109  etSumLsb = cms.double(0.5),
110  etSumEtaMin = cms.vint32(-999, -999, -999, -999),
111  etSumEtaMax = cms.vint32(999, 999, 999, 999),
112  etSumEtThreshold = cms.vdouble(0., 0., 0., 0.),
113  etSumMetPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_towEtThresh_dummy.txt"),
114  etSumEttPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_towEtThresh_dummy.txt"),
115  etSumEcalSumPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_towEtThresh_dummy.txt"),
116  etSumBypassMetPUS = cms.uint32(0),
117  etSumBypassEttPUS = cms.uint32(0),
118  etSumBypassEcalSumPUS = cms.uint32(0),
119  etSumMetPUSType = cms.string("None"),
120  etSumEttPUSType = cms.string("None"),
121  etSumEcalSumPUSType = cms.string("None"),
122  etSumXCalibrationType = cms.string("None"),
123  etSumYCalibrationType = cms.string("None"),
124  etSumEttCalibrationType = cms.string("None"),
125  etSumEcalSumCalibrationType = cms.string("None"),
126  etSumXCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
127  etSumYCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
128  etSumEttCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
129  etSumEcalSumCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
130 
131 
132  # HI
133  centralityNodeVersion = cms.int32(1),
134  centralityRegionMask = cms.int32(0),
135  minimumBiasThresholds = cms.vint32(0, 0, 0, 0),
136  centralityLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/centralityLUT_stage1.txt"),
137  q2LUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/q2LUT_stage1.txt")
138 
139 )