1 import FWCore.ParameterSet.Config
as cms
4 barrelConfig_ = cms.PSet(
5 partition = cms.string(
"Barrel"),
6 nLinksPuppi = cms.uint32(6),
7 nPuppiPerRegion = cms.uint32(18),
8 nOutputFramesPerBX = cms.uint32(9),
13 outputRegions = cms.vuint32(*[3*ip+9*ie+i
for ie
in range(6)
for i
in range(3) ]),
14 outputBoard = cms.int32(ip),
18 hgcalConfig_ = cms.PSet(
19 partition = cms.string(
"HGCal"),
20 nLinksPuppi = cms.uint32(3),
21 nPuppiPerRegion = cms.uint32(18),
22 nOutputFramesPerBX = cms.uint32(9),
23 outputRegions = cms.vuint32(*[54 + i+9
for i
in range(9)]),
24 outputBoard = cms.int32(3),
27 hgcalPosConfig = hgcalConfig_.clone(
30 hgcalNegConfig = hgcalConfig_.clone(
31 outputRegions = [54 + i
for i
in range(9)]
34 hgcalNoTKConfig = cms.PSet(
35 partition = cms.string(
"HGCalNoTk"),
36 nLinksPuppi = cms.uint32(4),
37 nPuppiPerRegion = cms.uint32(12),
38 nOutputFramesPerBX = cms.uint32(9),
39 outputRegions = cms.vuint32(*
range(72,72+18)),
40 outputBoard = cms.int32(5),
44 partition = cms.string(
"HF"),
45 nLinksPuppi = cms.uint32(3),
46 nPuppiPerRegion = cms.uint32(18),
47 nOutputFramesPerBX = cms.uint32(9),
51 outputRegions = cms.vuint32(*[90+9*ie+i
for i
in range(9)]),
52 outputBoard = cms.int32(6 + ie),
56 linkConfigs = cms.VPSet(*barrelPhiConfigs, hgcalPosConfig, hgcalNegConfig, hgcalNoTKConfig, *hfConfigs)
58 l1tDeregionizerProducer = cms.EDProducer(
"DeregionizerProducer",
59 RegionalPuppiCands = cms.InputTag(
"l1tLayer1",
"PuppiRegional"),
60 nPuppiFinalBuffer = cms.uint32(128),
61 nPuppiPerClk = cms.uint32(6),
62 nPuppiFirstBuffers = cms.uint32(12),
63 nPuppiSecondBuffers = cms.uint32(32),
64 nPuppiThirdBuffers = cms.uint32(64),
65 nInputFramesPerBX = cms.uint32(9),
66 linkConfigs = linkConfigs,
69 l1tDeregionizerProducerExtended = l1tDeregionizerProducer.clone(RegionalPuppiCands = cms.InputTag(
"l1tLayer1Extended",
"PuppiRegional"))