| 1 |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
| 3 |
* $Id: LogEvent.h,v 4.4 2005/05/28 10:44:09 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
| 5 |
* |
| 6 |
* Header file for the LogEvent class. |
| 7 |
*/ |
| 8 |
#ifndef LOG_EVENT_H |
| 9 |
#define LOG_EVENT_H |
| 10 |
|
| 11 |
#include <vector> |
| 12 |
#include "LogRecord.h" |
| 13 |
#include <TClonesArray.h> |
| 14 |
using namespace std; |
| 15 |
|
| 16 |
namespace pamela { |
| 17 |
/** |
| 18 |
* LogEvent data Wrapper. |
| 19 |
* |
| 20 |
* The LogEvent represents the "LogEvent" packet generated by the PAMELA CPU software |
| 21 |
* and is a collection of several logs generated during PAMELA operations |
| 22 |
* and recorded in the CPU RAM between two storing operations. |
| 23 |
*/ |
| 24 |
class LogEvent: public pamela::SubPacket { |
| 25 |
private: |
| 26 |
|
| 27 |
static TClonesArray *fgRecords; |
| 28 |
public: |
| 29 |
/** |
| 30 |
* The Compilation Timestamp of the PAMELA CPU software. |
| 31 |
*/ |
| 32 |
UINT32 COMPILATION_TIMESTAMP; |
| 33 |
|
| 34 |
/** |
| 35 |
* Contain multiple instances of pamela::LogRecord type. |
| 36 |
*/ |
| 37 |
TClonesArray* Records; |
| 38 |
|
| 39 |
LogEvent(void); |
| 40 |
~LogEvent(void); |
| 41 |
|
| 42 |
ClassDef(LogEvent, 1) |
| 43 |
}; |
| 44 |
} |
| 45 |
|
| 46 |
#endif /* LOG_EVENT_H */ |
| 47 |
|