BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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

◆ mdcTwoVec()

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

Definition at line 3 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcTrkRecon/mdcTwoVec.h.

3 {
4
5 double buffvec[2]; /* Buffer the output in case outvect = invect. */
6
7 /************************************************************************/
8
9 buffvec[0] = matrix[0] * invect[0] + matrix[1] * invect[1];
10 buffvec[1] = matrix[1] * invect[0] + matrix[2] * invect[1];
11
12 outvect[0] = buffvec[0];
13 outvect[1] = buffvec[1];
14
15 return;
16}

Referenced by MdcSegGrouper::calcParBySegs().