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