2 #ifndef LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H 3 #define LSST_JOINTCAL_TWO_TRANSFO_MAPPING_H 18 unsigned _nPar1, _nPar2;
22 Eigen::Matrix2d dt2dx;
25 std::unique_ptr<tmpVars> tmp;
68 void setWhatToFit(
const bool fittingT1,
const bool fittingT2);
73 #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.
void setMappingIndices(std::vector< unsigned > &indices) const
Sets how this set of parameters (of length Npar()) map into the "grand" fit Expects that indices has ...
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.
void offsetParams(double const *delta)
Remember the error scale and freeze it.
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 freezeErrorScales()
Currently not implemented.
Eigen::Matrix< double, Eigen::Dynamic, 2 > MatrixX2d
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
void offsetParams(double const *delta)
Remember the error scale and freeze it.
Gtransfo const & getTransfo1() const
access to transfos
Gtransfo const & getTransfo2() const
access to transfos