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('L1TCaloParamsRcd'),
6  iovIsRunNotTime = cms.bool(True),
7  firstValid = cms.vuint32(1)
8 )
9 
10 caloParams = cms.ESProducer(
11  "L1TCaloParamsESProducer",
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(False),
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  egMaxHOverE = cms.double(0.15),
39  egMaxHOverELUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egMaxHOverELUT.txt"),
40  egCompressShapesLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egCompressShapesLUT.txt"),
41  egShapeIdLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egShapeIdLUT.txt"),
42  egCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egCalibrationLUT.txt"),
43  egMinPtJetIsolation = cms.int32(25),
44  egMaxPtJetIsolation = cms.int32(63),
45  egMinPtHOverEIsolation = cms.int32(1),
46  egMaxPtHOverEIsolation = cms.int32(40),
47  egPUSType = cms.string("None"),
48  egIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT.txt"),
49  #egIsoLUTFileBarrel = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.30.txt"),
50  #egIsoLUTFileEndcaps = cms.FileInPath("L1Trigger/L1TCalorimeter/data/egIsoLUT_stage1_isol0.50.txt"),
51  egIsoAreaNrTowersEta = cms.uint32(2),
52  egIsoAreaNrTowersPhi = cms.uint32(4),
53  egIsoVetoNrTowersPhi = cms.uint32(3),
54  egIsoPUEstTowerGranularity = cms.uint32(1),
55  egIsoMaxEtaAbsForTowerSum = cms.uint32(4),
56  egIsoMaxEtaAbsForIsoSum = cms.uint32(27),
57 
58  # Tau
59  tauRegionMask = cms.int32(0),
60  tauLsb = cms.double(0.5),
61  tauSeedThreshold = cms.double(7.),
62  tauNeighbourThreshold = cms.double(0.),
63  tauMaxPtTauVeto = cms.double(64.),
64  tauMinPtJetIsolationB = cms.double(192.),
65  tauMaxJetIsolationB = cms.double(100.),
66  tauMaxJetIsolationA = cms.double(0.1),
67  tauPUSType = cms.string("None"),
68  isoTauEtaMin = cms.int32(0),
69  isoTauEtaMax = cms.int32(17),
70  tauIsoAreaNrTowersEta = cms.uint32(2),
71  tauIsoAreaNrTowersPhi = cms.uint32(4),
72  tauIsoVetoNrTowersPhi = cms.uint32(2),
73  tauIsoLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauIsoLUTetPU.txt"),
74  tauCalibrationLUTFileEta = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUTEta.txt"),
75  tauCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauCalibrationLUT.txt"),
76  tauEtToHFRingEtLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/tauHwEtToHFRingScale_LUT.txt"),
77  tauPUSParams = cms.vdouble(1,4,27),
78 
79  # jets
80  jetRegionMask = cms.int32(0),
81  jetLsb = cms.double(0.5),
82  jetSeedThreshold = cms.double(0.),
83  jetNeighbourThreshold = cms.double(0.),
84  jetPUSType = cms.string("None"),
85  jetPUSParams = cms.vdouble(),
86  jetCalibrationType = cms.string("None"),
87  jetCalibrationParams = cms.vdouble(),
88  jetCalibrationLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/jetCalibrationLUT_stage1.txt"),
89 
90  # sums
91  etSumLsb = cms.double(0.5),
92  etSumEtaMin = cms.vint32(-999, -999, -999, -999),
93  etSumEtaMax = cms.vint32(999, 999, 999, 999),
94  etSumEtThreshold = cms.vdouble(0., 0., 0., 0.),
95 
96  # HI
97  centralityNodeVersion = cms.int32(1),
98  centralityRegionMask = cms.int32(0),
99  minimumBiasThresholds = cms.vint32(0, 0, 0, 0),
100  centralityLUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/centralityLUT_stage1.txt"),
101  q2LUTFile = cms.FileInPath("L1Trigger/L1TCalorimeter/data/q2LUT_stage1.txt")
102 
103 )