StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StSvtAngles.hh
1 #ifndef STSVTANGLES_HH
2 #define STSVTANGLES_HH
3 
4 #include "StThreeVector.hh"
5 //class StThreeVector; //rcas has a problem with a template class?
6 //class svg_geom_st;
7 class StSvtGeometry;
8 
10 {
11  public:
12  StSvtAngles();
13  ~StSvtAngles();
14 
15  void calcAngles(StSvtGeometry *geom, double x, double y, double z, int mLayer, int mLadder, int mWafer );
16  //void calcAngles(svg_geom_st *geom_st, double x, double y, double z, int mLayer, int mLadder, int mWafer );
17  void svtTheta(const StThreeVector <double>& V, const StThreeVector <double>& u);
18  void svtTheta(double Vx, double Vy, double Vz, double ux,double uy,double uz);
19  void svtPhi(const StThreeVector <double>& V, const StThreeVector <double>& ux, const StThreeVector <double>& uy);
20 
21  double getTheta(){ return mTheta;}
22  double getPhi() { return mPhi; }
23 
24  private:
25 
26  double mTheta;
27  double mPhi;
28 
29  //ClassDef(StSvtAngles, 1)
30 };
31 
32 #endif