1 from __future__
import absolute_import
2 import FWCore.ParameterSet.Config
as cms
5 from .Phase1L1TJets_sincosLUT_cff
import sinPhi, cosPhi
7 caloEtaSegmentation = cms.vdouble(
8 -5.0, -4.917, -4.833, -4.75, -4.667, -4.583, -4.5, -4.417, -4.333, -4.25,
9 -4.167, -4.083, -4.0, -3.917, -3.833, -3.75, -3.667, -3.583, -3.5, -3.417,
10 -3.333, -3.25, -3.167, -3.083, -3.0, -2.917, -2.833, -2.75, -2.667, -2.583,
11 -2.5, -2.417, -2.333, -2.25, -2.167, -2.083, -2.0, -1.917, -1.833, -1.75,
12 -1.667, -1.583, -1.5, -1.417, -1.333, -1.25, -1.167, -1.083, -1.0, -0.917,
13 -0.833, -0.75, -0.667, -0.583, -0.5, -0.417, -0.333, -0.25, -0.167, -0.083,
14 0.0, 0.083, 0.167, 0.25, 0.333, 0.417, 0.5, 0.583, 0.667, 0.75, 0.833, 0.917,
15 1.0, 1.083, 1.167, 1.25, 1.333, 1.417, 1.5, 1.583, 1.667, 1.75, 1.833, 1.917,
16 2.0, 2.083, 2.167, 2.25, 2.333, 2.417, 2.5, 2.583, 2.667, 2.75, 2.833, 2.917,
17 3.0, 3.083, 3.167, 3.25, 3.333, 3.417, 3.5, 3.583, 3.667, 3.75, 3.833, 3.917,
18 4.0, 4.083, 4.167, 4.25, 4.333, 4.417, 4.5, 4.583, 4.667, 4.75, 4.833, 4.917, 5.0)
20 Phase1L1TJetProducer = cms.EDProducer(
'Phase1L1TJetProducer',
21 inputCollectionTag = cms.InputTag(
"l1pfCandidates",
"Puppi"),
22 etaBinning = caloEtaSegmentation,
23 nBinsPhi = cms.uint32(72),
24 phiLow = cms.double(-pi),
25 phiUp = cms.double(pi),
26 jetIEtaSize = cms.uint32(7),
27 jetIPhiSize = cms.uint32(7),
28 trimmedGrid = cms.bool(
False),
29 seedPtThreshold = cms.double(5),
30 puSubtraction = cms.bool(
False),
31 ptlsb = cms.double(0.25),
32 philsb = cms.double(0.0043633231),
33 etalsb = cms.double(0.0043633231),
34 outputCollectionName = cms.string(
"UncalibratedPhase1L1TJetFromPfCandidates"),
35 vetoZeroPt = cms.bool(
True),
36 etaRegions = cms.vdouble( -5., -4.5, -4., -3.5, -3., -2.5, -1.5, -0.75, 0, 0.75, 1.5, 2.5, 3., 3.5, 4., 4.5, 5. ),
37 phiRegions = cms.vdouble( -3.5, -2.8, -2.1, -1.4, -0.7, 0, 0.7, 1.4, 2.1, 2.8, 3.5 ),
38 maxInputsPerRegion = cms.uint32( 18 ),
41 metAbsEtaCut = cms.double(3),
42 metHFAbsEtaCut = cms.double(5),