00001 // $Id: RBCPatternLogic.h,v 1.2 2009/06/07 21:18:50 aosorio Exp $ 00002 #ifndef RBCPATTERNLOGIC_H 00003 #define RBCPATTERNLOGIC_H 1 00004 00005 // Include files 00006 #include "L1Trigger/RPCTechnicalTrigger/interface/RBCLogic.h" 00007 #include "L1Trigger/RPCTechnicalTrigger/interface/RBCInput.h" 00008 00009 #include <iostream> 00010 00020 class RBCPatternLogic : public RBCLogic { 00021 public: 00023 RBCPatternLogic( ); 00024 00025 virtual ~RBCPatternLogic( ); 00026 00027 void process(const RBCInput & , std::bitset<2> & ); 00028 00029 void setBoardSpecs( const RBCBoardSpecs::RBCBoardConfig & ); 00030 00031 std::bitset<6> * getlayersignal( int _idx ) { return &m_testlayer[_idx];}; 00032 00033 protected: 00034 00035 private: 00036 00037 std::bitset<6> m_testlayer[2]; 00038 00039 }; 00040 #endif // RBCPATTERNLOGIC_H