2 #ifndef LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H 3 #define LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H 62 void setWhatToFit(
const bool fittingT1,
const bool fittingT2);
65 unsigned _nPar1, _nPar2;
69 Eigen::Matrix2d dt2dx;
77 #endif // LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H TwoTransfoMapping(SimpleGtransfoMapping *chipMapping, SimpleGtransfoMapping *visitMapping)
void positionDerivative(Point const &where, Eigen::Matrix2d &derivative, double epsilon) const
Currently not implemented.
virtual class needed in the abstraction of the distortion model
virtual Gtransfo const & getTransfo() const
Access to the (fitted) transfo.
The mapping with two transfos in a row.
void computeTransformAndDerivatives(FatPoint const &where, FatPoint &outPoint, Eigen::MatrixX2d &H) const
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.
A Point with uncertainties.
unsigned getNpar() const
Number of parameters in total.
unsigned getNpar() const
Number of parameters in total.
This is the model used to fit mappings as the combination of a transformation depending on the chip n...
Class for a simple mapping implementing a generic Gtransfo.
void offsetParams(Eigen::VectorXd const &delta)
Remember the error scale and freeze it.
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
void freezeErrorTransform()
Currently not implemented.
unsigned getIndex() const
position of the parameters within the grand fitting scheme
void getMappingIndices(std::vector< unsigned > &indices) const
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
a virtual (interface) class for geometric transformations.
void transformPosAndErrors(FatPoint const &where, FatPoint &outPoint) const
The same as above but without the parameter derivatives (used to evaluate chi^2)
TwoTransfoMapping & operator=(TwoTransfoMapping const &)=delete
Gtransfo const & getTransfo1() const
access to transfos
Gtransfo const & getTransfo2() const
access to transfos
void offsetParams(Eigen::VectorXd const &delta)
Remember the error scale and freeze it.