JG ROOT Tools libraries  version 5.0 - august 2014
RGeometry.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file RGeometry.hh
3  *
4  * Include file for functions various geometry functions.
5  */
6 //======================================================================
7 
8 #ifndef R_GEOMETRY_HH
9 #define R_GEOMETRY_HH
10 //----------------------------------------------------------------------
11 
12 #include "RBaseFunctions.hh"
13 
14 #include "GVectorD.hh"
15 
16 #include <TVector2.h>
17 #include <TVector3.h>
18 #include <TPolyLine3D.h>
19 
20 //======================================================================
21 
22 extern TVector3 RNormalUx ( const TVector3 & v );
23 extern TVector3 RNormalUy ( const TVector3 & v );
24 
25 extern TVector3 RGetVector ( double theta, double phi );
26 extern TVector3 RNormalUx ( double theta, double phi );
27 extern TVector3 RNormalUy ( double theta, double phi );
28 
29 extern void RNormalVectors ( const TVector3 & v, TVector3 & ux, TVector3 & uy );
30 extern void RNormalVectors ( double theta, double phi, TVector3 & ux, TVector3 & uy );
31 
32 //======================================================================
33 
34 extern TPolyLine3D * RLine3D ( const TVector3 & p1, const TVector3 & p2 );
35 
36 //----------------------------------------------------------------------
37 #endif
TPolyLine3D * RLine3D(const TVector3 &p1, const TVector3 &p2)
Definition: RGeometry.cpp:138
TVector3 RGetVector(double theta, double phi)
Definition: RGeometry.cpp:76
void RNormalVectors(const TVector3 &v, TVector3 &ux, TVector3 &uy)
Definition: RGeometry.cpp:52
TVector3 RNormalUy(const TVector3 &v)
Definition: RGeometry.cpp:32
TVector3 RNormalUx(const TVector3 &v)
Definition: RGeometry.cpp:14