Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:42

0001 #ifndef TrackReco_Vector_h
0002 #define TrackReco_Vector_h
0003 #include "Rtypes.h"
0004 
0005 #define SMATRIX_USE_CONSTEXPR
0006 #include "Math/SVector.h"
0007 
0008 namespace math {
0009 
0010   /// fixed size vector

0011   template <unsigned int N>
0012   struct VectorD {
0013     typedef ROOT::Math::SVector<double, N> type;
0014   };
0015 
0016   /// fixed size vector

0017   template <unsigned int N>
0018   struct VectorF {
0019     typedef ROOT::Math::SVector<float, N> type;
0020   };
0021 
0022   /// fixed size vector

0023   template <unsigned int N>
0024   struct Vector {
0025     typedef typename VectorD<N>::type type;
0026   };
0027 }  // namespace math

0028 
0029 #endif