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