VGPSTime


class description - source file - inheritance tree

class VGPSTime : public TObject


    public:
VGPSTime operator+=(double interval) VGPSTime VGPSTime(Int_t secVal, Int_t nsecVal) VGPSTime VGPSTime() VGPSTime VGPSTime(const VGPSTime&) VGPSTime operator-=(double interval) void ~VGPSTime() static TClass* Class() static const Text_t* ExpandFormat(const char* fmtopt) const static const Text_t* ExpressTime(Double_t gpstime, Option_t* fmtopt = "GPS", Int_t leapS = 0, Int_t local = 0) const UInt_t GetNsec() UInt_t GetSec() Double_t GetTimeD() virtual TClass* IsA() const bool operator!() const bool operator!=(const VGPSTime& rhs) const bool operator<(const VGPSTime& rhs) const bool operator<=(const VGPSTime& rhs) const VGPSTime& operator=(double& gpstd) VGPSTime& operator=(const VGPSTime& gpst) bool operator==(const VGPSTime& rhs) const bool operator>(const VGPSTime& rhs) const bool operator>=(const VGPSTime& rhs) const void SetNsec(UInt_t n) void SetSec(UInt_t s) void SetTimeD(Double_t time) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
UInt_t mSec seconds UInt_t mNsec nano-seconds

Class Description

                                                                      
 GPS Time                                                             
                                                                      
 Time defined by GPS standard                                         
                                                                      


const Text_t* ExpressTime(Double_t gpstime, Option_t* fmtopt, Int_t leapS, Int_t local0)
 Given a GPS time, expresses it in a convenient format
 depending on the chosen options for time format in option
 options are  "GPS", "LOCAL", "LOCALEUR", "LOCALUS", "UNI",
  "UNIEUR", "UNIUS"
 If none of these formats is used, the string is interpreted as an
 input string to the standard C strftime function. See TAxis::SetTimeFormat
 for more information.
 ULeapS are the leap seconds needed for the GPS->UTC conversion
 (33 seconds as of 1st January 1999, changes aprox. once per year,
   given by the frames/ vectors)
 local is the difference in multiples of 1800 s between UTC and the local time
 Not used for the time being since "local" means local to the machine
 on which the display is done and not local to the experiment. May change
 in the future but needs to include some info like if there is a daylight
 savings time locally on the experiment.

const Text_t* ExpandFormat(const char* fmt)
 Expands the format fmt, which can be any of
 "GPS", "LOCAL", "LOCALEUR", "LOCALUS", "UNI", "UNIEUR", "UNIUS"
 If none of these formats is used, the string is interpreted as an
 input string to the standard C strftime function. See TAxis::SetTimeFormat
 for more information.



Inline Functions


           VGPSTime VGPSTime()
           VGPSTime VGPSTime(Int_t secVal, Int_t nsecVal)
             UInt_t GetSec()
             UInt_t GetNsec()
               void SetSec(UInt_t s)
               void SetNsec(UInt_t n)
               void SetTimeD(Double_t time)
           Double_t GetTimeD()
          VGPSTime& operator=(const VGPSTime& gpst)
          VGPSTime& operator=(double& gpstd)
           VGPSTime operator+=(double interval)
           VGPSTime operator-=(double interval)
               bool operator!() const
               bool operator==(const VGPSTime& rhs) const
               bool operator!=(const VGPSTime& rhs) const
               bool operator>=(const VGPSTime& rhs) const
               bool operator<=(const VGPSTime& rhs) const
               bool operator>(const VGPSTime& rhs) const
               bool operator<(const VGPSTime& rhs) const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           VGPSTime VGPSTime(const VGPSTime&)
               void ~VGPSTime()
Last update: Tue Jul 1 17:28:49 2003


- ROOT page - VEGA page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to , or contact with any questions or problems regarding ROOT or VEGA.