/** @file * $Source: /home/cvsmanager/yodaUtility/RegistryEvent.h,v $ * $Id: RegistryEvent.h,v 1.1 2006/06/10 07:14:29 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the RegistryEvent class. */ #ifndef REGISTRY_EVENT_H #define REGISTRY_EVENT_H #include "TObject.h" #include "TString.h" #include "sgp4/coord.h" #include "YMagnGeo.h" namespace pamela { /** * RegistryEvent data Wrapper */ class RegistryEvent: public TObject { private: public: /* This is the absolute Time of the event calculated after data unpacking */ /* representing the number of millisecond after 1 January 1970 */ ULong64_t absTime; /* Name of the unpacked file this data cames from. * The reason for this is beacuse if multiple data are collected from several * files using the same xxx.Event.root & xxx.Registry.root structure, in this way you * can reconstruct from which file this data cames from. */ TString originFile; /* Unique ID of the RUN from which this data cames from. * Even if this ID cames from the production database it can be considered decoupled * from the database. It is used when many RUNs are collected in a single file. */ UInt_t IDRun; /* Because on transmission multiple copies of data could be unpacked, a special procedure * collect all the event just one time each. This parameter is related to the entry relative * to that selected event. */ unsigned int event; /* * Position of the satellite * double m_Lat; // Latitude, degree (negative south) * double m_Lon; // Longitude, degree (negative west) * double m_Alt; // Altitude, km (above mean sea level) */ float m_Lat; float m_Lon; float m_Alt; //cCoordGeo coordGeo; /* * Magnetic parameters according to the position */ YMagnGeo magnGeo; RegistryEvent(); ~RegistryEvent(void){}; ClassDef(RegistryEvent, 1) }; } #endif /* REGISTRY_EVENT_H */