CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/L1TriggerConfig/L1GtConfigProducers/python/l1GtPsbSetup_cfi.py

Go to the documentation of this file.
00001 #
00002 # cfi for the setup of L1 GT PSB boards.
00003 #
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 l1GtPsbSetup = cms.ESProducer("L1GtPsbSetupTrivialProducer",
00008 
00009     # actual input to PSB  - see l1GtBoardMaps_cfi.py
00010     #CableList = cms.vstring( N/A,        N/A,         N/A,      TTr_ch0/1,  // PSB_0 slot  9
00011     #                    CA1_ch6/7    CA2_ch4/5 ,  CA3_ch2/3,    CA4_ch0/1,  // PSB_1 slot 13
00012     #                    CA5_ch6/7    CA6_ch4/5 ,  CA7_ch2/3,    CA8_ch0/1,  // PSB_2 slot 14
00013     #                    N/A,         N/A,         CA9_ch2/3,   CA10_ch0/1,  // PSB_3 slot 15
00014     #                   MQF4_ch6/7,  MQF3_ch4/5,  MQB2_ch2/3,   MQB1_ch0/1,  // PSB_4 slot 19
00015     #                   MQF8_ch6/7,  MQF7_ch4/5,  MQB6_ch2/3,   MQB5_ch0/1,  // PSB_5 slot 20
00016     #                   MQF12_ch6/7,MQF11_ch4/5, MQB10_ch2/3,   MQB9_ch0/1   // PSB_6 slot 21
00017     #),
00018     #CableList = cms.vstring('Free',      'Free',       'Free',    'TechTr', 
00019     #                      'IsoEGQ',  'NoIsoEGQ',    'CenJetQ',   'ForJetQ', 
00020     #                     'TauJetQ',    'ESumsQ',        'HfQ',      'Free', 
00021     #                        'Free',      'Free',       'Free',      'Free', 
00022     #                        'MQF4',      'MQF3',       'MQB2',      'MQB1', 
00023     #                        'MQF8',      'MQF7',       'MQB6',      'MQB5', 
00024     #                       'MQF12',     'MQF11',      'MQB10',      'MQB9'),
00025     
00026     # for vector<bool> use: 1 for True and 0 for false
00027     PsbSetup = cms.VPSet(
00028                          cms.PSet(
00029                                   Slot = cms.int32(9),
00030                                   Ch0SendLvds = cms.bool(True),
00031                                   Ch1SendLvds = cms.bool(True),
00032                                   EnableRecLvds = cms.vuint32(
00033                                            1, 1, 1, 1, 
00034                                            1, 1, 1, 1,
00035                                            1, 1, 1, 1,
00036                                            1, 1, 1, 1),
00037                                   EnableRecSerLink = cms.vuint32(
00038                                            0, 0, 
00039                                            0, 0,
00040                                            0, 0,
00041                                            0, 0)                                   
00042                                   ), 
00043                          cms.PSet(
00044                                   Slot = cms.int32(13),
00045                                   Ch0SendLvds = cms.bool(False),
00046                                   Ch1SendLvds = cms.bool(False),
00047                                   EnableRecLvds = cms.vuint32(
00048                                            0, 0, 0, 0,
00049                                            0, 0, 0, 0,
00050                                            0, 0, 0, 0,
00051                                            0, 0, 0, 0),
00052                                   EnableRecSerLink = cms.vuint32(
00053                                            1, 1, 
00054                                            1, 1,
00055                                            1, 1,
00056                                            1, 1)                                   
00057                                   ),                                  
00058                          cms.PSet(
00059                                   Slot = cms.int32(14),
00060                                   Ch0SendLvds = cms.bool(False),
00061                                   Ch1SendLvds = cms.bool(False),
00062                                   EnableRecLvds = cms.vuint32(
00063                                            0, 0, 0, 0,
00064                                            0, 0, 0, 0,
00065                                            0, 0, 0, 0,
00066                                            0, 0, 0, 0),
00067                                   EnableRecSerLink = cms.vuint32(
00068                                            1, 1, 
00069                                            1, 1,
00070                                            1, 1,
00071                                            1, 1)                                   
00072                                   ),
00073                          cms.PSet(
00074                                   Slot = cms.int32(15),
00075                                   Ch0SendLvds = cms.bool(True),
00076                                   Ch1SendLvds = cms.bool(True),
00077                                   EnableRecLvds = cms.vuint32(
00078                                            1, 1, 1, 1, 
00079                                            1, 1, 1, 1,
00080                                            1, 1, 1, 1,
00081                                            1, 1, 1, 1),
00082                                   EnableRecSerLink = cms.vuint32(
00083                                            0, 0, 
00084                                            0, 0,
00085                                            0, 0,
00086                                            0, 0)                                   
00087                                   ),
00088                          cms.PSet(
00089                                   Slot = cms.int32(19),
00090                                   Ch0SendLvds = cms.bool(False),
00091                                   Ch1SendLvds = cms.bool(False),
00092                                   EnableRecLvds = cms.vuint32(
00093                                            0, 0, 0, 0,
00094                                            0, 0, 0, 0,
00095                                            0, 0, 0, 0,
00096                                            0, 0, 0, 0),
00097                                   EnableRecSerLink = cms.vuint32(
00098                                            0, 0, 
00099                                            0, 0,
00100                                            0, 0,
00101                                            0, 0)                                   
00102                                   ),
00103                          cms.PSet(
00104                                   Slot = cms.int32(20),
00105                                   Ch0SendLvds = cms.bool(False),
00106                                   Ch1SendLvds = cms.bool(False),
00107                                   EnableRecLvds = cms.vuint32(
00108                                            0, 0, 0, 0,
00109                                            0, 0, 0, 0,
00110                                            0, 0, 0, 0,
00111                                            0, 0, 0, 0),
00112                                   EnableRecSerLink = cms.vuint32(
00113                                            0, 0, 
00114                                            0, 0,
00115                                            0, 0,
00116                                            0, 0)                                   
00117                                   ),
00118                          cms.PSet(
00119                                   Slot = cms.int32(21),
00120                                   Ch0SendLvds = cms.bool(False),
00121                                   Ch1SendLvds = cms.bool(False),
00122                                   EnableRecLvds = cms.vuint32(
00123                                            0, 0, 0, 0,
00124                                            0, 0, 0, 0,
00125                                            0, 0, 0, 0,
00126                                            0, 0, 0, 0),
00127                                   EnableRecSerLink = cms.vuint32(
00128                                            0, 0, 
00129                                            0, 0,
00130                                            0, 0,
00131                                            0, 0)                                   
00132                                   )
00133                         ) 
00134     
00135 )
00136 
00137