Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:08

0001 #
0002 # cfi for the setup of L1 GT PSB boards.
0003 #
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 l1GtPsbSetup = cms.ESProducer("L1GtPsbSetupTrivialProducer",
0008 
0009     # actual input to PSB  - see l1GtBoardMaps_cfi.py
0010     #CableList = cms.vstring( N/A,        N/A,         N/A,      TTr_ch0/1,  // PSB_0 slot  9
0011     #                    CA1_ch6/7    CA2_ch4/5 ,  CA3_ch2/3,    CA4_ch0/1,  // PSB_1 slot 13
0012     #                    CA5_ch6/7    CA6_ch4/5 ,  CA7_ch2/3,    CA8_ch0/1,  // PSB_2 slot 14
0013     #                    N/A,         N/A,         CA9_ch2/3,   CA10_ch0/1,  // PSB_3 slot 15
0014     #                   MQF4_ch6/7,  MQF3_ch4/5,  MQB2_ch2/3,   MQB1_ch0/1,  // PSB_4 slot 19
0015     #                   MQF8_ch6/7,  MQF7_ch4/5,  MQB6_ch2/3,   MQB5_ch0/1,  // PSB_5 slot 20
0016     #                   MQF12_ch6/7,MQF11_ch4/5, MQB10_ch2/3,   MQB9_ch0/1   // PSB_6 slot 21
0017     #),
0018     #CableList = cms.vstring('Free',      'Free',       'Free',    'TechTr', 
0019     #                      'IsoEGQ',  'NoIsoEGQ',    'CenJetQ',   'ForJetQ', 
0020     #                     'TauJetQ',    'ESumsQ',        'HfQ',      'Free', 
0021     #                        'Free',      'Free',       'Free',      'Free', 
0022     #                        'MQF4',      'MQF3',       'MQB2',      'MQB1', 
0023     #                        'MQF8',      'MQF7',       'MQB6',      'MQB5', 
0024     #                       'MQF12',     'MQF11',      'MQB10',      'MQB9'),
0025     
0026     # for vector<bool> use: 1 for True and 0 for false
0027     PsbSetup = cms.VPSet(
0028                          cms.PSet(
0029                                   Slot = cms.int32(9),
0030                                   Ch0SendLvds = cms.bool(True),
0031                                   Ch1SendLvds = cms.bool(True),
0032                                   EnableRecLvds = cms.vuint32(
0033                                            1, 1, 1, 1, 
0034                                            1, 1, 1, 1,
0035                                            1, 1, 1, 1,
0036                                            1, 1, 1, 1),
0037                                   EnableRecSerLink = cms.vuint32(
0038                                            0, 0, 
0039                                            0, 0,
0040                                            0, 0,
0041                                            0, 0)                                   
0042                                   ), 
0043                          cms.PSet(
0044                                   Slot = cms.int32(13),
0045                                   Ch0SendLvds = cms.bool(False),
0046                                   Ch1SendLvds = cms.bool(False),
0047                                   EnableRecLvds = cms.vuint32(
0048                                            0, 0, 0, 0,
0049                                            0, 0, 0, 0,
0050                                            0, 0, 0, 0,
0051                                            0, 0, 0, 0),
0052                                   EnableRecSerLink = cms.vuint32(
0053                                            1, 1, 
0054                                            1, 1,
0055                                            1, 1,
0056                                            1, 1)                                   
0057                                   ),                                  
0058                          cms.PSet(
0059                                   Slot = cms.int32(14),
0060                                   Ch0SendLvds = cms.bool(False),
0061                                   Ch1SendLvds = cms.bool(False),
0062                                   EnableRecLvds = cms.vuint32(
0063                                            0, 0, 0, 0,
0064                                            0, 0, 0, 0,
0065                                            0, 0, 0, 0,
0066                                            0, 0, 0, 0),
0067                                   EnableRecSerLink = cms.vuint32(
0068                                            1, 1, 
0069                                            1, 1,
0070                                            1, 1,
0071                                            1, 1)                                   
0072                                   ),
0073                          cms.PSet(
0074                                   Slot = cms.int32(15),
0075                                   Ch0SendLvds = cms.bool(True),
0076                                   Ch1SendLvds = cms.bool(True),
0077                                   EnableRecLvds = cms.vuint32(
0078                                            1, 1, 1, 1, 
0079                                            1, 1, 1, 1,
0080                                            1, 1, 1, 1,
0081                                            1, 1, 1, 1),
0082                                   EnableRecSerLink = cms.vuint32(
0083                                            0, 0, 
0084                                            0, 0,
0085                                            0, 0,
0086                                            0, 0)                                   
0087                                   ),
0088                          cms.PSet(
0089                                   Slot = cms.int32(19),
0090                                   Ch0SendLvds = cms.bool(False),
0091                                   Ch1SendLvds = cms.bool(False),
0092                                   EnableRecLvds = cms.vuint32(
0093                                            0, 0, 0, 0,
0094                                            0, 0, 0, 0,
0095                                            0, 0, 0, 0,
0096                                            0, 0, 0, 0),
0097                                   EnableRecSerLink = cms.vuint32(
0098                                            0, 0, 
0099                                            0, 0,
0100                                            0, 0,
0101                                            0, 0)                                   
0102                                   ),
0103                          cms.PSet(
0104                                   Slot = cms.int32(20),
0105                                   Ch0SendLvds = cms.bool(False),
0106                                   Ch1SendLvds = cms.bool(False),
0107                                   EnableRecLvds = cms.vuint32(
0108                                            0, 0, 0, 0,
0109                                            0, 0, 0, 0,
0110                                            0, 0, 0, 0,
0111                                            0, 0, 0, 0),
0112                                   EnableRecSerLink = cms.vuint32(
0113                                            0, 0, 
0114                                            0, 0,
0115                                            0, 0,
0116                                            0, 0)                                   
0117                                   ),
0118                          cms.PSet(
0119                                   Slot = cms.int32(21),
0120                                   Ch0SendLvds = cms.bool(False),
0121                                   Ch1SendLvds = cms.bool(False),
0122                                   EnableRecLvds = cms.vuint32(
0123                                            0, 0, 0, 0,
0124                                            0, 0, 0, 0,
0125                                            0, 0, 0, 0,
0126                                            0, 0, 0, 0),
0127                                   EnableRecSerLink = cms.vuint32(
0128                                            0, 0, 
0129                                            0, 0,
0130                                            0, 0,
0131                                            0, 0)                                   
0132                                   )
0133                         ) 
0134     
0135 )
0136 
0137