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.0 2004/09/21 20:50:47 kusanagi Exp $ |
* $Id: TmtcEvent.h,v 5.1 2005/08/29 13:02:36 Maurizio Nagni Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: Maurizio Nagni $ |
5 |
* |
* |
6 |
* Header file for the TmtcEvent class. |
* Header file for the TmtcEvent class. |
7 |
*/ |
*/ |
8 |
#ifndef TMTC_EVENT_H |
#ifndef TMTC_EVENT_H |
9 |
#define TMTC_EVENT_H |
#define TMTC_EVENT_H |
10 |
|
|
11 |
#include <vector> |
|
12 |
#include "event/SubPacket.h" |
#include "TmtcRecord.h" |
|
#include "event/tmtc/TmtcRecord.h" |
|
13 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
14 |
|
|
15 |
using namespace std; |
using namespace std; |
16 |
|
|
17 |
namespace pamela { |
namespace pamela { |
18 |
/** |
/** |
19 |
* TmtcEvent data Wrapper |
* TmtcEvent data Wrapper. |
20 |
|
* |
21 |
|
* The TmtcEvent represents the "TmtcEvent" packet generated by the PAMELA CPU software |
22 |
|
* and is a collection of several requests to the PAMELA TMTC board. |
23 |
*/ |
*/ |
24 |
class TmtcEvent: public pamela::SubPacket { |
class TmtcEvent: public pamela::SubPacket { |
25 |
private: |
private: |
26 |
static TClonesArray *fgRecords; |
static TClonesArray *fgRecords; |
27 |
public: |
public: |
28 |
/** |
|
|
* Get the run name according to a certain run number. |
|
|
* @param run Run number. |
|
|
* @return a string with the run name. |
|
|
*/ |
|
29 |
TClonesArray* Records; |
TClonesArray* Records; |
30 |
|
|
31 |
TmtcEvent(void); |
TmtcEvent(void); |