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