1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
3 |
|
|
* $Id: LogEvent.h,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ |
4 |
|
|
* $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 |
|
|
* 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 |
|
|
int Log_crc_ok; |
32 |
|
|
TClonesArray* Records; |
33 |
|
|
|
34 |
|
|
LogEvent(void); |
35 |
|
|
~LogEvent(void); |
36 |
|
|
|
37 |
|
|
ClassDef(LogEvent, 1) |
38 |
|
|
}; |
39 |
|
|
} |
40 |
|
|
|
41 |
|
|
#endif /* LOG_EVENT_H */ |
42 |
|
|
|