Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
MnUserFcn.h
Go to the documentation of this file.
1// @(#)root/minuit2:$Id$
2// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7 * *
8 **********************************************************************/
9
10#ifndef ROOT_Minuit2_MnUserFcn
11#define ROOT_Minuit2_MnUserFcn
12
13#include "Minuit2/MnFcn.h"
14
15namespace ROOT {
16
17namespace Minuit2 {
18
19class MnUserTransformation;
20
21/**
22 Wrapper used by Minuit of FCN interface
23 containing a reference to the transformation object
24 */
25class MnUserFcn : public MnFcn {
26
27public:
28 MnUserFcn(const FCNBase &fcn, const MnUserTransformation &trafo, int ncall = 0)
29 : MnFcn(fcn, ncall), fTransform(trafo)
30 {
31 }
32
33 ~MnUserFcn() override {}
34
35 double operator()(const MnAlgebraicVector &) const override;
36
37private:
39};
40
41} // namespace Minuit2
42
43} // namespace ROOT
44
45#endif // ROOT_Minuit2_MnUserFcn
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition FCNBase.h:45
Wrapper class to FCNBase interface used internally by Minuit.
Definition MnFcn.h:30
Wrapper used by Minuit of FCN interface containing a reference to the transformation object.
Definition MnUserFcn.h:25
const MnUserTransformation & fTransform
Definition MnUserFcn.h:38
double operator()(const MnAlgebraicVector &) const override
Definition MnUserFcn.cxx:18
MnUserFcn(const FCNBase &fcn, const MnUserTransformation &trafo, int ncall=0)
Definition MnUserFcn.h:28
class dealing with the transformation between user specified parameters (external) and internal param...
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.