| 1 |
|
| 2 |
#ifndef NEUTRON_EVENT_H |
| 3 |
#define NEUTRON_EVENT_H |
| 4 |
|
| 5 |
#include "NeutronRecord.h" |
| 6 |
#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 |
/** |
| 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); |
| 33 |
~NeutronEvent(void); |
| 34 |
|
| 35 |
ClassDef(NeutronEvent, 2) |
| 36 |
}; |
| 37 |
} |
| 38 |
} |
| 39 |
#endif /* NEUTRON_EVENT_H */ |
| 40 |
|