| 2 |
#ifndef NEUTRON_EVENT_H |
#ifndef NEUTRON_EVENT_H |
| 3 |
#define NEUTRON_EVENT_H |
#define NEUTRON_EVENT_H |
| 4 |
|
|
|
#include <vector> |
|
| 5 |
#include "event/SubPacket.h" |
#include "event/SubPacket.h" |
| 6 |
#include "event/physics/neutronDetector/NeutronRecord.h" |
#include "event/physics/neutronDetector/NeutronRecord.h" |
| 7 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
| 16 |
static TClonesArray *fgRecords; |
static TClonesArray *fgRecords; |
| 17 |
|
|
| 18 |
public: |
public: |
| 19 |
TClonesArray *Records; |
TClonesArray *Records; |
| 20 |
|
|
| 21 |
|
/* |
| 22 |
|
* unpackError = 0 ---- no error |
| 23 |
|
* unpackError = 1 ---- neutron data not found |
| 24 |
|
* |
| 25 |
|
*/ |
| 26 |
|
unsigned short unpackError; |
| 27 |
|
|
| 28 |
NeutronEvent(void); |
NeutronEvent(void); |
| 29 |
~NeutronEvent(void); |
~NeutronEvent(void); |
| 30 |
|
|
| 31 |
ClassDef(NeutronEvent, 1) |
ClassDef(NeutronEvent, 2) |
| 32 |
}; |
}; |
| 33 |
} |
} |
| 34 |
} |
} |