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

onlinemonitor/faspmonitor/TFaspSource.h (r4864/r3587)

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------
00002 //       The GSI Online Offline Object Oriented (Go4) Project
00003 //         Experiment Data Processing at EE department, GSI
00004 //-----------------------------------------------------------------------
00005 // Copyright (C) 2000- GSI Helmholtzzentrum f�r Schwerionenforschung GmbH
00006 //                     Planckstr. 1, 64291 Darmstadt, Germany
00007 // Contact:            http://go4.gsi.de
00008 //-----------------------------------------------------------------------
00009 // This software can be used under the license agreements as stated
00010 // in Go4License.txt file which is part of the distribution.
00011 //-----------------------------------------------------------------------
00013 // Event Source for Fasp data format
00014 // V 0.3 12-Jul-2011
00015 // Joern Adamczewski-Musch, GSI Darmstadt
00016 // j.adamczewski@gsi.de
00017 
00018 #ifndef _TFaspEVENTSOURCE_H_
00019 #define _TFaspEVENTSOURCE_H_
00020 
00021 #include "TGo4EventSource.h"
00022 #include <stdint.h>
00023 #include <stdio.h>
00024 
00025 #include "TGo4MbsEvent.h"
00026 
00027 #define Fasp_BUFSIZE 0x80000
00028 
00029 class TFaspRawEvent;
00030 class TGo4UserSourceParameter;
00031 
00032 
00033 class TFaspSource : public TGo4EventSource
00034 {
00035 public:
00036         TFaspSource();
00037 
00039         TFaspSource(const char* name, const char* args, Int_t port);
00040 
00042         TFaspSource(TGo4UserSourceParameter* par);
00043 
00044         virtual ~TFaspSource();
00045 
00047         virtual Int_t Open();
00048 
00050         virtual Int_t Close();
00051 
00053         virtual Bool_t CheckEventClass(TClass* cl);
00054 
00061         virtual Bool_t BuildEvent(TGo4EventElement* dest);
00062 
00063 private:
00064         Bool_t fbIsOpen;   
00065 
00067         FILE* fxFile;      
00068 
00069         ClassDef(TFaspSource, 1)
00070 };
00071 
00072 #endif

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