1 |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
3 |
* $Id: LogEvent.h,v 2.0 2004/09/21 20:50: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 "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 |
class LogEvent: public pamela::SubPacket { |
23 |
private: |
24 |
static TClonesArray *fgRecords; |
25 |
public: |
26 |
/** |
27 |
* Get the run name according to a certain run number. |
28 |
* @param run Run number. |
29 |
* @return a string with the run name. |
30 |
*/ |
31 |
UINT32 COMPILATION_TIMESTAMP; |
32 |
TClonesArray* Records; |
33 |
|
34 |
LogEvent(void); |
35 |
~LogEvent(void); |
36 |
|
37 |
ClassDef(LogEvent, 1) |
38 |
}; |
39 |
} |
40 |
|
41 |
#endif /* LOG_EVENT_H */ |
42 |
|