12#include "MdcAlignAlg/Alignment.h"
26 ,
int nloc,
double startfact,
int nstd
27 ,
double res_cut,
double res_cut_init);
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;
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
bool initialize()
Initialization.
bool InitMille(bool DOF[], double Sigm[], int nglo, int nloc, double startfact, int nstd, double res_cut, double res_cut_init)
void SetTrackNumber(int value)
bool ZerLoc(double dergb[], double derlc[], double dernl[])
bool EquLoc(double dergb[], double derlc[], double dernl[], double rmeas, double sigma)
bool MakeGlobalFit(double par[], double error[], double pull[])
bool ParGlo(int index, double param)
bool FitLoc(int n, double track_params[], int single_fit)
bool ParSig(int index, double sigma)
Millepede()
Standard constructor.
bool ConstF(double dercs[], double rhs)