1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: Maurizio Nagni $ |
3 |
* $Date: 2004/09/21 20:24:33 $ |
* $Date: 2005/08/29 09:46:13 $ |
4 |
* $Revision: 1.3 $ |
* $Revision: 5.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 |
*/ |
*/ |
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 |
|
|
40 |
/** |
/** |
50 |
*/ |
*/ |
51 |
static unsigned int prevPckCounter; |
static unsigned int prevPckCounter; |
52 |
static unsigned int prevPckOBT; |
static unsigned int prevPckOBT; |
53 |
public: |
std::stringstream oss; |
54 |
|
public: |
55 |
//EventReader(void); |
//EventReader(void); |
56 |
EventReader(int); |
EventReader(int); |
57 |
virtual void Init(PamelaRun *); |
virtual void Init(PamelaRun *); |
58 |
virtual void RunEvent(int); |
virtual void RunEvent(int); |
59 |
virtual std::string GetVersionInfo(void) const; |
virtual std::string GetVersionInfo(void) const; |
60 |
virtual int FindStart(void) throw (std::exception); |
virtual bool FindStart(void) throw (std::exception); |
61 |
ClassDef(EventReader, 1) |
ClassDef(EventReader, 1) |
62 |
}; |
}; |
63 |
} |
} |