1 |
/** @file |
/** @file |
2 |
* $Author: nagni $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/03/16 10:18:28 $ |
* $Date: 2004/09/21 20:24:33 $ |
4 |
* $Revision: 1.6 $ |
* $Revision: 1.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 |
*/ |
*/ |
36 |
TechmodelPamelaRun *Run; //! |
TechmodelPamelaRun *Run; //! |
37 |
int UnpackPscuHeader(void) throw (std::exception); |
int UnpackPscuHeader(void) throw (std::exception); |
38 |
void UnpackPscuTrailer(void) throw (std::exception); |
void UnpackPscuTrailer(void) throw (std::exception); |
39 |
|
|
40 |
|
/** |
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 |
public: |
public: |
54 |
EventReader(void); |
//EventReader(void); |
55 |
|
EventReader(int); |
56 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |
57 |
virtual void RunEvent(int); |
virtual void RunEvent(int); |
58 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |