00001 #ifndef DIRACLABVIEW_HH
00002 #define DIRACLABVIEW_HH
00003
00004
00005
00006
00007
00008
00009
00010 #include "SteerDesc.hh"
00011
00012 #include "mTypes.h"
00013 #include <stdlib.h>
00014 #define DIRACLABVIEW "diraclabview"
00015 #define NB_EVENT_DUMP 8
00016 #define NB_CHANNELS 64
00017 #include <string>
00018 class Event;
00019 class Detector;
00020
00021
00022
00023
00024 class DiracLabview {
00025
00026
00027 public:
00028 virtual ~DiracLabview() ;
00029 static int getNextEvent(Event& eventToFill, FILE* currentFile,const Detector& aDet, i32 lastEventId);
00030
00031
00032
00033 private:
00034 DiracLabview();
00035 static int parse(Event& event, FILE* inputFile, const Detector& aDet, i32& lastEventId);
00036
00037
00038 protected:
00039 };
00040
00041 #endif
00042