1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/08/20 15:01:42 $ |
* $Date: 2004/12/03 22:08:00 $ |
4 |
* $Revision: 1.2 $ |
* $Revision: 2.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" |
11 |
|
#include "Exception.h" |
12 |
|
|
13 |
namespace pamela { |
namespace pamela { |
14 |
namespace techmodel { |
namespace techmodel { |
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 |
|
|
41 |
/** |
/** |
51 |
*/ |
*/ |
52 |
static unsigned int prevPckCounter; |
static unsigned int prevPckCounter; |
53 |
static unsigned int prevPckOBT; |
static unsigned int prevPckOBT; |
54 |
public: |
std::stringstream oss; |
55 |
|
public: |
56 |
//EventReader(void); |
//EventReader(void); |
57 |
EventReader(int); |
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; |
61 |
virtual int FindStart(void) throw (std::exception); |
virtual bool FindStart(void) throw (std::exception); |
62 |
ClassDef(EventReader, 1) |
ClassDef(EventReader, 1) |
63 |
}; |
}; |
64 |
} |
} |