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