test
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 #include "Rtypes.h"
4 
5 
6 #define SMATRIX_USE_CONSTEXPR
7 #include "Math/SVector.h"
8 
9 namespace math {
10 
12  template<unsigned int N>
13  struct VectorD {
14  typedef ROOT::Math::SVector<double, N> type;
15  };
16 
18  template<unsigned int N>
19  struct VectorF {
20  typedef ROOT::Math::SVector<float, N> type;
21  };
22 
24  template<unsigned int N>
25  struct Vector {
26  typedef typename VectorD<N>::type type;
27  };
28 }
29 
30 #endif
fixed size vector
Definition: Vector.h:19
fixed size vector
Definition: Vector.h:25
VectorD< N >::type type
Definition: Vector.h:26
fixed size vector
Definition: Vector.h:13
ROOT::Math::SVector< float, N > type
Definition: Vector.h:20
ROOT::Math::SVector< double, N > type
Definition: Vector.h:14