10 void expd(
double veca[3],
double vecb[3],
double val[3]);
13 int dist2Line(
double sta[3],
double stb[3],
double veca[3],
double vecb[3],
double &d,
double xyz_a[3],
double xyz_b[3],
int fgZcal = 1);
16 double docaHelixWire(
double trkpar[],
double wirest[],
double wirev[],
double &zwire,
double zini);
17 bool getDoca(
double trkpar[],
double wpos[],
double &doca,
double whitPos[],
double zini);
18 double getPhiIni(
double trkpar[],
double rLayer,
double pos[]);
21 bool getDeriLoc(
int ipar,
double helix[],
double &deri,
double wpos[],
double zini);
26 const double CC = 2.99792458E10;
27 const double PI = 3.141592653;
28 const double PI2 = 6.283185307;
29 const double HFPI = 1.570796327;
36 const double gStepLC[5] = {0.0001, 0.0001, 0.00001, 0.0001, 0.0001};
double getPhiIni(double trkpar[], double rLayer, double pos[])
bool getDeriLoc(int ipar, double helix[], double &deri, double wpos[], double zini)
void expd(double veca[3], double vecb[3], double val[3])
bool getDoca(double trkpar[], double wpos[], double &doca, double whitPos[], double zini)
doca: distance of closest approach.
int dist2Line(double sta[3], double stb[3], double veca[3], double vecb[3], double &d, double xyz_a[3], double xyz_b[3], int fgZcal=1)
double docaHelixWire(double trkpar[], double wirest[], double wirev[], double &zwire, double zini)