00001 00005 /*************************************************************************** 00006 * 00007 * $Id: StMeasuredPoint.h,v 2.8 2005/07/06 18:58:15 fisyak Exp $ 00008 * 00009 * Author: Thomas Ullrich, Sept 1999 00010 *************************************************************************** 00011 * 00012 * Description: 00013 * 00014 *************************************************************************** 00015 * 00016 * $Log: StMeasuredPoint.h,v $ 00017 * Revision 2.8 2005/07/06 18:58:15 fisyak 00018 * Add print out 00019 * 00020 * Revision 2.7 2004/07/15 16:36:24 ullrich 00021 * Removed all clone() declerations and definitions. Use StObject::clone() only. 00022 * 00023 * Revision 2.6 2002/02/22 22:56:49 jeromel 00024 * Doxygen basic documentation in all header files. None of this is required 00025 * for QM production. 00026 * 00027 * Revision 2.5 2001/04/05 04:00:38 ullrich 00028 * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs. 00029 * 00030 * Revision 2.4 2001/03/24 03:34:52 perev 00031 * clone() -> clone() const 00032 * 00033 * Revision 2.3 1999/12/21 15:09:02 ullrich 00034 * Modified to cope with new compiler version on Sun (CC5.0). 00035 * 00036 * Revision 2.2 1999/10/28 22:26:05 ullrich 00037 * Adapted new StArray version. First version to compile on Linux and Sun. 00038 * 00039 * Revision 2.1 1999/10/13 19:43:26 ullrich 00040 * Initial Revision 00041 * 00042 **************************************************************************/ 00043 #ifndef StMeasuredPoint_hh 00044 #define StMeasuredPoint_hh 00045 00046 #include <Stiostream.h> 00047 #include "StObject.h" 00048 #include "StThreeVectorF.hh" 00049 #include "StMatrixF.hh" 00050 00051 class StMeasuredPoint : public StObject { 00052 public: 00053 StMeasuredPoint(); 00054 StMeasuredPoint(const StThreeVectorF&); 00055 virtual ~StMeasuredPoint(); 00056 // StMeasuredPoint(const StMeasuredPoint&); use default 00057 // StMeasuredPoint& operator=(const StMeasuredPoint&); use default 00058 00059 int operator==(const StMeasuredPoint&) const; 00060 int operator!=(const StMeasuredPoint&) const; 00061 00062 virtual const StThreeVectorF& position() const; 00063 virtual StThreeVectorF positionError() const = 0; 00064 virtual StMatrixF covariantMatrix() const = 0; 00065 00066 virtual void setPosition(const StThreeVectorF&); 00067 virtual void Print(Option_t *option="") const; 00068 protected: 00069 StThreeVectorF mPosition; 00070 ClassDef(StMeasuredPoint,1) 00071 }; 00072 ostream& operator<<(ostream& os, StMeasuredPoint const & v); 00073 #endif
1.5.9