Go to the documentation of this file.00001
00002
00003 #ifndef __LASCOORDINATESET_H
00004 #define __LASCOORDINATESET_H
00005
00006 #include <iostream>
00007
00012 class LASCoordinateSet {
00013
00014 public:
00015
00016 LASCoordinateSet() :
00017 phi(0.), phiError(0.), r(0.), rError(0.), z(0.), zError(0.) {}
00018 LASCoordinateSet( double, double, double, double, double, double );
00019
00020 void GetCoordinates( double&, double&, double&, double&, double&, double& ) const;
00021 double GetPhi( void ) const { return phi; }
00022 double GetPhiError( void ) const { return phiError; }
00023 double GetR( void ) const { return r; }
00024 double GetRError( void ) const { return rError; }
00025 double GetZ( void ) const { return z; }
00026 double GetZError( void ) const { return zError; }
00027
00028 void SetCoordinates( double, double, double, double, double, double );
00029 void SetErrors( double, double, double );
00030 void SetPhi( double aPhi ) { phi = aPhi; }
00031 void SetPhi( double aPhi, double aPhiError ) { phi = aPhi; phiError = aPhiError; }
00032 void SetPhiError( double aPhiError ) { phiError = aPhiError; }
00033 void SetR( double aR ) { r = aR; }
00034 void SetR( double aR, double aRError ) { r = aR; rError = aRError; }
00035 void SetRError( double aRError ) { rError = aRError; }
00036 void SetZ( double aZ ) { z = aZ; }
00037 void SetZ( double aZ, double aZError ) { z = aZ; zError = aZError; }
00038 void SetZError( double aZError ) { zError = aZError; }
00039
00040 void Dump( void );
00041
00042 private:
00043
00044 double phi;
00045 double phiError;
00046 double r;
00047 double rError;
00048 double z;
00049 double zError;
00050
00051 };
00052
00053
00054 #endif