1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
3 |
kusanagi |
5.0 |
* $Id: LogEvent.h,v 4.5 2005/08/29 08:27:29 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 |
kusanagi |
4.5 |
#include "LogRecord.h" |
13 |
kusanagi |
1.1 |
#include <TClonesArray.h> |
14 |
|
|
using namespace std; |
15 |
|
|
|
16 |
|
|
namespace pamela { |
17 |
|
|
/** |
18 |
kusanagi |
4.1 |
* 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 |
kusanagi |
1.1 |
*/ |
24 |
|
|
class LogEvent: public pamela::SubPacket { |
25 |
|
|
private: |
26 |
kusanagi |
4.1 |
|
27 |
kusanagi |
1.1 |
static TClonesArray *fgRecords; |
28 |
|
|
public: |
29 |
|
|
/** |
30 |
kusanagi |
4.1 |
* The Compilation Timestamp of the PAMELA CPU software. |
31 |
kusanagi |
1.1 |
*/ |
32 |
kusanagi |
2.1 |
UINT32 COMPILATION_TIMESTAMP; |
33 |
kusanagi |
4.1 |
|
34 |
|
|
/** |
35 |
|
|
* Contain multiple instances of pamela::LogRecord type. |
36 |
|
|
*/ |
37 |
kusanagi |
1.1 |
TClonesArray* Records; |
38 |
|
|
|
39 |
|
|
LogEvent(void); |
40 |
|
|
~LogEvent(void); |
41 |
|
|
|
42 |
|
|
ClassDef(LogEvent, 1) |
43 |
|
|
}; |
44 |
|
|
} |
45 |
|
|
|
46 |
|
|
#endif /* LOG_EVENT_H */ |
47 |
|
|
|