00001 // $Id: RPCWheelMap.h,v 1.3 2009/05/26 17:40:37 aosorio Exp $ 00002 #ifndef RPCWHEELMAP_H 00003 #define RPCWHEELMAP_H 1 00004 00005 // Include files 00006 #include "L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h" 00007 #include <bitset> 00008 00015 class RPCWheelMap { 00016 public: 00018 RPCWheelMap( ) {}; 00019 00020 RPCWheelMap( int ); 00021 00022 virtual ~RPCWheelMap( ); 00023 00024 void addHit( int , int , int ); 00025 00026 void prepareData(); 00027 00028 int wheelid() { return m_wheelid; }; 00029 00030 int wheelIdx() { return (m_wheelid+2); }; 00031 00032 TTUInput * m_ttuinVec; 00033 00034 protected: 00035 00036 private: 00037 00038 int m_bx; 00039 int m_wheelid; 00040 int m_maxBx; 00041 int m_maxSectors; 00042 int m_maxBxWindow; 00043 00044 std::bitset<6> * m_wheelMap; 00045 std::bitset<6> * m_wheelMapBx; 00046 00047 bool m_debug; 00048 00049 }; 00050 #endif // RPCWHEELMAP_H