Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #
0002 # cfi for various mappings of the L1 GT boards
0003 #
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 l1GtBoardMaps = cms.ESProducer("L1GtBoardMapsTrivialProducer",
0008 
0009     # list of all boards in the L1 GT system
0010     # multiple boards must appear as many time as they exist in the system
0011     BoardList = cms.vstring(
0012         'GTFE', 
0013         'FDL', 
0014         'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 'PSB', 
0015         'GMT', 
0016         'TCS', 
0017         'TIM'),
0018 
0019     # board index - it starts with 0  
0020     BoardIndex = cms.vint32(
0021         0, 
0022         0, 
0023         0, 1, 2, 3, 4, 5, 6,
0024         0, 
0025         0, 
0026         0),
0027 
0028     # L1 GT DAQ record map
0029     # boards not in the record have negative index
0030     BoardPositionDaqRecord = cms.vint32(
0031          1, 
0032          2, 
0033          3, 4, 5, 6, 7, 8, 9, 
0034         10, 
0035         -1, 
0036         -1),
0037 
0038     # L1 GT EVM record map
0039     # boards not in the record have negative index
0040     BoardPositionEvmRecord = cms.vint32(
0041          1, 
0042          3, 
0043         -1, -1, -1, -1, -1, -1, -1,
0044         -1, 
0045          2, 
0046         -1),
0047 
0048     # L1 GT "active boards" map for DAQ record
0049     # boards not in the record have negative index
0050     ActiveBoardsDaqRecord = cms.vint32(
0051         -1, 
0052          0, 
0053          1, 2, 3, 4, 5, 6, 7, 
0054          8, 
0055         -1, 
0056         -1),
0057         
0058     # L1 GT "active boards" map for EVM record
0059     # boards not in the record have negative index
0060     ActiveBoardsEvmRecord = cms.vint32(
0061         -1, 
0062          1, 
0063         -1, -1, -1, -1, -1, -1, -1, 
0064         -1, 
0065          0,
0066         -1),
0067 
0068     # L1 GT board - slot map
0069     # boards not in the map have negative index
0070     BoardSlotMap = cms.vint32(
0071         17, 
0072         10, 
0073          9, 13, 14, 15, 19, 20, 21, 
0074         18, 
0075          7, 
0076         16),
0077         
0078     # L1 GT board name in hw record map
0079     # boards not in the map have negative index
0080       BoardHexNameMap = cms.vint32(
0081         0x00,
0082         0xfd, 
0083         0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb,
0084         0xdd,
0085         0xcc,
0086         0xad),
0087     
0088     # L1 quadruplet (4x16 bits)(cable) to PSB input map
0089     # see L1GlobalTriggerPSB::fillPsbBlock
0090     # summary
0091     #CableList = cms.vstring( N/A,        N/A,         N/A,      TTr_ch0/1,  // PSB_0 slot  9
0092     #                    CA1_ch6/7    CA2_ch4/5 ,  CA3_ch2/3,    CA4_ch0/1,  // PSB_1 slot 13
0093     #                    CA5_ch6/7    CA6_ch4/5 ,  CA7_ch2/3,    CA8_ch0/1,  // PSB_2 slot 14
0094     #                    N/A,         N/A,         CA9_ch2/3,   CA10_ch0/1,  // PSB_3 slot 15
0095     #                   MQF4_ch6/7,  MQF3_ch4/5,  MQB2_ch2/3,   MQB1_ch0/1,  // PSB_4 slot 19
0096     #                   MQF8_ch6/7,  MQF7_ch4/5,  MQB6_ch2/3,   MQB5_ch0/1,  // PSB_5 slot 20
0097     #                   MQF12_ch6/7,MQF11_ch4/5, MQB10_ch2/3,   MQB9_ch0/1   // PSB_6 slot 21
0098     #),
0099     CableList = cms.vstring('Free',      'Free',       'Free',    'TechTr', 
0100                           'IsoEGQ',  'NoIsoEGQ',    'CenJetQ',   'ForJetQ', 
0101                          'TauJetQ',    'ESumsQ',        'HfQ',      'Free', 
0102                             'Free',      'Free',       'Free',      'Free', 
0103                             'MQF4',      'MQF3',       'MQB2',      'MQB1', 
0104                             'MQF8',      'MQF7',       'MQB6',      'MQB5', 
0105                            'MQF12',     'MQF11',      'MQB10',      'MQB9'),
0106         
0107     # gives the mapping of cables to GT PSBs via PSB index
0108     # 4 infinicables per PSB 
0109     CableToPsbMap = cms.vint32(0, 0, 0, 0,
0110                                1, 1, 1, 1, 
0111                                2, 2, 2, 2, 
0112                                3, 3, 3, 3, 
0113                                4, 4, 4, 4, 
0114                                5, 5, 5, 5, 
0115                                6, 6, 6, 6),
0116     
0117     # detailed input configuration for PSB (objects pro channel) 
0118     PsbInput = cms.VPSet(
0119                          cms.PSet(
0120                                   Slot = cms.int32(9),
0121                                   Ch0 = cms.vstring('TechTrig'),
0122                                   Ch1 = cms.vstring('TechTrig'),
0123                                   Ch2 = cms.vstring(),
0124                                   Ch3 = cms.vstring(),
0125                                   Ch4 = cms.vstring(),
0126                                   Ch5 = cms.vstring(),
0127                                   Ch6 = cms.vstring(),
0128                                   Ch7 = cms.vstring()
0129                                   ), 
0130                          cms.PSet(
0131                                   Slot = cms.int32(13),
0132                                   Ch0 = cms.vstring('ForJet', 'ForJet'),
0133                                   Ch1 = cms.vstring('ForJet', 'ForJet'),
0134                                   Ch2 = cms.vstring('CenJet', 'CenJet'),
0135                                   Ch3 = cms.vstring('CenJet', 'CenJet'),
0136                                   Ch4 = cms.vstring('NoIsoEG', 'NoIsoEG'),
0137                                   Ch5 = cms.vstring('NoIsoEG', 'NoIsoEG'),
0138                                   Ch6 = cms.vstring('IsoEG', 'IsoEG'),
0139                                   Ch7 = cms.vstring('IsoEG', 'IsoEG')
0140                                   ),                                  
0141                          cms.PSet(
0142                                   Slot = cms.int32(14),
0143                                   Ch0 = cms.vstring(),
0144                                   Ch1 = cms.vstring(),
0145                                   Ch2 = cms.vstring('HfBitCounts', 'HfRingEtSums'),
0146                                   Ch3 = cms.vstring(),
0147                                   Ch4 = cms.vstring('ETT','HTT'),
0148                                   Ch5 = cms.vstring('ETM', 'ETM'),
0149                                   Ch6 = cms.vstring('TauJet', 'TauJet'),
0150                                   Ch7 = cms.vstring('TauJet', 'TauJet')
0151                                   ),
0152                          cms.PSet(
0153                                   Slot = cms.int32(15),
0154                                   Ch0 = cms.vstring(),
0155                                   Ch1 = cms.vstring(),
0156                                   Ch2 = cms.vstring(),
0157                                   Ch3 = cms.vstring(),
0158                                   Ch4 = cms.vstring(),
0159                                   Ch5 = cms.vstring(),
0160                                   Ch6 = cms.vstring(),
0161                                   Ch7 = cms.vstring()
0162                                   ),
0163                          cms.PSet(
0164                                   Slot = cms.int32(19),
0165                                   Ch0 = cms.vstring(),
0166                                   Ch1 = cms.vstring(),
0167                                   Ch2 = cms.vstring(),
0168                                   Ch3 = cms.vstring(),
0169                                   Ch4 = cms.vstring(),
0170                                   Ch5 = cms.vstring(),
0171                                   Ch6 = cms.vstring(),
0172                                   Ch7 = cms.vstring()
0173                                   ),
0174                          cms.PSet(
0175                                   Slot = cms.int32(20),
0176                                   Ch0 = cms.vstring(),
0177                                   Ch1 = cms.vstring(),
0178                                   Ch2 = cms.vstring(),
0179                                   Ch3 = cms.vstring(),
0180                                   Ch4 = cms.vstring(),
0181                                   Ch5 = cms.vstring(),
0182                                   Ch6 = cms.vstring(),
0183                                   Ch7 = cms.vstring()
0184                                   ),
0185                          cms.PSet(
0186                                   Slot = cms.int32(21),
0187                                   Ch0 = cms.vstring(),
0188                                   Ch1 = cms.vstring(),
0189                                   Ch2 = cms.vstring(),
0190                                   Ch3 = cms.vstring(),
0191                                   Ch4 = cms.vstring(),
0192                                   Ch5 = cms.vstring(),
0193                                   Ch6 = cms.vstring(),
0194                                   Ch7 = cms.vstring()
0195                                   )
0196                         ) 
0197     
0198 )
0199 
0200