1 #ifndef GUARD_surveypxbimagelocalfit_h
2 #define GUARD_surveypxbimagelocalfit_h
9 #include "Math/SMatrix.h"
10 #include "Math/SVector.h"
70 ROOT::Math::SVector<value_t, nMsrmts>
r;
107 return sqrt(dx * dx + dy * dy);
bool isFitValid()
returns validity flag
std::vector< coord_t > fidpoint_t
static const count_t nLcPars
localpars_t getLocalParameters()
returns local parameters after fit
void setLocalDerivsToZero(count_t i)
bool fitValidFlag_
Validity Flag.
pede_label_t getGlobalDerivsSize()
const pede_deriv_t * getLocalDerivsPtr(count_t i)
std::vector< pede_label_t > labelVec2_
value_t sigma_x_
Gaussian errors.
localpars_t a_
Local parameters.
Class to hold one picture of the BPix survey and the local fit.
static const count_t nFidpoints
value_t getChi2()
returns the chi^2 of the fit
ROOT::Math::SVector< value_t, nMsrmts > r
Vector of residuals.
Point3DBase< value_t, LocalTag > coord_t
static const count_t nGlD
pede_deriv_t getSigma(count_t i)
static const count_t nLcD
pede_deriv_t getResiduum(count_t i)
const pede_deriv_t * getGlobalDerivsPtr(count_t i)
SurveyPxbImageLocalFit(std::istringstream &iss)
Constructor from istringstream.
std::vector< pede_label_t > labelVec1_
Vector with labels to global derivs.
pede_label_t getLocalDerivsSize()
void doFit(const fidpoint_t &fidpointvec)
Invoke the fit.
Class to hold one picture of the BPix survey.
value_t chi2_
chi2 of the local fit
value_t dist(const coord_t &p1, const coord_t &p2)
Distance.
ROOT::Math::SMatrix< pede_deriv_t, nMsrmts, nGlD > globalDerivsMatrix_
Matrix with global derivs.
std::vector< value_t > localpars_t
std::vector< coord_t > fidpoints_
True position of the fiducial points on a sensor wrt. local frame (u,v)
void initFidPoints()
Initialise the fiducial points.
static const count_t nMsrmts
ROOT::Math::SMatrix< pede_deriv_t, nMsrmts, nLcD > localDerivsMatrix_
Matrix with local derivs.
const pede_label_t * getGlobalDerivsLabelPtr(count_t i)
void setGlobalDerivsToZero(count_t i)