00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef ST_FTPC_LOCAL_COORDINATE_HH
00032 #define ST_FTPC_LOCAL_COORDINATE_HH
00033 #include <Stiostream.h>
00034
00035 #include "StThreeVector.hh"
00036
00037 class StFtpcLocalCoordinate
00038 {
00039 public:
00040 StFtpcLocalCoordinate();
00041 StFtpcLocalCoordinate(const double, const double, const double);
00042 StFtpcLocalCoordinate(const StThreeVector<double>&);
00043
00044 virtual ~StFtpcLocalCoordinate();
00045
00046
00047
00048 int operator==(const StFtpcLocalCoordinate&) const;
00049 int operator!=(const StFtpcLocalCoordinate&) const;
00050
00051 const StThreeVector<double>& position() const;
00052 StThreeVector<double>& position();
00053 void setPosition(const StThreeVector<double>&);
00054
00055 private:
00056 StThreeVector<double> mPosition;
00057 };
00058
00059 inline const StThreeVector<double>& StFtpcLocalCoordinate::position() const { return(mPosition); }
00060 inline StThreeVector<double>& StFtpcLocalCoordinate::position() { return(mPosition); }
00061 inline void StFtpcLocalCoordinate::setPosition(const StThreeVector<double>& val) { mPosition = val; }
00062
00063
00064 ostream& operator<<(ostream&, const StFtpcLocalCoordinate&);
00065 #endif
00066