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 | 1.1 | |
2 | #ifndef NEUTRON_EVENT_H | ||
3 | #define NEUTRON_EVENT_H | ||
4 | |||
5 | #include "event/SubPacket.h" | ||
6 | #include "event/physics/neutronDetector/NeutronRecord.h" | ||
7 | #include <TClonesArray.h> | ||
8 | |||
9 | namespace pamela { | ||
10 | namespace neutron { | ||
11 | /** | ||
12 | * NeutronEvent data Wrapper | ||
13 | */ | ||
14 | class NeutronEvent: public pamela::SubPacket { | ||
15 | private: | ||
16 | static TClonesArray *fgRecords; | ||
17 | |||
18 | public: | ||
19 | kusanagi | 2.2 | TClonesArray *Records; |
20 | |||
21 | /* | ||
22 | * unpackError = 0 ---- no error | ||
23 | * unpackError = 1 ---- neutron data not found | ||
24 | * | ||
25 | */ | ||
26 | unsigned short unpackError; | ||
27 | kusanagi | 1.1 | |
28 | NeutronEvent(void); | ||
29 | ~NeutronEvent(void); | ||
30 | |||
31 | kusanagi | 2.3 | ClassDef(NeutronEvent, 2) |
32 | kusanagi | 1.1 | }; |
33 | } | ||
34 | } | ||
35 | #endif /* NEUTRON_EVENT_H */ | ||
36 |
ViewVC Help | |
Powered by ViewVC 1.1.23 |