00001 /********************************************************************* 00002 * 00003 * $Id: StTpcLocalCoordinate.hh,v 1.4 2004/06/05 23:31:09 fisyak Exp $ 00004 * 00005 * Author: brian May 20, 1998 00006 * 00007 ********************************************************************** 00008 * 00009 * Description: Raw data information along with access functions 00010 * 00011 ********************************************************************** 00012 * 00013 * $Log: StTpcLocalCoordinate.hh,v $ 00014 * Revision 1.4 2004/06/05 23:31:09 fisyak 00015 * Add (sector,row) for Tpc Coordinate/Direction transformations; Change sign of t0zoffset correction (to be synch. with fcf) 00016 * 00017 * Revision 1.3 2003/09/02 17:57:51 perev 00018 * gcc 3.2 updates + WarnOff 00019 * 00020 * Revision 1.2 2000/02/02 23:01:38 calderon 00021 * Changes for CC5 00022 * Tests withs StTpcDb still going. 00023 * 00024 * Revision 1.1 1999/11/19 19:01:08 calderon 00025 * First version of files for StDbUtilities. 00026 * Note: this package uses StTpcDb. 00027 * There are some parameters 00028 * that are not yet kept in StTpcDb. When StTpcDb has them, the code 00029 * will be changed to use them from StTpcDb. 00030 * There are no Ftpc or Svt Coordinate transformations in here yet. 00031 * 00032 * Revision 1.4 1999/10/25 18:38:29 calderon 00033 * changed mPos and pos() to mPosition and position() to 00034 * be compatible with StEvent/StMcEvent. 00035 * 00036 * Revision 1.3 1998/11/16 19:40:19 lasiuk 00037 * constructors do not use reference for doubles 00038 * 00039 * Revision 1.2 1998/11/13 21:29:29 lasiuk 00040 * allow setting coordinates individually 00041 * 00042 * Revision 1.1 1998/11/10 17:12:06 fisyak 00043 * Put Brian trs versin into StRoot 00044 * 00045 * Revision 1.2 1998/11/01 16:21:03 lasiuk 00046 * remove 'St' from variable declarations 00047 * add set functions in local Coordinates 00048 * 00049 * Revision 1.1 1998/05/21 21:27:38 lasiuk 00050 * Initial revision 00051 * 00052 * 00053 **********************************************************************/ 00054 #ifndef ST_TPC_LOCAL_COORDINATE_HH 00055 #define ST_TPC_LOCAL_COORDINATE_HH 00056 #include "StTpcCoordinate.h" 00057 class StTpcLocalCoordinate : public StTpcCoordinate { 00058 public: 00059 StTpcLocalCoordinate() : StTpcCoordinate(0,0,0,0,0) {} 00060 StTpcLocalCoordinate(double x, double y, double z); 00061 StTpcLocalCoordinate(double x, double y, double z, int sector, int row) : 00062 StTpcCoordinate(x,y,z,sector,row) {} 00063 StTpcLocalCoordinate(const StThreeVector<double>& xyz); 00064 StTpcLocalCoordinate(const StThreeVector<double>& xyz, int sector, int row) : 00065 StTpcCoordinate(xyz,sector,row) {} 00066 virtual ~StTpcLocalCoordinate() {} 00067 }; 00068 ostream& operator<<(ostream&, const StTpcLocalCoordinate&); 00069 #endif
1.5.9