1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/tmtc/TmtcEvent.h,v $ |
* $Source: /home/cvsmanager/yoda/event/tmtc/TmtcEvent.h,v $ |
3 |
* $Id: TmtcEvent.h,v 2.1 2004/12/09 08:48:29 kusanagi Exp $ |
* $Id: TmtcEvent.h,v 4.4 2005/05/28 10:44:10 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the TmtcEvent class. |
* Header file for the TmtcEvent class. |
9 |
#define TMTC_EVENT_H |
#define TMTC_EVENT_H |
10 |
|
|
11 |
#include <vector> |
#include <vector> |
12 |
#include "event/SubPacket.h" |
#include "../SubPacket.h" |
13 |
#include "event/tmtc/TmtcRecord.h" |
#include "TmtcRecord.h" |
14 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
15 |
|
|
16 |
using namespace std; |
using namespace std; |
17 |
|
|
18 |
namespace pamela { |
namespace pamela { |
19 |
/** |
/** |
20 |
* TmtcEvent data Wrapper |
* TmtcEvent data Wrapper. |
21 |
|
* |
22 |
|
* The TmtcEvent represents the "TmtcEvent" packet generated by the PAMELA CPU software |
23 |
|
* and is a collection of several requests to the PAMELA TMTC board. |
24 |
*/ |
*/ |
25 |
class TmtcEvent: public pamela::SubPacket { |
class TmtcEvent: public pamela::SubPacket { |
26 |
private: |
private: |
27 |
static TClonesArray *fgRecords; |
static TClonesArray *fgRecords; |
28 |
public: |
public: |
29 |
/** |
|
|
* Get the run name according to a certain run number. |
|
|
* @param run Run number. |
|
|
* @return a string with the run name. |
|
|
*/ |
|
30 |
TClonesArray* Records; |
TClonesArray* Records; |
31 |
|
|
32 |
TmtcEvent(void); |
TmtcEvent(void); |