• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/cosy-jan12/go4/TSpacepoint.h (r4864/r3069)

Go to the documentation of this file.
00001 /*
00002  * TSpacepoint.h
00003  *
00004  *  Created on: Jan 18, 2012
00005  *      Author: isorokin
00006  */
00007 
00008 #ifndef TSPACEPOINT_H_
00009 #define TSPACEPOINT_H_
00010 
00011 #include "Rtypes.h"
00012 #include <stdint.h>
00013 
00014 class TSpacepoint {
00015 protected:
00016         Double_t        fX;
00017         Double_t        fXErr;
00018         Double_t        fY;
00019         Double_t        fYErr;
00020         Double_t        fZ;
00021         Double_t        fZErr;
00022         Double_t        fT;
00023         Double_t        fTErr;
00024    uint64_t fFulltime; // absolute ts
00025 
00026 
00027 public:
00028         TSpacepoint( Double_t x = 0, Double_t y = 0, Double_t z = 0, Double_t t = 0, Double_t xErr = 0, Double_t yErr = 0, Double_t zErr = 0, Double_t tErr = 0, uint64_t fulltime=0 );
00029         virtual ~TSpacepoint();
00030         Double_t        GetX() const { return fX; }
00031         Double_t        GetXErr() const { return fXErr; }
00032         void            SetX( Double_t x) { fX = x; }
00033         void            SetXErr( Double_t xErr) { fXErr = xErr; }
00034 
00035         Double_t        GetY() const { return fY; }
00036         Double_t        GetYErr() const { return fYErr; }
00037         void            SetY( Double_t y) { fY = y; }
00038         void            SetYErr( Double_t yErr) { fYErr = yErr; }
00039 
00040         Double_t        GetZ() const { return fZ; }
00041         Double_t        GetZErr() const { return fZErr; }
00042         void            SetZ( Double_t z) { fZ = z; }
00043         void            SetZErr( Double_t zErr) { fZErr = zErr; }
00044 
00045         Double_t        GetT() const { return fT; }
00046         Double_t        GetTErr() const { return fTErr; }
00047         void            SetT( Double_t t) { fT = t; }
00048         void            SetTErr( Double_t tErr) { fTErr = tErr; }
00049 
00050         uint64_t GetTS() const { return fFulltime; }
00051         void     SetTS( uint64_t t) { fFulltime = t; }
00052 
00053 
00054         ClassDef( TSpacepoint, 1 )
00055 };
00056 
00057 #endif /* TSPACEPOINT_H_ */

Generated on Tue Dec 10 2013 04:52:18 for ROCsoft by  doxygen 1.7.1