/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/parser/DiracLabview.hh

Go to the documentation of this file.
00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */
00002 #ifndef DIRACLABVIEW_HH
00003 #define DIRACLABVIEW_HH
00004 
00005 //////////////////////////////////////////////////////////////////////////
00006 //                                                                      //
00007 // DiracLabview  for MICROMEGAS READOUT                                     //
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 ///     CLASS DATAREADER                                                //
00029 //////////////////////////////////////////////////////////////////////////
00030 //class DiracLabview : public AcquisitionParser {
00031 class DiracLabview : public DifReader {
00032 
00033 public:
00034   DiracLabview(Run& aRun, FILE* aFile, ui32 firstEventId);
00035   virtual ~DiracLabview();  // Un destucteur virtuel permet d'apple le destructeur de la classe derivee
00036   static const char *type(const int subtype = 0) { return DIRACCALIB;};
00037   int getNextEvent(Event& eventToFill);
00038 
00039 //------ methods --------//
00040 
00041 
00042 // ------ data member -------//
00043 protected:
00044 
00045 private:
00046     bool newConfig;
00047 };
00048 
00049 #endif
00050 

Generated on Mon Jan 7 13:15:20 2013 for MicromegasFramework by  doxygen 1.4.7