StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StMeasuredPoint.h
1 
5 /***************************************************************************
6  *
7  * $Id: StMeasuredPoint.h,v 2.8 2005/07/06 18:58:15 fisyak Exp $
8  *
9  * Author: Thomas Ullrich, Sept 1999
10  ***************************************************************************
11  *
12  * Description:
13  *
14  ***************************************************************************
15  *
16  * $Log: StMeasuredPoint.h,v $
17  * Revision 2.8 2005/07/06 18:58:15 fisyak
18  * Add print out
19  *
20  * Revision 2.7 2004/07/15 16:36:24 ullrich
21  * Removed all clone() declerations and definitions. Use StObject::clone() only.
22  *
23  * Revision 2.6 2002/02/22 22:56:49 jeromel
24  * Doxygen basic documentation in all header files. None of this is required
25  * for QM production.
26  *
27  * Revision 2.5 2001/04/05 04:00:38 ullrich
28  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
29  *
30  * Revision 2.4 2001/03/24 03:34:52 perev
31  * clone() -> clone() const
32  *
33  * Revision 2.3 1999/12/21 15:09:02 ullrich
34  * Modified to cope with new compiler version on Sun (CC5.0).
35  *
36  * Revision 2.2 1999/10/28 22:26:05 ullrich
37  * Adapted new StArray version. First version to compile on Linux and Sun.
38  *
39  * Revision 2.1 1999/10/13 19:43:26 ullrich
40  * Initial Revision
41  *
42  **************************************************************************/
43 #ifndef StMeasuredPoint_hh
44 #define StMeasuredPoint_hh
45 
46 #include <Stiostream.h>
47 #include "StObject.h"
48 #include "StThreeVectorF.hh"
49 #include "StMatrixF.hh"
50 
51 class StMeasuredPoint : public StObject {
52 public:
55  virtual ~StMeasuredPoint();
56  // StMeasuredPoint(const StMeasuredPoint&); use default
57  // StMeasuredPoint& operator=(const StMeasuredPoint&); use default
58 
59  int operator==(const StMeasuredPoint&) const;
60  int operator!=(const StMeasuredPoint&) const;
61 
62  virtual const StThreeVectorF& position() const;
63  virtual StThreeVectorF positionError() const = 0;
64  virtual StMatrixF covariantMatrix() const = 0;
65 
66  virtual void setPosition(const StThreeVectorF&);
67  virtual void Print(Option_t *option="") const;
68 protected:
69  StThreeVectorF mPosition;
70  ClassDef(StMeasuredPoint,1)
71 };
72 ostream& operator<<(ostream& os, StMeasuredPoint const & v);
73 #endif