Logo ROOT  
Reference Guide
MnFunctionCross.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_MnFunctionCross
11 #define ROOT_Minuit2_MnFunctionCross
12 
13 #include "Minuit2/MnConfig.h"
14 #include <vector>
15 
16 namespace ROOT {
17 
18 namespace Minuit2 {
19 
20 class FCNBase;
21 class MnUserParameterState;
22 class MnStrategy;
23 class MnCross;
24 
25 /**
26  MnFunctionCross
27 */
28 
30 
31 public:
32  MnFunctionCross(const FCNBase &fcn, const MnUserParameterState &state, double fval, const MnStrategy &stra)
33  : fFCN(fcn), fState(state), fFval(fval), fStrategy(stra)
34  {
35  }
36 
38 
39  MnCross operator()(const std::vector<unsigned int> &, const std::vector<double> &, const std::vector<double> &,
40  double, unsigned int) const;
41 
42 private:
43  const FCNBase &fFCN;
45  double fFval;
47 };
48 
49 } // namespace Minuit2
50 
51 } // namespace ROOT
52 
53 #endif // ROOT_Minuit2_MnFunctionCross
ROOT::Minuit2::MnFunctionCross
MnFunctionCross.
Definition: MnFunctionCross.h:29
ROOT::Minuit2::MnFunctionCross::operator()
MnCross operator()(const std::vector< unsigned int > &, const std::vector< double > &, const std::vector< double > &, double, unsigned int) const
Definition: MnFunctionCross.cxx:25
ROOT::Minuit2::FCNBase
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition: FCNBase.h:45
ROOT::Minuit2::MnFunctionCross::~MnFunctionCross
~MnFunctionCross()
Definition: MnFunctionCross.h:37
ROOT::Minuit2::MnFunctionCross::fState
const MnUserParameterState & fState
Definition: MnFunctionCross.h:44
ROOT::Minuit2::MnCross
Definition: MnCross.h:19
ROOT::Minuit2::MnFunctionCross::fFval
double fFval
Definition: MnFunctionCross.h:45
ROOT::Minuit2::MnFunctionCross::MnFunctionCross
MnFunctionCross(const FCNBase &fcn, const MnUserParameterState &state, double fval, const MnStrategy &stra)
Definition: MnFunctionCross.h:32
ROOT::Minuit2::MnFunctionCross::fFCN
const FCNBase & fFCN
Definition: MnFunctionCross.h:43
ROOT::Minuit2::MnUserParameterState
class which holds the external user and/or internal Minuit representation of the parameters and error...
Definition: MnUserParameterState.h:33
ROOT::Minuit2::MnStrategy
API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (...
Definition: MnStrategy.h:27
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition: EExecutionPolicy.hxx:4
ROOT::Minuit2::MnFunctionCross::fStrategy
const MnStrategy & fStrategy
Definition: MnFunctionCross.h:46
MnConfig.h