CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/L1TriggerConfig/L1GtConfigProducers/python/l1GtBoardMaps_cfi.py

Go to the documentation of this file.
00001 #
00002 # cfi for various mappings of the L1 GT boards
00003 #
00004 
00005 import FWCore.ParameterSet.Config as cms
00006 
00007 l1GtBoardMaps = cms.ESProducer("L1GtBoardMapsTrivialProducer",
00008 
00009     # list of all boards in the L1 GT system
00010     # multiple boards must appear as many time as they exist in the system
00011     BoardList = cms.vstring(
00012         'GTFE', 
00013         'FDL', 
00014         'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 
00015         'GMT', 
00016         'TCS', 
00017         'TIM'),
00018 
00019     # board index - it starts with 0  
00020     BoardIndex = cms.vint32(
00021         0, 
00022         0, 
00023         0, 1, 2, 3, 4, 5, 6,
00024         0, 
00025         0, 
00026         0),
00027 
00028     # L1 GT DAQ record map
00029     # boards not in the record have negative index
00030     BoardPositionDaqRecord = cms.vint32(
00031          1, 
00032          2, 
00033          3, 4, 5, 6, 7, 8, 9, 
00034         10, 
00035         -1, 
00036         -1),
00037 
00038     # L1 GT EVM record map
00039     # boards not in the record have negative index
00040     BoardPositionEvmRecord = cms.vint32(
00041          1, 
00042          3, 
00043         -1, -1, -1, -1, -1, -1, -1,
00044         -1, 
00045          2, 
00046         -1),
00047 
00048     # L1 GT "active boards" map for DAQ record
00049     # boards not in the record have negative index
00050     ActiveBoardsDaqRecord = cms.vint32(
00051         -1, 
00052          0, 
00053          1, 2, 3, 4, 5, 6, 7, 
00054          8, 
00055         -1, 
00056         -1),
00057         
00058     # L1 GT "active boards" map for EVM record
00059     # boards not in the record have negative index
00060     ActiveBoardsEvmRecord = cms.vint32(
00061         -1, 
00062          1, 
00063         -1, -1, -1, -1, -1, -1, -1, 
00064         -1, 
00065          0,
00066         -1),
00067 
00068     # L1 GT board - slot map
00069     # boards not in the map have negative index
00070     BoardSlotMap = cms.vint32(
00071         17, 
00072         10, 
00073          9, 13, 14, 15, 19, 20, 21, 
00074         18, 
00075          7, 
00076         16),
00077         
00078     # L1 GT board name in hw record map
00079     # boards not in the map have negative index
00080       BoardHexNameMap = cms.vint32(
00081         0x00,
00082         0xfd, 
00083         0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb,
00084         0xdd,
00085         0xcc,
00086         0xad),
00087     
00088     # L1 quadruplet (4x16 bits)(cable) to PSB input map
00089     # see L1GlobalTriggerPSB::fillPsbBlock
00090     # summary
00091     #CableList = cms.vstring( N/A,        N/A,         N/A,      TTr_ch0/1,  // PSB_0 slot  9
00092     #                    CA1_ch6/7    CA2_ch4/5 ,  CA3_ch2/3,    CA4_ch0/1,  // PSB_1 slot 13
00093     #                    CA5_ch6/7    CA6_ch4/5 ,  CA7_ch2/3,    CA8_ch0/1,  // PSB_2 slot 14
00094     #                    N/A,         N/A,         CA9_ch2/3,   CA10_ch0/1,  // PSB_3 slot 15
00095     #                   MQF4_ch6/7,  MQF3_ch4/5,  MQB2_ch2/3,   MQB1_ch0/1,  // PSB_4 slot 19
00096     #                   MQF8_ch6/7,  MQF7_ch4/5,  MQB6_ch2/3,   MQB5_ch0/1,  // PSB_5 slot 20
00097     #                   MQF12_ch6/7,MQF11_ch4/5, MQB10_ch2/3,   MQB9_ch0/1   // PSB_6 slot 21
00098     #),
00099     CableList = cms.vstring('Free',      'Free',       'Free',    'TechTr', 
00100                           'IsoEGQ',  'NoIsoEGQ',    'CenJetQ',   'ForJetQ', 
00101                          'TauJetQ',    'ESumsQ',        'HfQ',      'Free', 
00102                             'Free',      'Free',       'Free',      'Free', 
00103                             'MQF4',      'MQF3',       'MQB2',      'MQB1', 
00104                             'MQF8',      'MQF7',       'MQB6',      'MQB5', 
00105                            'MQF12',     'MQF11',      'MQB10',      'MQB9'),
00106         
00107     # gives the mapping of cables to GT PSBs via PSB index
00108     # 4 infinicables per PSB 
00109     CableToPsbMap = cms.vint32(0, 0, 0, 0,
00110                                1, 1, 1, 1, 
00111                                2, 2, 2, 2, 
00112                                3, 3, 3, 3, 
00113                                4, 4, 4, 4, 
00114                                5, 5, 5, 5, 
00115                                6, 6, 6, 6),
00116     
00117     # detailed input configuration for PSB (objects pro channel) 
00118     PsbInput = cms.VPSet(
00119                          cms.PSet(
00120                                   Slot = cms.int32(9),
00121                                   Ch0 = cms.vstring('TechTrig'),
00122                                   Ch1 = cms.vstring('TechTrig'),
00123                                   Ch2 = cms.vstring(),
00124                                   Ch3 = cms.vstring(),
00125                                   Ch4 = cms.vstring(),
00126                                   Ch5 = cms.vstring(),
00127                                   Ch6 = cms.vstring(),
00128                                   Ch7 = cms.vstring()
00129                                   ), 
00130                          cms.PSet(
00131                                   Slot = cms.int32(13),
00132                                   Ch0 = cms.vstring('ForJet', 'ForJet'),
00133                                   Ch1 = cms.vstring('ForJet', 'ForJet'),
00134                                   Ch2 = cms.vstring('CenJet', 'CenJet'),
00135                                   Ch3 = cms.vstring('CenJet', 'CenJet'),
00136                                   Ch4 = cms.vstring('NoIsoEG', 'NoIsoEG'),
00137                                   Ch5 = cms.vstring('NoIsoEG', 'NoIsoEG'),
00138                                   Ch6 = cms.vstring('IsoEG', 'IsoEG'),
00139                                   Ch7 = cms.vstring('IsoEG', 'IsoEG')
00140                                   ),                                  
00141                          cms.PSet(
00142                                   Slot = cms.int32(14),
00143                                   Ch0 = cms.vstring(),
00144                                   Ch1 = cms.vstring(),
00145                                   Ch2 = cms.vstring('HfBitCounts', 'HfRingEtSums'),
00146                                   Ch3 = cms.vstring(),
00147                                   Ch4 = cms.vstring('ETT','HTT'),
00148                                   Ch5 = cms.vstring('ETM', 'ETM'),
00149                                   Ch6 = cms.vstring('TauJet', 'TauJet'),
00150                                   Ch7 = cms.vstring('TauJet', 'TauJet')
00151                                   ),
00152                          cms.PSet(
00153                                   Slot = cms.int32(15),
00154                                   Ch0 = cms.vstring(),
00155                                   Ch1 = cms.vstring(),
00156                                   Ch2 = cms.vstring(),
00157                                   Ch3 = cms.vstring(),
00158                                   Ch4 = cms.vstring(),
00159                                   Ch5 = cms.vstring(),
00160                                   Ch6 = cms.vstring(),
00161                                   Ch7 = cms.vstring()
00162                                   ),
00163                          cms.PSet(
00164                                   Slot = cms.int32(19),
00165                                   Ch0 = cms.vstring(),
00166                                   Ch1 = cms.vstring(),
00167                                   Ch2 = cms.vstring(),
00168                                   Ch3 = cms.vstring(),
00169                                   Ch4 = cms.vstring(),
00170                                   Ch5 = cms.vstring(),
00171                                   Ch6 = cms.vstring(),
00172                                   Ch7 = cms.vstring()
00173                                   ),
00174                          cms.PSet(
00175                                   Slot = cms.int32(20),
00176                                   Ch0 = cms.vstring(),
00177                                   Ch1 = cms.vstring(),
00178                                   Ch2 = cms.vstring(),
00179                                   Ch3 = cms.vstring(),
00180                                   Ch4 = cms.vstring(),
00181                                   Ch5 = cms.vstring(),
00182                                   Ch6 = cms.vstring(),
00183                                   Ch7 = cms.vstring()
00184                                   ),
00185                          cms.PSet(
00186                                   Slot = cms.int32(21),
00187                                   Ch0 = cms.vstring(),
00188                                   Ch1 = cms.vstring(),
00189                                   Ch2 = cms.vstring(),
00190                                   Ch3 = cms.vstring(),
00191                                   Ch4 = cms.vstring(),
00192                                   Ch5 = cms.vstring(),
00193                                   Ch6 = cms.vstring(),
00194                                   Ch7 = cms.vstring()
00195                                   )
00196                         ) 
00197     
00198 )
00199 
00200