StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFtpcLocalCoordinate.hh
1 /***********************************************************************
2  *
3  * $Id: StFtpcLocalCoordinate.hh,v 1.3 2003/09/02 17:57:51 perev Exp $
4  *
5  * Author: Manuel CBS Oct 1999
6  *
7  ************************************************************************
8  *
9  * Description: Ftpc Local Coordinate
10  *
11  ************************************************************************
12  *
13  * $Log: StFtpcLocalCoordinate.hh,v $
14  * Revision 1.3 2003/09/02 17:57:51 perev
15  * gcc 3.2 updates + WarnOff
16  *
17  * Revision 1.2 2000/02/02 23:01:38 calderon
18  * Changes for CC5
19  * Tests withs StTpcDb still going.
20  *
21  * Revision 1.1 1999/11/19 19:01:07 calderon
22  * First version of files for StDbUtilities.
23  * Note: this package uses StTpcDb.
24  * There are some parameters
25  * that are not yet kept in StTpcDb. When StTpcDb has them, the code
26  * will be changed to use them from StTpcDb.
27  * There are no Ftpc or Svt Coordinate transformations in here yet.
28  *
29  *
30  ***********************************************************************/
31 #ifndef ST_FTPC_LOCAL_COORDINATE_HH
32 #define ST_FTPC_LOCAL_COORDINATE_HH
33 #include <Stiostream.h>
34 
35 #include "StThreeVector.hh"
36 
38 {
39 public:
41  StFtpcLocalCoordinate(const double, const double, const double);
43 
44  virtual ~StFtpcLocalCoordinate();
45  //StFtpcLocalCoordinate(const StTpcLocalCoordinate&);
46  //StFtpcLocalCoordinate& operator=(const StTpcLocalCoordinate&);
47 
48  int operator==(const StFtpcLocalCoordinate&) const;
49  int operator!=(const StFtpcLocalCoordinate&) const;
50  // access functions provided by StThreeVector
51  const StThreeVector<double>& position() const;
52  StThreeVector<double>& position();
53  void setPosition(const StThreeVector<double>&);
54 
55 private:
56  StThreeVector<double> mPosition;
57 };
58 
59 inline const StThreeVector<double>& StFtpcLocalCoordinate::position() const { return(mPosition); }
60 inline StThreeVector<double>& StFtpcLocalCoordinate::position() { return(mPosition); }
61 inline void StFtpcLocalCoordinate::setPosition(const StThreeVector<double>& val) { mPosition = val; }
62 
63 // Non-member
64 ostream& operator<<(ostream&, const StFtpcLocalCoordinate&);
65 #endif
66