CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Vector.h
Go to the documentation of this file.
1 #ifndef TrackReco_Vector_h
2 #define TrackReco_Vector_h
3 // $Id: Vector.h,v 1.6 2006/11/20 09:06:52 llista Exp $
4 #include "Rtypes.h"
5 #include "Math/SVector.h"
6 
7 namespace math {
8 
10  template<unsigned int N>
11  struct VectorD {
12  typedef ROOT::Math::SVector<double, N> type;
13  };
14 
16  template<unsigned int N>
17  struct VectorF {
18  typedef ROOT::Math::SVector<float, N> type;
19  };
20 
22  template<unsigned int N>
23  struct Vector {
24  typedef typename VectorD<N>::type type;
25  };
26 }
27 
28 #endif
fixed size vector
Definition: Vector.h:17
fixed size vector
Definition: Vector.h:23
VectorD< N >::type type
Definition: Vector.h:24
fixed size vector
Definition: Vector.h:11
ROOT::Math::SVector< float, N > type
Definition: Vector.h:18
ROOT::Math::SVector< double, N > type
Definition: Vector.h:12