StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTpcLocalCoordinate.hh
1 /*********************************************************************
2  *
3  * $Id: StTpcLocalCoordinate.hh,v 1.4 2004/06/05 23:31:09 fisyak Exp $
4  *
5  * Author: brian May 20, 1998
6  *
7  **********************************************************************
8  *
9  * Description: Raw data information along with access functions
10  *
11  **********************************************************************
12  *
13  * $Log: StTpcLocalCoordinate.hh,v $
14  * Revision 1.4 2004/06/05 23:31:09 fisyak
15  * Add (sector,row) for Tpc Coordinate/Direction transformations; Change sign of t0zoffset correction (to be synch. with fcf)
16  *
17  * Revision 1.3 2003/09/02 17:57:51 perev
18  * gcc 3.2 updates + WarnOff
19  *
20  * Revision 1.2 2000/02/02 23:01:38 calderon
21  * Changes for CC5
22  * Tests withs StTpcDb still going.
23  *
24  * Revision 1.1 1999/11/19 19:01:08 calderon
25  * First version of files for StDbUtilities.
26  * Note: this package uses StTpcDb.
27  * There are some parameters
28  * that are not yet kept in StTpcDb. When StTpcDb has them, the code
29  * will be changed to use them from StTpcDb.
30  * There are no Ftpc or Svt Coordinate transformations in here yet.
31  *
32  * Revision 1.4 1999/10/25 18:38:29 calderon
33  * changed mPos and pos() to mPosition and position() to
34  * be compatible with StEvent/StMcEvent.
35  *
36  * Revision 1.3 1998/11/16 19:40:19 lasiuk
37  * constructors do not use reference for doubles
38  *
39  * Revision 1.2 1998/11/13 21:29:29 lasiuk
40  * allow setting coordinates individually
41  *
42  * Revision 1.1 1998/11/10 17:12:06 fisyak
43  * Put Brian trs versin into StRoot
44  *
45  * Revision 1.2 1998/11/01 16:21:03 lasiuk
46  * remove 'St' from variable declarations
47  * add set functions in local Coordinates
48  *
49  * Revision 1.1 1998/05/21 21:27:38 lasiuk
50  * Initial revision
51  *
52  *
53  **********************************************************************/
54 #ifndef ST_TPC_LOCAL_COORDINATE_HH
55 #define ST_TPC_LOCAL_COORDINATE_HH
56 #include "StTpcCoordinate.h"
58 public:
59  StTpcLocalCoordinate() : StTpcCoordinate(0,0,0,0,0) {}
60  StTpcLocalCoordinate(double x, double y, double z);
61  StTpcLocalCoordinate(double x, double y, double z, int sector, int row) :
62  StTpcCoordinate(x,y,z,sector,row) {}
64  StTpcLocalCoordinate(const StThreeVector<double>& xyz, int sector, int row) :
65  StTpcCoordinate(xyz,sector,row) {}
66  virtual ~StTpcLocalCoordinate() {}
67 };
68 ostream& operator<<(ostream&, const StTpcLocalCoordinate&);
69 #endif