Parent Directory | Revision Log
Error proof version. Implemented all detectors packets plus all the main telemetries packets. Missing all the Init and Alarm packets. Disabled CRC control on VarDump, ArrDump, TabDump for CPU debugging needs (the data formats seems correct even if CRC get wrong)
1 | kusanagi | 2.1 | /** @file |
2 | * $Author: kusanagi $ | ||
3 | kusanagi | 3.0 | * $Date: 2005/02/11 16:40:43 $ |
4 | * $Revision: 2.2 $ | ||
5 | kusanagi | 2.1 | * |
6 | * Header file for the algorithms used to read the techmodel tracker events. | ||
7 | */ | ||
8 | |||
9 | #ifndef S4_READER_H | ||
10 | #define S4_READER_H | ||
11 | |||
12 | #include "techmodel/TechmodelAlgorithm.h" | ||
13 | #include "event/PamelaRun.h" | ||
14 | #include "event/physics/S4/S4Event.h" | ||
15 | |||
16 | |||
17 | namespace pamela { | ||
18 | namespace S4 { | ||
19 | /** | ||
20 | * Algorithm to read techmodel S4 physics events. | ||
21 | */ | ||
22 | class S4Reader: public pamela::techmodel::TechmodelAlgorithm { | ||
23 | private: | ||
24 | /** | ||
25 | * The physics event that is created in this algorithm. | ||
26 | */ | ||
27 | S4Event *s4; | ||
28 | kusanagi | 2.2 | int haveData(const char[], long int); |
29 | kusanagi | 2.1 | public: |
30 | S4Reader(void); | ||
31 | virtual void Init(PamelaRun *); | ||
32 | virtual void RunEvent(int); | ||
33 | virtual void RunEvent(int, const char[] , long int); | ||
34 | virtual std::string GetVersionInfo(void) const; | ||
35 | }; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | #endif /* S4_READER_H */ |
ViewVC Help | |
Powered by ViewVC 1.1.23 |