Track.h

Go to the documentation of this file.
00001 // dummy track class for testing I/o of matric
00002 
00003 #include "Math/SMatrix.h"
00004 
00005 
00006 typedef double Double32_t;
00007 
00008 typedef ROOT::Math::SMatrix<double,5,5,ROOT::Math::MatRepStd<double,5,5> >          SMatrix5D; 
00009 typedef ROOT::Math::SMatrix<Double32_t,5,5,ROOT::Math::MatRepStd<Double32_t,5,5> >  SMatrix5D32; 
00010 
00011 // track class based on SMatrix of double
00012 class  TrackD { 
00013 
00014 public:
00015    TrackD() {}
00016 
00017    TrackD(const SMatrix5D & cov) : fCov(cov) {}
00018 
00019    SMatrix5D & CovMatrix() { return fCov; }
00020 
00021 private:
00022    
00023    SMatrix5D  fCov; 
00024    
00025 }; 
00026 
00027 // track class based on Smatrix of Double32
00028 
00029 class  TrackD32 { 
00030 
00031 public:
00032    TrackD32() {}
00033 
00034    TrackD32(const SMatrix5D32 & cov) : fCov(cov) {}
00035 
00036    SMatrix5D & CovMatrix() { return fCov; }
00037 
00038 private:
00039    
00040    SMatrix5D32  fCov; 
00041    
00042 }; 

Generated on Tue Jul 5 14:33:21 2011 for ROOT_528-00b_version by  doxygen 1.5.1