CMS 3D CMS Logo

LocalTrajectoryError.cc

Go to the documentation of this file.
00001 #include "TrackingTools/TrajectoryParametrization/interface/LocalTrajectoryError.h"
00002 
00003 LocalTrajectoryError::
00004 LocalTrajectoryError( float dx, float dy, float dxdir, float dydir,
00005                       float dpinv) : theCovarianceMatrix(), theWeightMatrixPtr()
00006 {
00007   theCovarianceMatrix(3,3) = dx*dx;
00008   theCovarianceMatrix(4,4) = dy*dy;
00009   theCovarianceMatrix(1,1) = dxdir*dxdir;
00010   theCovarianceMatrix(2,2) = dydir*dydir;
00011   theCovarianceMatrix(0,0) = dpinv*dpinv;
00012   
00013 }
00014 /*LocalTrajectoryError::
00015 LocalTrajectoryError( float dx, float dy, float dxdir, float dydir,
00016                       float dpinv)
00017 {
00018   AlgebraicSymMatrix55 em;
00019   em(3,3) = dx*dx;
00020   em(4,4) = dy*dy;
00021   em(1,1) = dxdir*dxdir;
00022   em(2,2) = dydir*dydir;
00023   em(0,0) = dpinv*dpinv;
00024   
00025   theCovarianceMatrix = em;
00026 }*/

Generated on Tue Jun 9 17:48:35 2009 for CMSSW by  doxygen 1.5.4