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