/[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 6.4 by mocchiut, Mon Nov 20 08:58:04 2006 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Author: nagni $   * $Author: pam-rm2 $
3   * $Date: 2004/03/16 10:18:28 $   * $Date: 2006/08/23 14:39:44 $
4   * $Revision: 1.6 $   * $Revision: 6.3 $
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   */   */
# Line 34  namespace pamela { Line 34  namespace pamela {
34         * The Run that is processed.         * The Run that is processed.
35         */         */
36        TechmodelPamelaRun *Run; //!        TechmodelPamelaRun *Run; //!
37        int  UnpackPscuHeader(void) throw (std::exception);        void UnpackPscuHeader(void) throw (WrongCRCHeaderException, LengthException, BackwardCounterException);
38        void UnpackPscuTrailer(void) throw (std::exception);        void UnpackPscuTrailer(void) throw (std::exception);
39      public:  
40        EventReader(void);        /**
41            maxPackets define the maximum number of packets
42            the user wants to get from the raw file.
43            By default is initialized to -1 (no limit)
44          */
45          static unsigned int maxPackets;
46    
47          /**
48            prevPckCounter and prevPckOBT are used to check the
49            integrity of the raw file stream
50          */
51          static unsigned int prevPckCounter;
52          static unsigned int prevPckOBT;
53          std::stringstream oss;
54          ofstream corruptedPacketFile;
55          unsigned int fPL;
56          bool jgood;
57          bool notfirst;
58    
59          public:
60          //EventReader(void);
61          EventReader(int);
62        virtual void Init(PamelaRun *);        virtual void Init(PamelaRun *);
63        virtual void RunEvent(int);        virtual void RunEvent(int);
64        virtual std::string GetVersionInfo(void) const;        virtual std::string GetVersionInfo(void) const;
65        virtual int FindStart(void) throw (std::exception);        virtual bool FindStart(void) throw (std::exception);
66          int archiveCorruptedPacket(long int, long int);
67        ClassDef(EventReader, 1)        ClassDef(EventReader, 1)
68      };      };
69    }    }

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

  ViewVC Help
Powered by ViewVC 1.1.23