1 |
kusanagi |
4.1 |
/** @file |
2 |
kusanagi |
5.4 |
* $Source: /home/cvsmanager/yoda/event/RegistryEvent.h,v $ |
3 |
kusanagi |
6.2 |
* $Id: RegistryEvent.h,v 6.1 2006/03/27 08:42:15 kusanagi Exp $ |
4 |
kusanagi |
5.3 |
* $Author: kusanagi $ |
5 |
kusanagi |
4.1 |
* |
6 |
|
|
* Header file for the RegistryEvent class. |
7 |
|
|
*/ |
8 |
|
|
#ifndef REGISTRY_EVENT_H |
9 |
|
|
#define REGISTRY_EVENT_H |
10 |
|
|
|
11 |
|
|
#include "TObject.h" |
12 |
kusanagi |
5.4 |
#include "TString.h" |
13 |
kusanagi |
4.1 |
namespace pamela { |
14 |
|
|
/** |
15 |
|
|
* RegistryEvent data Wrapper |
16 |
|
|
*/ |
17 |
|
|
class RegistryEvent: public TObject { |
18 |
|
|
private: |
19 |
|
|
|
20 |
|
|
public: |
21 |
kusanagi |
5.3 |
public: |
22 |
kusanagi |
4.1 |
/* This is the absolute Time of the event calculated after data unpacking*/ |
23 |
kusanagi |
5.1 |
ULong64_t absTime; |
24 |
kusanagi |
4.1 |
|
25 |
kusanagi |
5.3 |
/* 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 |
kusanagi |
6.1 |
/* Unique ID of the RUN from which this data cames from. |
33 |
|
|
* Even if this ID cames from the production database it can be considered decoupled |
34 |
|
|
* from the database. It is used when many RUNs are collected in a single file. |
35 |
|
|
*/ |
36 |
|
|
UInt_t IDRun; |
37 |
|
|
|
38 |
kusanagi |
4.1 |
/* Because on transmission multiple copies of data could be unpacked, a special procedure |
39 |
|
|
* collect all the event just one time each. This parameter is related to the entry relative |
40 |
|
|
* to that selected event. |
41 |
|
|
*/ |
42 |
|
|
unsigned int event; |
43 |
|
|
|
44 |
|
|
RegistryEvent(); |
45 |
|
|
~RegistryEvent(void){}; |
46 |
kusanagi |
6.1 |
ClassDef(RegistryEvent, 3) |
47 |
kusanagi |
4.1 |
}; |
48 |
|
|
} |
49 |
|
|
|
50 |
|
|
#endif /* REGISTRY_EVENT_H */ |
51 |
|
|
|