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