• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

onlinemonitor/spadicV10monitor/TSpadicV10Source.h (r4864/r3180)

Go to the documentation of this file.
00001 #ifndef TSPADICV10SOURCE_H
00002 #define TSPADICV10SOURCE_H
00003 
00004 #include "TGo4EventSource.h"
00005 
00006 #include "sp605/Board.h"
00007 #include <fstream>
00008 
00009 class TGo4UserSourceParameter;
00010 
00016 class TSpadicV10Source : public TGo4EventSource {
00017   public:
00018 
00019     TSpadicV10Source();
00020 
00021     TSpadicV10Source(TGo4UserSourceParameter* par);
00022 
00023     virtual ~TSpadicV10Source();
00024 
00026     Int_t Close();
00027 
00029     Int_t Open();
00030 
00031     virtual Bool_t CheckEventClass(TClass* cl);
00032 
00034     virtual Bool_t BuildEvent(TGo4EventElement* dest);
00035 
00036   private:
00037     Bool_t fbIsOpen;
00038 
00040     std::ifstream* fxFile; 
00041 
00042     TString fArg;
00043 
00044     sp605::Board* fBoard;
00045 
00046     Int_t fFullId; // roc number and format type, coded into mbs subevent fullid
00047 
00048   ClassDef(TSpadicV10Source,1)
00049 };
00050 
00051 #endif //TGO4MBSRANDOM_H

Generated on Tue Dec 10 2013 04:52:23 for ROCsoft by  doxygen 1.7.1