1 |
#ifndef ARRDUMP_EVENT_H |
#ifndef ARRDUMP_EVENT_H |
2 |
#define ARRDUMP_EVENT_H |
#define ARRDUMP_EVENT_H |
3 |
|
|
4 |
#include "event/SubPacket.h" |
#include "ArrDumpRecord.h" |
|
#include "event/arrDump/ArrDumpRecord.h" |
|
5 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
6 |
|
|
|
using namespace std; |
|
|
|
|
7 |
namespace pamela { |
namespace pamela { |
8 |
/** |
/** |
9 |
* ArrDumpEvent data Wrapper |
* ArrDumpEvent data Wrapper |
10 |
|
* |
11 |
|
* The pamela::ArrDumpEvent represents the ArrDump packet generated by the PAMELA CPU software. |
12 |
|
* It contains the values of the PAMELA CPU software's vectors written in Mass Memory between |
13 |
|
* two storing operations. |
14 |
*/ |
*/ |
15 |
class ArrDumpEvent: public pamela::SubPacket { |
class ArrDumpEvent: public pamela::SubPacket { |
16 |
private: |
private: |
17 |
static TClonesArray *fgRecords; |
static TClonesArray *fgRecords; |
18 |
public: |
public: |
19 |
|
|
20 |
/** |
/** |
21 |
* Get the run name according to a certain run number. |
* Contain multiple instances of pamela::ArrDumpRecord type. |
|
* @param run Run number. |
|
|
* @return a string with the run name. |
|
22 |
*/ |
*/ |
23 |
TClonesArray* Records; |
TClonesArray* Records; |
24 |
|
|
25 |
|
/** |
26 |
|
* The Compilation Timestamp of the PAMELA CPU software. |
27 |
|
*/ |
28 |
|
UINT32 PARAMETER_STAMP; |
29 |
|
|
30 |
ArrDumpEvent(void); |
ArrDumpEvent(void); |
31 |
~ArrDumpEvent(void); |
~ArrDumpEvent(void); |
32 |
|
|