![]() |
|
|||
File indexing completed on 2023-03-17 11:11:25
0001 //------------------------------------------------- 0002 // 0003 // Class: L1MuGMTLFSortRankEtaPhiLUT 0004 // 0005 // 0006 // 0007 // Author : 0008 // H. Sakulin HEPHY Vienna 0009 // 0010 // Migrated to CMSSW: 0011 // I. Mikulec 0012 // 0013 //-------------------------------------------------- 0014 0015 //----------------------- 0016 // This Class's Header -- 0017 //----------------------- 0018 #include "L1Trigger/GlobalMuonTrigger/src/L1MuGMTLFSortRankEtaPhiLUT.h" 0019 0020 //--------------- 0021 // C++ Headers -- 0022 //--------------- 0023 0024 //------------------------------- 0025 // Collaborating Class Headers -- 0026 //------------------------------- 0027 0028 //------------------- 0029 // InitParameters -- 0030 //------------------- 0031 0032 void L1MuGMTLFSortRankEtaPhiLUT::InitParameters() {} 0033 0034 //-------------------------------------------------------------------------------- 0035 // Sort Rank LUT, Eta-Phi part 0036 // 0037 // This LUT determines the dependency of the sort rank on Eta and Phi. 0038 // It can be used to lower the rank of or to disable muons in certain 0039 // hot detector regions 0040 // 0041 // Inputs: eta(6 bit) and phi(8 bit) 0042 // Outputs: Rank contribution 2-bit 0043 // 0044 // 0045 // 0046 // PROPOSAL FOR PROGRAMMING 0047 // 0048 // 00 Reduce below all other: rank += 0 0049 // 01 Reduce by half scale: rank += 64 0050 // 10 Normal operation: rank += 128 0051 // 11 Switch off: rank = 0 0052 // 0053 // Switched off muons (code 11 binary) will be disabled completely, also for the matchiing 0054 // by an additional disable-signal. 0055 // 0056 //-------------------------------------------------------------------------------- 0057 0058 unsigned L1MuGMTLFSortRankEtaPhiLUT::TheLookupFunction(int idx, unsigned eta, unsigned phi) const { 0059 // idx is DT, BRPC, CSC, FRPC 0060 // INPUTS: eta(6) phi(8) 0061 // OUTPUTS: rank_etaphi(2) 0062 0063 // by default return code 10 (binary) 0064 unsigned int rank_etaphi = 2; 0065 return rank_etaphi; 0066 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |