/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/parser/DifSynchroReader.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 DIFSYNCHROREADER_HH
00004 #define DIFSYNCHROREADER_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 DIFSYNCRO "difSynchro"
00017 
00018 class Run;
00019 class Event;
00020 class Detector;
00021 
00022 #include <set>
00023 
00024 //////////////////////////////////////////////////////////////////////////
00025 ///     CLASS DATAREADER                                                //
00026 //////////////////////////////////////////////////////////////////////////
00027 class DifSynchroReader : public Hardroc2Reader {
00028   public:
00029     DifSynchroReader(Run& aRun, FILE *aFile, ui32 lastEventId);
00030     ~DifSynchroReader();
00031     static const char *type(const int subtype = 0) { return DIFSYNCRO; };
00032 
00033     int getScData();
00034     int getNextEvent(Event& eventToFill) ;
00035     int getAcqData(Event& event) ;
00036 
00037   private:
00038         bool scFound ;
00039 
00040 
00041 }; // class Hardroc2LabviewReader
00042 
00043 #endif
00044 

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