00001 // $Id: TTUWedgeORLogic.h,v 1.3 2009/10/26 12:52:15 aosorio Exp $ 00002 #ifndef INTERFACE_TTUWEDGEORLOGIC_H 00003 #define INTERFACE_TTUWEDGEORLOGIC_H 1 00004 00005 // Include files 00006 #include "L1Trigger/RPCTechnicalTrigger/interface/TTULogic.h" 00007 #include "L1Trigger/RPCTechnicalTrigger/interface/TTUInput.h" 00008 00009 #include <iostream> 00010 #include <vector> 00011 #include <map> 00012 00019 class TTUWedgeORLogic : public TTULogic { 00020 public: 00022 TTUWedgeORLogic( ); 00023 00024 virtual ~TTUWedgeORLogic( ); 00025 00026 bool process( const TTUInput & ); 00027 00028 void setBoardSpecs( const TTUBoardSpecs::TTUBoardConfig & ); 00029 00030 protected: 00031 00032 private: 00033 00034 bool m_debug; 00035 00036 int m_maxsectors; 00037 00038 int m_maxwedges; 00039 00040 std::map< int, int> m_wheelMajority; 00041 00042 //std::vector<int> m_wedgeSector; 00043 00044 std::map<int,int> m_wedgeSector; 00045 00046 }; 00047 #endif // INTERFACE_TTUWEDGEORLOGIC_H