Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

PXXUTCTime8B.h

Go to the documentation of this file.
00001 #ifndef __PXXUTCTime8B__H__
00002 #define __PXXUTCTime8B__H__
00003 
00011 
00012 #include "payloads-unpacker/base/PXXObject.h"
00013 #include "payloads-unpacker/payloads/PXXIUTCTime.h"
00014 
00015 class PXXUTCTime8B : public PXXObject, public PXXIUTCTime
00016 {
00017 public:
00018 
00019    SET_LOGGER("PXXUTCTime8B");
00020 
00021    /*
00022     * Constructor. Initialize time by -1
00023     */
00024      PXXUTCTime8B(Long64b_t time = -1);
00025    //------------------------------------------------------------------------------
00026 
00027    /*
00028     * Destructor
00029     */
00030      virtual ~PXXUTCTime8B() {}
00031    //------------------------------------------------------------------------------
00032 
00036      virtual Long64b_t GetUTCTimeAsLong64b() const;
00037    //------------------------------------------------------------------------------
00038 
00042      virtual void SetUTCTimeAsLong64b(Long64b_t t) { fLUTCTime_ = t; }
00043    //------------------------------------------------------------------------------
00044 
00045 private:
00046 
00047    Long64b_t fLUTCTime_;   // 64bit time information
00048 
00049    ClassDef(PXXUTCTime8B, 0) // interface of SourceID
00050 };
00051 
00052 #ifdef __USEROOT__       // compile with ROOT
00053 typedef PXXUTCTime8B*  PXXUTCTime8BPtr;
00054 #else                    // compile with IceTray
00055 typedef shared_ptr<PXXUTCTime8B> PXXUTCTime8BPtr;
00056 #endif
00057 
00058 #endif // __PXXUTCTime8B__H__


Generated on Thu Nov 10 14:06:36 2005 by doxygen version 1.4.1