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