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 |
/** |
20 |
* Contain multiple instances of pamela::neutron::NeutronRecord type. |
21 |
*/ |
22 |
TClonesArray *Records; |
23 |
|
24 |
/** |
25 |
* The data validity flag. |
26 |
* |
27 |
* Description: <BR> |
28 |
* 1: neutron data NOT found. <BR> |
29 |
* 0: neutron data ok. <BR> |
30 |
*/ |
31 |
unsigned short unpackError; |
32 |
|
33 |
NeutronEvent(void); |
34 |
~NeutronEvent(void); |
35 |
|
36 |
ClassDef(NeutronEvent, 2) |
37 |
}; |
38 |
} |
39 |
} |
40 |
#endif /* NEUTRON_EVENT_H */ |
41 |
|