Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-09-14 22:43:12

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 l1tLayer2EG = cms.EDProducer(
0004     "L1TCtL2EgProducer",
0005     tkElectrons=cms.VPSet(
0006         cms.PSet(
0007             pfProducer=cms.InputTag("l1tLayer1HGCal", 'L1TkElePerBoard'),
0008             channels=cms.vint32(3, 4)
0009         ),
0010         cms.PSet(
0011             pfProducer=cms.InputTag("l1tLayer1Barrel", 'L1TkElePerBoard'),
0012             channels=cms.vint32(0, 1, 2)
0013         ),
0014     ),
0015     tkEms=cms.VPSet(
0016         cms.PSet(
0017             pfProducer=cms.InputTag("l1tLayer1HGCal", 'L1TkEmPerBoard'),
0018             channels=cms.vint32(3, 4)
0019         ),
0020         cms.PSet(
0021             pfProducer=cms.InputTag("l1tLayer1HGCalNoTK", 'L1TkEmPerBoard'),
0022             channels=cms.vint32(-1)
0023         ),
0024         cms.PSet(
0025             pfProducer=cms.InputTag("l1tLayer1Barrel", 'L1TkEmPerBoard'),
0026             channels=cms.vint32(0, 1, 2)
0027         ),
0028     ),
0029     tkEgs=cms.VPSet(
0030         cms.PSet(
0031             pfProducer=cms.InputTag("l1tLayer1HGCal", 'L1Eg'),
0032             channels=cms.vint32(-1)
0033         ),
0034         cms.PSet(
0035             pfProducer=cms.InputTag("l1tLayer1HGCalNoTK", 'L1Eg'),
0036             channels=cms.vint32(-1)
0037         ),
0038     ),
0039     egStaInstanceLabel=cms.string("L1CtEgEE"),
0040     tkEmInstanceLabel=cms.string("L1CtTkEm"),
0041     tkEleInstanceLabel=cms.string("L1CtTkElectron"),
0042     sorter=cms.PSet(
0043         nBOARDS=cms.uint32(5),
0044         nEGPerBoard=cms.uint32(16),
0045         nEGOut=cms.uint32(12),
0046         debug=cms.untracked.uint32(0),
0047     ),
0048     encoder=cms.PSet(
0049         nTKELE_OUT=cms.uint32(12),
0050         nTKPHO_OUT=cms.uint32(12),
0051     ),
0052     writeInPattern=cms.bool(False),
0053     writeOutPattern=cms.bool(False),
0054     inPatternFile=cms.PSet(
0055         nFramesPerBX=cms.uint32(9),  # 360 MHz clock or 25 Gb/s link
0056         format=cms.string("EMP"),
0057         outputFilename=cms.string("L1TCTL2EG_InPattern"),
0058         TMUX=cms.uint32(6),
0059         maxLinesPerFile=cms.uint32(1024),
0060         channels=cms.VPSet(
0061             cms.PSet(
0062                 TMUX=cms.uint32(6),
0063                 nWords=cms.uint32(48),  # = 16*2words ele + 16words photons
0064                 interface=cms.string("eglayer1"),
0065                 id=cms.uint32(0),
0066                 channels=cms.vuint32(0)
0067                 ),
0068             cms.PSet(
0069                 TMUX=cms.uint32(6),
0070                 nWords=cms.uint32(48),
0071                 interface=cms.string("eglayer1"),
0072                 id=cms.uint32(1),
0073                 channels=cms.vuint32(1)
0074                 ),
0075             cms.PSet(
0076                 TMUX=cms.uint32(6),
0077                 nWords=cms.uint32(48),
0078                 interface=cms.string("eglayer1"),
0079                 id=cms.uint32(2),
0080                 channels=cms.vuint32(2)
0081                 ),
0082             cms.PSet(
0083                 TMUX=cms.uint32(6),
0084                 nWords=cms.uint32(48),
0085                 interface=cms.string("eglayer1"),
0086                 id=cms.uint32(3),
0087                 channels=cms.vuint32(3)
0088                 ),
0089             cms.PSet(
0090                 TMUX=cms.uint32(6),
0091                 nWords=cms.uint32(48),
0092                 interface=cms.string("eglayer1"),
0093                 id=cms.uint32(4),
0094                 channels=cms.vuint32(4)
0095                 ),
0096 
0097         )
0098     ),
0099     outPatternFile=cms.PSet(
0100         nFramesPerBX=cms.uint32(9),  # 360 MHz clock or 25 Gb/s link
0101         format=cms.string("EMP"),
0102         outputFilename=cms.string("L1TCTL2EG_OuPattern"),
0103         TMUX=cms.uint32(6),
0104         maxLinesPerFile=cms.uint32(1024),
0105         channels=cms.VPSet(
0106             cms.PSet(
0107                 TMUX=cms.uint32(6),
0108                 nWords=cms.uint32(36),  # 36 = 12*3/2words ele + 12*3/2words phhotons
0109                 interface=cms.string("eglayer2"),
0110                 id=cms.uint32(0),
0111                 channels=cms.vuint32(0)
0112                 )
0113         )
0114     ),
0115     # NOTE: to write out the GT input from 6TS 
0116     # outPatternFile=cms.PSet(
0117     #     nFramesPerBX=cms.uint32(9),  # 360 MHz clock or 25 Gb/s link
0118     #     format=cms.string("EMP"),
0119     #     outputFilename=cms.string("L1TCTL2EG_ToGTPattern"),
0120     #     TMUX=cms.uint32(1),
0121     #     maxLinesPerFile=cms.uint32(1024),
0122     #     channels=cms.VPSet(
0123     #         cms.PSet(
0124     #             TMUX=cms.uint32(6),
0125     #             nWords=cms.uint32(36),  # 36 = 12*3/2words ele + 12*3/2words phhotons
0126     #             interface=cms.string("eglayer2"),
0127     #             id=cms.uint32(0),
0128     #             channels=cms.vuint32(0, 1, 2, 3, 4, 5)
0129     #             )
0130     #     )
0131     # )
0132 )
0133 
0134 
0135 L1TLayer2EGTask = cms.Task(
0136      l1tLayer2EG
0137 )