/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/parser/Centaure.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 CENTAURE_HH
00003 #define CENTAURE_HH
00004 
00005 //////////////////////////////////////////////////////////////////////////
00006 //                                                                      //
00007 // Centaure  for MICROMEGAS READOUT                                     //
00008 //                                                                      //
00009 //////////////////////////////////////////////////////////////////////////
00010 
00011 #include "tools/SteerDesc.hh"
00012 #include "parser/AcquisitionParser.hh"
00013 #include "mTypes.h"
00014 
00015 #include <stdlib.h>
00016 #include <string>
00017 
00018 
00019 #define CENTAURE "centaure"
00020 
00021 class Event;
00022 class Detector;
00023 
00024 //////////////////////////////////////////////////////////////////////////
00025 ///     CLASS DATAREADER                                                //
00026 //////////////////////////////////////////////////////////////////////////
00027 class Centaure : public AcquisitionParser {
00028 
00029 public:
00030   Centaure(Run& aRun, FILE *aFile, ui32 lastEventId);
00031   virtual ~Centaure() ;  // Un destucteur virtuel permet d'appeler le destructeur de la classe derivee
00032   static const char *type(const int subtype = 0) { return(CENTAURE); };
00033   int getNextEvent(Event& eventToFill);
00034 
00035 //------ methods --------//
00036 
00037 private:
00038     bool newConfig;
00039                 ui32 globalTriggerCounter;
00040 
00041 // ------ data member -------//
00042 protected:
00043 };
00044 
00045 #endif
00046 

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