00001 //------------------------------------------------- 00002 // 00018 // 00019 //-------------------------------------------------- 00020 #ifndef L1MUDT_SECTOR_RECEIVER_H 00021 #define L1MUDT_SECTOR_RECEIVER_H 00022 00023 //--------------- 00024 // C++ Headers -- 00025 //--------------- 00026 00027 #include <vector> 00028 00029 //---------------------- 00030 // Base Class Headers -- 00031 //---------------------- 00032 00033 //------------------------------------ 00034 // Collaborating Class Declarations -- 00035 //------------------------------------ 00036 00037 #include <DataFormats/Common/interface/Handle.h> 00038 #include <FWCore/Framework/interface/Event.h> 00039 class L1MuDTSectorProcessor; 00040 00041 // --------------------- 00042 // -- Class Interface -- 00043 // --------------------- 00044 00045 class L1MuDTSectorReceiver { 00046 00047 public: 00048 00050 L1MuDTSectorReceiver(L1MuDTSectorProcessor& ); 00051 00053 virtual ~L1MuDTSectorReceiver(); 00054 00056 void run(int bx, const edm::Event& e); 00057 00059 void reset(); 00060 00061 private: 00062 00064 void receiveDTBXData(int bx, const edm::Event& e); 00065 00067 void receiveCSCData(int bx, const edm::Event& e); 00068 00070 int address2sector(int adr) const; 00071 00073 int address2wheel(int adr) const; 00074 00075 private: 00076 00077 L1MuDTSectorProcessor& m_sp; 00078 00079 }; 00080 00081 #endif