Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:35

0001 #ifndef L1Trigger_RPCFinalSorter_h
0002 #define L1Trigger_RPCFinalSorter_h
0003 
0004 /** \class RPCFinalSorter
0005   * Emulates FinalSorter 
0006   * \author Karol Bunkowski (Warsaw)
0007   */
0008 
0009 #include "L1Trigger/RPCTrigger/interface/RPCTBMuon.h"
0010 #include "L1Trigger/RPCTrigger/interface/RPCTriggerConfiguration.h"
0011 //---------------------------------------------------------------------------
0012 
0013 class RPCFinalSorter {
0014 public:
0015   RPCFinalSorter(RPCTriggerConfiguration *triggerConfig);
0016 
0017   L1RpcTBMuonsVec2 runHalf(L1RpcTBMuonsVec2 &tcsMuonsVec2);
0018 
0019   //m_GBOutputMuons[be][iMU] , be = 0 = barrel; be = 1 = endcap
0020   //on input m_tower number (eta addr) continous (0 - 32, m_tower 0 = 16)
0021   //on output m_tower number (eta addr) 2'complement
0022 
0023   void runFinalSorter(L1RpcTBMuonsVec2 &finalMuons);
0024 
0025   //L1RpcTBMuonsVec2 run(L1RpcTBMuonsVec2 &tcsMuonsVec2);
0026   L1RpcTBMuonsVec2 run(L1RpcTBMuonsVec2 &tcsMuonsVec2);
0027 
0028 private:
0029   L1RpcTBMuonsVec2 m_GBOutputMuons;
0030 
0031   RPCTriggerConfiguration *m_TrigCnfg;
0032   //m_GBOutputMuons[be][iMU] , be = 0 = barrel; be = 1 = endcap
0033 };
0034 #endif