CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_6/src/DataFormats/Math/interface/Vector.h

Go to the documentation of this file.
00001 #ifndef TrackReco_Vector_h
00002 #define TrackReco_Vector_h
00003 // $Id: Vector.h,v 1.6 2006/11/20 09:06:52 llista Exp $
00004 #include "Rtypes.h"
00005 #include "Math/SVector.h"
00006 
00007 namespace math {
00008 
00010   template<unsigned int N>
00011   struct VectorD {
00012     typedef ROOT::Math::SVector<double, N> type;
00013   };
00014 
00016   template<unsigned int N>
00017   struct VectorF {
00018     typedef ROOT::Math::SVector<float, N> type;
00019   };
00020 
00022   template<unsigned int N>
00023   struct Vector {
00024     typedef typename VectorD<N>::type type;
00025   };
00026 }
00027 
00028 #endif