/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/parser/Hardroc2LabviewReader.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 
00003 #ifndef HARDROC2LABVIEWREADER_HH
00004 #define HARDROC2LABVIEWREADER_HH
00005 
00006 //////////////////////////////////////////////////////////////////////////
00007 //                                                                      //
00008 // Hardroc2LabviewReader  for MICROMEGAS READOUT                                     //
00009 // From Labview and Crossdaq DAQ
00010 //                                                                      //
00011 //////////////////////////////////////////////////////////////////////////
00012 
00013 #include "mTypes.h"
00014 #include "Hardroc2Reader.hh"
00015 
00016 #define LABVIEWHR2 "labviewHR2"
00017 
00018 class Run;
00019 class Event;
00020 class Detector;
00021 
00022 #include <set>
00023 
00024 //////////////////////////////////////////////////////////////////////////
00025 ///     CLASS DATAREADER                                                //
00026 //////////////////////////////////////////////////////////////////////////
00027 class Hardroc2LabviewReader : public Hardroc2Reader {
00028   public:
00029     Hardroc2LabviewReader(Run& aRun, FILE *aFile, ui32 lastEventId);
00030     ~Hardroc2LabviewReader();
00031     static const char *type(const int subtype = 0) { return LABVIEWHR2; };
00032 
00033     int getScData();
00034     int getNextEvent(Event& eventToFill) ;
00035     int getAcqData(Event& event) ;
00036 
00037 
00038 }; // class Hardroc2LabviewReader
00039 
00040 #endif
00041 

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