Go to the documentation of this file.00001 #ifndef TROCSOURCE_H
00002 #define TROCSOURCE_H
00003
00004 #include "TGo4EventSource.h"
00005
00006 #include "roc/Board.h"
00007
00008 class TGo4UserSourceParameter;
00009
00015 class TRocSource : public TGo4EventSource {
00016 public:
00017
00018 TRocSource();
00019
00020 TRocSource(TGo4UserSourceParameter* par);
00021
00022 virtual ~TRocSource();
00023
00025 Int_t Close();
00026
00028 Int_t Open();
00029
00030 virtual Bool_t CheckEventClass(TClass* cl);
00031
00033 virtual Bool_t BuildEvent(TGo4EventElement* dest);
00034
00035 private:
00036
00037 TString fArg;
00038
00039 roc::Board* fBoard;
00040
00041 Int_t fFullId;
00042
00043 ClassDef(TRocSource,1)
00044 };
00045
00046 #endif //TGO4MBSRANDOM_H