Nanga Parbat 1.1.0
A TMD fitting framework
fcnceres.h
Go to the documentation of this file.
1//
2// Authors: Valerio Bertone: valerio.bertone@cern.ch
3//
4
5#pragma once
6
8
9namespace NangaParbat
10{
16 {
17 public:
22 FcnCeres(ChiSquare const& chi2);
23
30 bool operator()(double const* const* parameters, double* residuals) const;
31
32 private:
33 mutable ChiSquare _chi2;
34 };
35}
The "ChiSquare" class computes the χ2's given a set of "DataHandler" objects and the corresponding "C...
Definition: chisquare.h:22
The "FcnCeres" class to be used with ceres-solver to minimise the χ2.
Definition: fcnceres.h:16
bool operator()(double const *const *parameters, double *residuals) const
Operator required by Ceres to compute the function to be minimised.
ChiSquare _chi2
The "ChiSquare" object that returns the values of all chi2's.
Definition: fcnceres.h:33
FcnCeres(ChiSquare const &chi2)
The "FcnCeres" default constructor.
Definition: bstar.h:12