2 |
#ifndef NEUTRON_EVENT_H |
#ifndef NEUTRON_EVENT_H |
3 |
#define NEUTRON_EVENT_H |
#define NEUTRON_EVENT_H |
4 |
|
|
5 |
#include <vector> |
#include "NeutronRecord.h" |
|
#include "event/SubPacket.h" |
|
|
#include "event/physics/neutronDetector/NeutronRecord.h" |
|
6 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
7 |
|
|
8 |
namespace pamela { |
namespace pamela { |
15 |
static TClonesArray *fgRecords; |
static TClonesArray *fgRecords; |
16 |
|
|
17 |
public: |
public: |
18 |
TClonesArray *Records; |
/** |
19 |
|
* Contain multiple instances of pamela::neutron::NeutronRecord type. |
20 |
|
*/ |
21 |
|
TClonesArray *Records; |
22 |
|
|
23 |
|
/** |
24 |
|
* The data validity flag. |
25 |
|
* |
26 |
|
* Description: <BR> |
27 |
|
* 1: neutron data NOT found. <BR> |
28 |
|
* 0: neutron data ok. <BR> |
29 |
|
*/ |
30 |
|
unsigned short unpackError; |
31 |
|
|
32 |
NeutronEvent(void); |
NeutronEvent(void); |
33 |
~NeutronEvent(void); |
~NeutronEvent(void); |
34 |
|
|
35 |
ClassDef(NeutronEvent, 1) |
ClassDef(NeutronEvent, 2) |
36 |
}; |
}; |
37 |
} |
} |
38 |
} |
} |