| 1 |
/** @file |
| 2 |
* $Source: /opt/cvsmanager/yoda/event/RegistryEvent.h,v $ |
| 3 |
* $Id: RegistryEvent.h,v 5.2 2006/02/04 12:37:43 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
| 5 |
* |
| 6 |
* Header file for the RegistryEvent class. |
| 7 |
*/ |
| 8 |
#ifndef REGISTRY_EVENT_H |
| 9 |
#define REGISTRY_EVENT_H |
| 10 |
|
| 11 |
#include "TObject.h" |
| 12 |
namespace pamela { |
| 13 |
/** |
| 14 |
* RegistryEvent data Wrapper |
| 15 |
*/ |
| 16 |
class RegistryEvent: public TObject { |
| 17 |
private: |
| 18 |
|
| 19 |
public: |
| 20 |
public: |
| 21 |
/* This is the absolute Time of the event calculated after data unpacking*/ |
| 22 |
ULong64_t absTime; |
| 23 |
|
| 24 |
/* Name of the unpacked file this data cames from. |
| 25 |
* The reason for this is beacuse if multiple data are collected from several |
| 26 |
* files using the same xxx.Event.root & xxx.Registry.root structure, in this way you |
| 27 |
* can reconstruct from which file this data cames from. |
| 28 |
*/ |
| 29 |
TString originFile; |
| 30 |
|
| 31 |
/* Because on transmission multiple copies of data could be unpacked, a special procedure |
| 32 |
* collect all the event just one time each. This parameter is related to the entry relative |
| 33 |
* to that selected event. |
| 34 |
*/ |
| 35 |
unsigned int event; |
| 36 |
|
| 37 |
RegistryEvent(); |
| 38 |
~RegistryEvent(void){}; |
| 39 |
ClassDef(RegistryEvent, 2) |
| 40 |
}; |
| 41 |
} |
| 42 |
|
| 43 |
#endif /* REGISTRY_EVENT_H */ |
| 44 |
|