Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:39

0001 #ifndef L1Trigger_RPCHalfSorter_h
0002 #define L1Trigger_RPCHalfSorter_h
0003 
0004 /** \class RPCHalfSorter
0005   * Emulates HalfSorter (currently both of them ;-) )
0006   * \author Tomasz Fruboes (based on code by Karol Bunkowski) 
0007   */
0008 
0009 #include "L1Trigger/RPCTrigger/interface/RPCTBMuon.h"
0010 #include "L1Trigger/RPCTrigger/interface/RPCTriggerConfiguration.h"
0011 
0012 #include <FWCore/Framework/interface/ESHandle.h>
0013 #include "CondFormats/L1TObjects/interface/L1RPCHsbConfig.h"
0014 //---------------------------------------------------------------------------
0015 
0016 class RPCHalfSorter {
0017 public:
0018   RPCHalfSorter(RPCTriggerConfiguration* triggerConfig);
0019 
0020   L1RpcTBMuonsVec2 runHalf(L1RpcTBMuonsVec2& tcsMuonsVec2);
0021 
0022   void maskHSBInput(L1RpcTBMuonsVec& newVec, int mask);
0023 
0024   L1RpcTBMuonsVec2 run(L1RpcTBMuonsVec2& tcsMuonsVec2, edm::ESHandle<L1RPCHsbConfig> hsbConf);
0025 
0026 private:
0027   L1RpcTBMuonsVec2 m_GBOutputMuons;
0028 
0029   RPCTriggerConfiguration* m_TrigCnfg;
0030   //m_GBOutputMuons[be][iMU] , be = 0 = barrel; be = 1 = endcap
0031 };
0032 #endif