8 #ifndef GBLTRAJECTORY_H_
9 #define GBLTRAJECTORY_H_
16 #include "TMatrixDSymEigen.h"
25 GblTrajectory(
const std::vector<GblPoint> &aPointList,
bool flagCurv =
true,
26 bool flagU1dir =
true,
bool flagU2dir =
true);
27 GblTrajectory(
const std::vector<GblPoint> &aPointList,
unsigned int aLabel,
28 const TMatrixDSym &aSeed,
bool flagCurv =
true,
bool flagU1dir =
29 true,
bool flagU2dir =
true);
31 const std::vector<std::pair<std::vector<GblPoint>, TMatrixD> > &aPointaAndTransList);
33 const std::vector<std::pair<std::vector<GblPoint>, TMatrixD> > &aPointaAndTransList,
34 const TMatrixD &extDerivatives,
const TVectorD &extMeasurements,
35 const TVectorD &extPrecisions);
38 unsigned int getResults(
int aSignedLabel, TVectorD &localPar,
39 TMatrixDSym &localCov)
const;
40 unsigned int getMeasResults(
unsigned int aLabel,
unsigned int &numRes,
41 TVectorD &aResiduals, TVectorD &aMeasErrors, TVectorD &aResErrors,
42 TVectorD &aDownWeights);
43 unsigned int getScatResults(
unsigned int aLabel,
unsigned int &numRes,
44 TVectorD &aResiduals, TVectorD &aMeasErrors, TVectorD &aResErrors,
45 TVectorD &aDownWeights);
46 unsigned int fit(
double &Chi2,
int &Ndf,
double &lostWeight,
47 std::string optionList =
"");
77 std::pair<std::vector<unsigned int>, TMatrixD>
getJacobian(
78 int aSignedLabel)
const;
81 unsigned int nJacobian = 1)
const;
92 double &aMeadsError,
double &aResError,
double &aDownWeight);