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
15#include <vector>
16
17namespace ROOT {
18
19namespace Minuit2 {
20
21class MnUserTransformation;
22
23/**
24 Wrapper used by Minuit of FCN interface
25 containing a reference to the transformation object
26 */
27class MnUserFcn : public MnFcn {
28
29public:
32 {
33 }
34
35 ~MnUserFcn() override {}
36
37 double operator()(const MnAlgebraicVector &) const override;
38
39 // Access the parameter transformations.
40 // For internal use in the Minuit2 implementation.
41 const MnUserTransformation &transform() const { return fTransform; }
42
43 double callWithTransformedParams(std::vector<double> const &vpar) const;
44
45private:
47};
48
49} // namespace Minuit2
50
51} // namespace ROOT
52
53#endif // ROOT_Minuit2_MnUserFcn
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition FCNBase.h:51
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:27
double callWithTransformedParams(std::vector< double > const &vpar) const
Definition MnUserFcn.cxx:44
const MnUserTransformation & transform() const
Definition MnUserFcn.h:41
const MnUserTransformation & fTransform
Definition MnUserFcn.h:46
double operator()(const MnAlgebraicVector &) const override
Definition MnUserFcn.cxx:18
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...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...