1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
3 |
kusanagi |
4.1 |
* $Id: LogEvent.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ |
4 |
kusanagi |
2.0 |
* $Author: kusanagi $ |
5 |
kusanagi |
1.1 |
* |
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 |
kusanagi |
4.1 |
* 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 |
kusanagi |
1.1 |
*/ |
26 |
|
|
class LogEvent: public pamela::SubPacket { |
27 |
|
|
private: |
28 |
kusanagi |
4.1 |
|
29 |
kusanagi |
1.1 |
static TClonesArray *fgRecords; |
30 |
|
|
public: |
31 |
|
|
/** |
32 |
kusanagi |
4.1 |
* The Compilation Timestamp of the PAMELA CPU software. |
33 |
kusanagi |
1.1 |
*/ |
34 |
kusanagi |
2.1 |
UINT32 COMPILATION_TIMESTAMP; |
35 |
kusanagi |
4.1 |
|
36 |
|
|
/** |
37 |
|
|
* Contain multiple instances of pamela::LogRecord type. |
38 |
|
|
*/ |
39 |
kusanagi |
1.1 |
TClonesArray* Records; |
40 |
|
|
|
41 |
|
|
LogEvent(void); |
42 |
|
|
~LogEvent(void); |
43 |
|
|
|
44 |
|
|
ClassDef(LogEvent, 1) |
45 |
|
|
}; |
46 |
|
|
} |
47 |
|
|
|
48 |
|
|
#endif /* LOG_EVENT_H */ |
49 |
|
|
|