00001 // $Id: RBCProcessTestSignal.h,v 1.1 2009/05/16 19:43:30 aosorio Exp $ 00002 #ifndef RBCPROCESSTESTSIGNAL_H 00003 #define RBCPROCESSTESTSIGNAL_H 1 00004 00005 00006 // Include files 00007 #include "L1Trigger/RPCTechnicalTrigger/interface/RBCInput.h" 00008 #include "L1Trigger/RPCTechnicalTrigger/interface/RPCInputSignal.h" 00009 #include "L1Trigger/RPCTechnicalTrigger/interface/ProcessInputSignal.h" 00010 00011 #include <stdlib.h> 00012 #include <iostream> 00013 #include <fstream> 00014 #include <ios> 00015 #include <cmath> 00016 00026 class RBCProcessTestSignal : public ProcessInputSignal { 00027 public: 00029 RBCProcessTestSignal( ) {}; 00030 00031 RBCProcessTestSignal( const char * ); 00032 00033 virtual ~RBCProcessTestSignal( ); 00034 00035 int next(); 00036 00037 void rewind(); 00038 00039 void showfirst(); 00040 00041 RPCInputSignal * retrievedata() { 00042 return m_lbin; 00043 }; 00044 00045 protected: 00046 00047 private: 00048 00049 std::ifstream * m_in; 00050 00051 RBCInput * m_input; 00052 00053 RPCInputSignal * m_lbin; 00054 00055 00056 }; 00057 #endif // RBCPROCESSTESTSIGNAL_H