00001
00002 #ifndef DIRACLABVIEW_HH
00003 #define DIRACLABVIEW_HH
00004
00005
00006
00007
00008
00009
00010
00011 #include "tools/SteerDesc.hh"
00012 #include "parser/DifReader.hh"
00013 #include "mTypes.h"
00014
00015 #include <stdlib.h>
00016 #include <string>
00017
00018
00019 #define DIRACCALIB "calibDirac"
00020 #define NB_EVENT_DUMP 8
00021 #define NB_CHANNELS 64
00022
00023 class Run;
00024 class Event;
00025 class Detector;
00026
00027
00028
00029
00030
00031 class DiracLabview : public DifReader {
00032
00033 public:
00034 DiracLabview(Run& aRun, FILE* aFile, ui32 firstEventId);
00035 virtual ~DiracLabview();
00036 static const char *type(const int subtype = 0) { return DIRACCALIB;};
00037 int getNextEvent(Event& eventToFill);
00038
00039
00040
00041
00042
00043 protected:
00044
00045 private:
00046 bool newConfig;
00047 };
00048
00049 #endif
00050