/[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 4.0 by kusanagi, Sun Mar 6 04:33:02 2005 UTC revision 6.2 by kusanagi, Wed Aug 16 13:15:23 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: kusanagi $   * $Author: kusanagi $
3   * $Date: 2005/03/04 15:54:11 $   * $Date: 2006/04/05 07:30:54 $
4   * $Revision: 3.0 $   * $Revision: 6.1 $
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"
 #include "Exception.h"  
11    
12  namespace pamela {  namespace pamela {
13    namespace techmodel {    namespace techmodel {
# Line 35  namespace pamela { Line 34  namespace pamela {
34         * The Run that is processed.         * The Run that is processed.
35         */         */
36        TechmodelPamelaRun *Run; //!        TechmodelPamelaRun *Run; //!
37        void UnpackPscuHeader(void) throw (WrongCRCHeaderException, LengthException);        void UnpackPscuHeader(void) throw (WrongCRCHeaderException, LengthException, BackwardCounterException);
38          void UnpackPscuHeader(unsigned char*) throw (WrongCRCHeaderException, LengthException, BackwardCounterException);
39        void UnpackPscuTrailer(void) throw (std::exception);        void UnpackPscuTrailer(void) throw (std::exception);
40    
41        /**        /**
# Line 52  namespace pamela { Line 52  namespace pamela {
52        static unsigned int prevPckCounter;        static unsigned int prevPckCounter;
53        static unsigned int prevPckOBT;        static unsigned int prevPckOBT;
54        std::stringstream oss;        std::stringstream oss;
55          ofstream corruptedPacketFile;
56        public:        public:
57        //EventReader(void);        //EventReader(void);
58        EventReader(int);        EventReader(int);
59        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
60        virtual void RunEvent(int);        virtual void RunEvent(int);
61        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
62        virtual bool FindStart(void) throw (std::exception);        virtual bool FindStart(unsigned char*, long) throw (std::exception);
63          int archiveCorruptedPacket(long int, long int);
64        ClassDef(EventReader, 1)        ClassDef(EventReader, 1)
65      };      };
66    }    }

Legend:
Removed from v.4.0  
changed lines
  Added in v.6.2

  ViewVC Help
Powered by ViewVC 1.1.23