Parent Directory | Revision Log
Starting form this version: 1) includes are defined with relative (not absolute) path respect to the YODA aplication 2) RegistryEvent class is foreseen to contain post-unpack data.
1 | kusanagi | 1.1 | |
2 | #ifndef NEUTRON_EVENT_H | ||
3 | #define NEUTRON_EVENT_H | ||
4 | |||
5 | kusanagi | 4.5 | #include "NeutronRecord.h" |
6 | kusanagi | 1.1 | #include <TClonesArray.h> |
7 | |||
8 | namespace pamela { | ||
9 | namespace neutron { | ||
10 | /** | ||
11 | * NeutronEvent data Wrapper | ||
12 | */ | ||
13 | class NeutronEvent: public pamela::SubPacket { | ||
14 | private: | ||
15 | static TClonesArray *fgRecords; | ||
16 | |||
17 | public: | ||
18 | kusanagi | 4.1 | /** |
19 | * Contain multiple instances of pamela::neutron::NeutronRecord type. | ||
20 | */ | ||
21 | kusanagi | 2.2 | TClonesArray *Records; |
22 | |||
23 | kusanagi | 4.1 | /** |
24 | * The data validity flag. | ||
25 | * | ||
26 | * Description: <BR> | ||
27 | * 1: neutron data NOT found. <BR> | ||
28 | * 0: neutron data ok. <BR> | ||
29 | kusanagi | 2.2 | */ |
30 | unsigned short unpackError; | ||
31 | kusanagi | 1.1 | |
32 | NeutronEvent(void); | ||
33 | ~NeutronEvent(void); | ||
34 | |||
35 | kusanagi | 2.3 | ClassDef(NeutronEvent, 2) |
36 | kusanagi | 1.1 | }; |
37 | } | ||
38 | } | ||
39 | #endif /* NEUTRON_EVENT_H */ | ||
40 |
ViewVC Help | |
Powered by ViewVC 1.1.23 |