/[PAMELA software]/yoda/techmodel/EventReader.h
ViewVC logotype

Diff of /yoda/techmodel/EventReader.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 2.1 by kusanagi, Fri Dec 3 22:08:00 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: nagni $   * $Author: kusanagi $
3   * $Date: 2004/03/16 10:18:28 $   * $Date: 2004/09/21 20:50:54 $
4   * $Revision: 1.6 $   * $Revision: 2.0 $
5   *   *
6   * Header file for the algorithms used to read the techmodel data file.   * Header file for the algorithms used to read the techmodel data file.
7   */   */
8    
9  #include "TechmodelPamelaRun.h"  #include "TechmodelPamelaRun.h"
10  #include "TechmodelAlgorithm.h"  #include "TechmodelAlgorithm.h"
11    #include "Exception.h"
12    
13  namespace pamela {  namespace pamela {
14    namespace techmodel {    namespace techmodel {
# Line 34  namespace pamela { Line 35  namespace pamela {
35         * The Run that is processed.         * The Run that is processed.
36         */         */
37        TechmodelPamelaRun *Run; //!        TechmodelPamelaRun *Run; //!
38        int  UnpackPscuHeader(void) throw (std::exception);        void UnpackPscuHeader(void) throw (WrongCRCException, LengthException);
39        void UnpackPscuTrailer(void) throw (std::exception);        void UnpackPscuTrailer(void) throw (std::exception);
40      public:  
41        EventReader(void);        /**
42            maxPackets define the maximum number of packets
43            the user wants to get from the raw file.
44            By default is initialized to -1 (no limit)
45          */
46          static unsigned int maxPackets;
47    
48          /**
49            prevPckCounter and prevPckOBT are used to check the
50            integrity of the raw file stream
51          */
52          static unsigned int prevPckCounter;
53          static unsigned int prevPckOBT;
54          std::stringstream oss;
55          public:
56          //EventReader(void);
57          EventReader(int);
58        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
59        virtual void RunEvent(int);        virtual void RunEvent(int);
60        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;

Legend:
Removed from v.1.1  
changed lines
  Added in v.2.1

  ViewVC Help
Powered by ViewVC 1.1.23