CMS 3D CMS Logo

EcalTBDaqFile.h

Go to the documentation of this file.
00001 #ifndef EcalTBDaqFile_H
00002 #define EcalTBDaqFile_H
00003 
00004 #include "IORawData/EcalTBInputService/src/EcalTBDaqFileReader.h"
00005 
00006 using namespace std;
00007 
00008 
00009 class EcalTBDaqFile  {
00010 
00011  public:
00012 
00014   EcalTBDaqFile() {};
00016   virtual ~EcalTBDaqFile() {};
00017 
00018   //Check if the position in file is EOF
00019   virtual bool checkEndOfFile() { return true; } 
00020 
00021   //Seek in the file for the event 
00022   virtual bool getEventData(FedDataPair& data) { return false; };
00023 
00024   virtual void close() {};
00025  protected:
00026 
00027   //static const int maxEventSizeInBytes_=42640;
00028   static const int maxEventSizeInBytes_=100000;
00029   static const int EOE_=10;
00030   static const int BOE_=5;
00031 };
00032 #endif

Generated on Tue Jun 9 17:39:24 2009 for CMSSW by  doxygen 1.5.4