The mapping with two transfos in a row. More...
#include <twotransfomapping.h>
Public Member Functions | |
TwoTransfoMapping (SimpleGtransfoMapping *ChipM, SimpleGtransfoMapping *ShootM) | |
unsigned | Npar () const |
Mumber of parameters in total. | |
void | GetMappingIndices (std::vector< unsigned > &Indices) const |
Provides for this parameter set (of length Npar()) how they map into the "grand" fit. | |
void | ComputeTransformAndDerivatives (const FatPoint &Where, FatPoint &OutPos, Eigen::MatrixX2d &H) const |
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters. More... | |
void | TransformPosAndErrors (const FatPoint &Where, FatPoint &OutPos) const |
The same as above but without the parameter derivatives (used to evaluate chi^2) | |
const Gtransfo & | T1 () const |
access to transfos | |
const Gtransfo & | T2 () const |
access to transfos | |
void | PosDerivative (Point &Where, Eigen::Matrix2d &Der, const double &Eps) const |
Currently not implemented. | |
Friends | |
class | ConstrainedPolyModel |
The mapping with two transfos in a row.
|
virtual |
Actually applies the mapping and evaluates the derivatives w.r.t the fitted parameters.
This is grouped into a single call because for most models, evaluating the derivatives w.r.T parameters is not much longer than just transforming
Implements Mapping.