Logo ROOT  
Reference Guide
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
17 namespace Minuit2 {
18
19
20class MnUserTransformation;
21
22 /**
23 Wrapper used by Minuit of FCN interface
24 containing a reference to the transformation object
25 */
26class MnUserFcn : public MnFcn {
27
28public:
29
30 MnUserFcn(const FCNBase& fcn, const MnUserTransformation& trafo, int ncall = 0) :
31 MnFcn(fcn,ncall), fTransform(trafo) {}
32
34
35 virtual double operator()(const MnAlgebraicVector&) const;
36
37private:
38
40};
41
42 } // namespace Minuit2
43
44} // namespace ROOT
45
46#endif // ROOT_Minuit2_MnUserFcn
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition: FCNBase.h:47
Wrapper class to FCNBase interface used internally by Minuit.
Definition: MnFcn.h:33
Wrapper used by Minuit of FCN interface containing a reference to the transformation object.
Definition: MnUserFcn.h:26
const MnUserTransformation & fTransform
Definition: MnUserFcn.h:39
virtual double operator()(const MnAlgebraicVector &) const
Definition: MnUserFcn.cxx:19
MnUserFcn(const FCNBase &fcn, const MnUserTransformation &trafo, int ncall=0)
Definition: MnUserFcn.h:30
class dealing with the transformation between user specified parameters (external) and internal param...
VSD Structures.
Definition: StringConv.hxx:21