1 #ifndef GUARD_surveypxbimagelocalfit_h
2 #define GUARD_surveypxbimagelocalfit_h
9 #include "Math/SMatrix.h"
10 #include "Math/SVector.h"
73 ROOT::Math::SVector<value_t, nMsrmts>
r;
112 return sqrt(dx*dx+dy*dy);
bool isFitValid()
returns validity flag
value_t dist(coord_t p1, coord_t p2)
Distance.
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.
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.
const pede_label_t getGlobalDerivsSize()
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.
const pede_deriv_t getResiduum(count_t i)
Point3DBase< value_t, LocalTag > coord_t
static const count_t nGlD
ROOT::Math::SMatrix< pede_deriv_t, nMsrmts, nLcD > localDerivsMatrix_
Matrix with local derivs.
static const count_t nLcD
ROOT::Math::SMatrix< pede_deriv_t, nMsrmts, nGlD > globalDerivsMatrix_
Matrix with global derivs.
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.
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
std::vector< value_t > localpars_t
const pede_deriv_t getSigma(count_t i)
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
const pede_label_t * getGlobalDerivsLabelPtr(count_t i)
const pede_label_t getLocalDerivsSize()
void setGlobalDerivsToZero(count_t i)