GCpp general purpose C++ library  version 1.0
GVector4.hh
Go to the documentation of this file.
1 //======================================================================
2 /*! \file GVector4.hh
3  *
4  * Include file for 4D vectors.
5  */
6 //======================================================================
7 
8 #ifndef G_VECTOR4_HH
9 #define G_VECTOR4_HH
10 
11 #include "GVectorD.hh"
12 
13 
14 //======================================================================
15 
16 /*! \class GVector4
17  *
18  * Class defining a 4-dimension vector.
19  */
20 class GVector4 : public GVectorD
21 {
22  //----------------------------------------------------------
24  //----------------------------------------------------------
25 
26  protected:
27 
28 
29  public:
30  //----------------------------------------------------------
31  // Constructors
32  GVector4 ( double x0 = 0.L, double x1 = 0.L, double x2 = 0.L, double x3 = 0.L );
33  GVector4 ( double x[] );
34  GVector4 ( const GVector4 & v );
35  GVector4 ( const GVectorD & v ); // for automatic conversions
36 
37  /*! Destructor.*/
38  virtual ~GVector4 ( ) { }
39 
40 };
41 
42 
43 //======================================================================
44 #endif
45 
GVector4(double x0=0.L, double x1=0.L, double x2=0.L, double x3=0.L)
Definition: GVector4.cpp:22
Definition: GVector4.hh:20
#define GObject(T)
Definition: GClassDefine.hh:65
virtual ~GVector4()
Definition: GVector4.hh:38
Definition: GMatrixT.hh:16