--- yoda/techmodel/EventReader.h 2004/07/06 12:20:23 1.1.1.1 +++ yoda/techmodel/EventReader.h 2004/09/21 20:50:54 2.0 @@ -1,7 +1,7 @@ /** @file - * $Author: nagni $ - * $Date: 2004/03/16 10:18:28 $ - * $Revision: 1.6 $ + * $Author: kusanagi $ + * $Date: 2004/09/21 20:24:33 $ + * $Revision: 1.3 $ * * Header file for the algorithms used to read the techmodel data file. */ @@ -36,8 +36,23 @@ TechmodelPamelaRun *Run; //! int UnpackPscuHeader(void) throw (std::exception); void UnpackPscuTrailer(void) throw (std::exception); + + /** + maxPackets define the maximum number of packets + the user wants to get from the raw file. + By default is initialized to -1 (no limit) + */ + static unsigned int maxPackets; + + /** + prevPckCounter and prevPckOBT are used to check the + integrity of the raw file stream + */ + static unsigned int prevPckCounter; + static unsigned int prevPckOBT; public: - EventReader(void); + //EventReader(void); + EventReader(int); virtual void Init(PamelaRun *); virtual void RunEvent(int); virtual std::string GetVersionInfo(void) const;