1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.h,v $ |
3 |
* $Id: LogEvent.h,v 2.1 2004/12/09 08:47:54 kusanagi Exp $ |
* $Id: LogEvent.h,v 4.1 2005/05/07 08:48:49 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the LogEvent class. |
* Header file for the LogEvent class. |
17 |
|
|
18 |
namespace pamela { |
namespace pamela { |
19 |
/** |
/** |
20 |
* LogEvent data Wrapper |
* 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 { |
class LogEvent: public pamela::SubPacket { |
27 |
private: |
private: |
28 |
|
|
29 |
static TClonesArray *fgRecords; |
static TClonesArray *fgRecords; |
30 |
public: |
public: |
31 |
/** |
/** |
32 |
* Get the run name according to a certain run number. |
* The Compilation Timestamp of the PAMELA CPU software. |
|
* @param run Run number. |
|
|
* @return a string with the run name. |
|
33 |
*/ |
*/ |
34 |
UINT32 COMPILATION_TIMESTAMP; |
UINT32 COMPILATION_TIMESTAMP; |
35 |
|
|
36 |
|
/** |
37 |
|
* Contain multiple instances of pamela::LogRecord type. |
38 |
|
*/ |
39 |
TClonesArray* Records; |
TClonesArray* Records; |
40 |
|
|
41 |
LogEvent(void); |
LogEvent(void); |