test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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('L1TCaloStage2ParamsRcd'),
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  # EG
30  egEtaCut = cms.int32(0),
31  egLsb = cms.double(0.5),
32  egSeedThreshold = cms.double(2.),
33  egNeighbourThreshold = cms.double(1.),
34  egHcalThreshold = cms.double(1.),
35  egMaxHcalEt = cms.double(0.),
36  egTrimmingLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egTrimmingLUT_corners.txt"),
37  egMaxPtHOverE = cms.double(128.),
38  egHOverEcutBarrel = cms.int32(5),
39  egHOverEcutEndcap = cms.int32(4),
40  egMaxHOverE = cms.double(0.15),
41  egMaxHOverELUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egMaxHOverELUT.txt"),
42  egCompressShapesLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egCompressShapesLUT.txt"),
43  egShapeIdType = cms.string("unspecified"),
44  egShapeIdVersion = cms.uint32(0),
45  egShapeIdLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egShapeIdLUT.txt"),
46  egCalibrationType = cms.string("unspecified"),
47  egCalibrationVersion = cms.uint32(0),
48  egCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egCalibrationLUT.txt"),
49  egMinPtJetIsolation = cms.int32(25),
50  egMaxPtJetIsolation = cms.int32(63),
51  egMinPtHOverEIsolation = cms.int32(1),
52  egMaxPtHOverEIsolation = cms.int32(40),
53  egPUSType = cms.string("None"),
54  egIsolationType = cms.string("unspecified"),
55  egIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT.txt"),
56  #egIsoLUTFileBarrel = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.30.txt"),
57  #egIsoLUTFileEndcaps = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.50.txt"),
58  egIsoAreaNrTowersEta = cms.uint32(2),
59  egIsoAreaNrTowersPhi = cms.uint32(4),
60  egIsoVetoNrTowersPhi = cms.uint32(3),
61  egIsoPUEstTowerGranularity = cms.uint32(1),
62  egIsoMaxEtaAbsForTowerSum = cms.uint32(4),
63  egIsoMaxEtaAbsForIsoSum = cms.uint32(27),
64  egBypassEGVetos = cms.uint32(0),
65 
66  # Tau
67  tauRegionMask = cms.int32(0),
68  tauLsb = cms.double(0.5),
69  tauSeedThreshold = cms.double(7.),
70  tauNeighbourThreshold = cms.double(0.),
71  tauMaxPtTauVeto = cms.double(64.),
72  tauMinPtJetIsolationB = cms.double(192.),
73  tauMaxJetIsolationB = cms.double(100.),
74  tauMaxJetIsolationA = cms.double(0.1),
75  tauPUSType = cms.string("None"),
76  isoTauEtaMin = cms.int32(0),
77  isoTauEtaMax = cms.int32(17),
78  tauIsoAreaNrTowersEta = cms.uint32(2),
79  tauIsoAreaNrTowersPhi = cms.uint32(4),
80  tauIsoVetoNrTowersPhi = cms.uint32(2),
81  tauIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUTetPU.txt"),
82  tauCalibrationLUTFileEta = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUTEta.txt"),
83  tauCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUT.txt"),
84  tauCompressLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/Tau_Eta_Et_compression_LUT.txt"),
85  tauEtToHFRingEtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauHwEtToHFRingScale_LUT.txt"),
86  tauPUSParams = cms.vdouble(1,4,27),
87 
88  # jets
89  jetRegionMask = cms.int32(0),
90  jetLsb = cms.double(0.5),
91  jetSeedThreshold = cms.double(0.),
92  jetNeighbourThreshold = cms.double(0.),
93  jetPUSType = cms.string("None"),
94  jetCalibrationType = cms.string("None"),
95  jetCalibrationParams = cms.vdouble(),
96  jetCompressPtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_pt_compress.txt"),
97  jetCompressEtaLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_eta_compress.txt"),
98  jetCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_add_mult.txt"),
99  jetBypassPUS = cms.uint32(0),
100 
101  # sums
102  etSumLsb = cms.double(0.5),
103  etSumEtaMin = cms.vint32(-999, -999, -999, -999),
104  etSumEtaMax = cms.vint32(999, 999, 999, 999),
105  etSumEtThreshold = cms.vdouble(0., 0., 0., 0.),
106  etSumXPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
107  etSumYPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
108  etSumEttPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
109  etSumEcalSumPUSLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/lut_etSumPUS_dummy.txt"),
110 
111 
112  # HI
113  centralityNodeVersion = cms.int32(1),
114  centralityRegionMask = cms.int32(0),
115  minimumBiasThresholds = cms.vint32(0, 0, 0, 0),
116  centralityLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/centralityLUT_stage1.txt"),
117  q2LUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/q2LUT_stage1.txt")
118 
119 )