25 bool InitMille(
bool DOF[],
double Sigm[],
int nglo
26 ,
int nloc,
double startfact,
int nstd
27 ,
double res_cut,
double res_cut_init);
28 bool MakeGlobalFit(
double par[],
double error[],
double pull[]);
29 bool ParGlo(
int index,
double param);
31 bool ConstF(
double dercs[],
double rhs);
32 bool EquLoc(
double dergb[],
double derlc[],
double dernl[],
double rmeas,
double sigma);
33 bool ZerLoc(
double dergb[],
double derlc[],
double dernl[]);
34 bool FitLoc(
int n,
double track_params[],
int single_fit);
51 static const int mglobl = 400;
52 static const int mlocal = 20;
53 static const int mcs = 10;
54 static const int mgl = 410;
59 bool InitUn (
double cutfac);
63 double CorPar(
int i,
int j);
64 int SpmInv(
double v[][mgl],
double b[],
int n,
double diag[],
bool flag[]);
65 int SpmInv(
double v[][mlocal],
double b[],
int n,
double diag[],
bool flag[]);
66 bool SpAVAt(
double v[][mlocal],
double a[][mlocal],
double w[][mglobl],
int n,
int m);
67 bool SpAX(
double a[][mlocal],
double x[],
double y[],
int n,
int m);
68 double chindl(
int n,
int nd);
72 double cgmat[mgl][mgl];
73 double clmat[mlocal][mlocal];
74 double clcmat[mglobl][mlocal];
75 double corrm[mglobl][mglobl];
76 double adercs[mcs][mglobl];
81 double corrv[mglobl], psigm[mglobl], pparm[mglobl], dparm[mglobl];
82 double scdiag[mglobl], blvec[mlocal], arhs[mcs], diag[mgl], bgvec[mgl];
84 int indgb[mglobl], nlnpa[mglobl], indnz[mglobl], indbk[mglobl], indlc[mlocal];
88 std::vector<int> indst;
89 std::vector<double> arest;
90 std::vector<double> arenl;
92 std::vector<int> storeind;
93 std::vector<int> storeplace;
94 std::vector<double> storeare;
95 std::vector<double> storenl;
100 double m_residual_cut_init;
101 double m_residual_cut;
103 double cfactr, cfactref;
105 int itert, nst, nfl, ncs, nstdev;
106 int loctot, locrej, nagb, nalc, nrank;
bool InitMille(bool DOF[], double Sigm[], int nglo, int nloc, double startfact, int nstd, double res_cut, double res_cut_init)