00001 #ifndef STSVTANGLES_HH
00002 #define STSVTANGLES_HH
00003
00004 #include "StThreeVector.hh"
00005
00006
00007 class StSvtGeometry;
00008
00009 class StSvtAngles
00010 {
00011 public:
00012 StSvtAngles();
00013 ~StSvtAngles();
00014
00015 void calcAngles(StSvtGeometry *geom, double x, double y, double z, int mLayer, int mLadder, int mWafer );
00016
00017 void svtTheta(const StThreeVector <double>& V, const StThreeVector <double>& u);
00018 void svtTheta(double Vx, double Vy, double Vz, double ux,double uy,double uz);
00019 void svtPhi(const StThreeVector <double>& V, const StThreeVector <double>& ux, const StThreeVector <double>& uy);
00020
00021 double getTheta(){ return mTheta;}
00022 double getPhi() { return mPhi; }
00023
00024 private:
00025
00026 double mTheta;
00027 double mPhi;
00028
00029
00030 };
00031
00032 #endif