/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-45/MdcTrkRecon/mdcTwoVec.h File Reference

Go to the source code of this file.

Functions

void mdcTwoVec (const double matrix[3], const double invect[2], double outvect[2])


Function Documentation

void mdcTwoVec ( const double  matrix[3],
const double  invect[2],
double  outvect[2] 
) [inline]

Definition at line 3 of file mdcTwoVec.h.

Referenced by MdcSegGrouper::calcParBySegs().

00004                                          {
00005 
00006   double buffvec[2];   /* Buffer the output in case outvect = invect. */
00007 
00008   /************************************************************************/
00009 
00010   buffvec[0] = matrix[0] * invect[0] + matrix[1] * invect[1];
00011   buffvec[1] = matrix[1] * invect[0] + matrix[2] * invect[1];
00012 
00013   outvect[0] = buffvec[0];
00014   outvect[1] = buffvec[1];
00015 
00016   return;
00017 }


Generated on Tue Nov 29 23:16:56 2016 for BOSS_7.0.2 by  doxygen 1.4.7