1 |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/RegistryEvent.h,v $ |
3 |
* $Id: RegistryEvent.h,v 6.1 2006/03/27 08:42:15 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 |
#include "sgp4/coord.h" |
14 |
#include "YMagnGeo.h" |
15 |
namespace pamela { |
16 |
|
17 |
/** |
18 |
* RegistryEvent data Wrapper |
19 |
*/ |
20 |
class RegistryEvent: public TObject { |
21 |
private: |
22 |
|
23 |
public: |
24 |
/* This is the absolute Time of the event calculated after data unpacking*/ |
25 |
ULong64_t absTime; |
26 |
|
27 |
/* Name of the unpacked file this data cames from. |
28 |
* The reason for this is beacuse if multiple data are collected from several |
29 |
* files using the same xxx.Event.root & xxx.Registry.root structure, in this way you |
30 |
* can reconstruct from which file this data cames from. |
31 |
*/ |
32 |
TString originFile; |
33 |
|
34 |
/* Unique ID of the RUN from which this data cames from. |
35 |
* Even if this ID cames from the production database it can be considered decoupled |
36 |
* from the database. It is used when many RUNs are collected in a single file. |
37 |
*/ |
38 |
UInt_t IDRun; |
39 |
|
40 |
/* Because on transmission multiple copies of data could be unpacked, a special procedure |
41 |
* collect all the event just one time each. This parameter is related to the entry relative |
42 |
* to that selected event. |
43 |
*/ |
44 |
unsigned int event; |
45 |
|
46 |
/* |
47 |
* Position of the satellite |
48 |
* double m_Lat; // Latitude, degree (negative south) |
49 |
* double m_Lon; // Longitude, degree (negative west) |
50 |
* double m_Alt; // Altitude, km (above mean sea level) |
51 |
*/ |
52 |
float m_Lat; |
53 |
float m_Lon; |
54 |
float m_Alt; |
55 |
//cCoordGeo coordGeo; |
56 |
|
57 |
/* |
58 |
* Magnetic parameters according to the position |
59 |
*/ |
60 |
YMagnGeo magnGeo; |
61 |
|
62 |
RegistryEvent(); |
63 |
~RegistryEvent(void){}; |
64 |
ClassDef(RegistryEvent, 1) |
65 |
}; |
66 |
} |
67 |
#endif /* REGISTRY_EVENT_H */ |
68 |
|