Logo ROOT   6.10/09
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 
21 
22 class FCNBase;
23 class MnUserParameterState;
24 class MnStrategy;
25 class MnCross;
26 
27 /**
28  MnFunctionCross
29 */
30 
32 
33 public:
34 
35  MnFunctionCross(const FCNBase& fcn, const MnUserParameterState& state, double fval, const MnStrategy& stra) : fFCN(fcn), fState(state), fFval(fval), fStrategy(stra) {}
36 
38 
39  MnCross operator()(const std::vector<unsigned int>&, const std::vector<double>&, const std::vector<double>&, double, unsigned int) const;
40 
41 private:
42 
43  const FCNBase& fFCN;
45  double fFval;
47 };
48 
49  } // namespace Minuit2
50 
51 } // namespace ROOT
52 
53 #endif // ROOT_Minuit2_MnFunctionCross
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
MnFunctionCross(const FCNBase &fcn, const MnUserParameterState &state, double fval, const MnStrategy &stra)
const MnUserParameterState & fState
Interface (abstract class) defining the function to be minimized, which has to be implemented by the ...
Definition: FCNBase.h:47
class which holds the external user and/or internal Minuit representation of the parameters and error...
MnCross operator()(const std::vector< unsigned int > &, const std::vector< double > &, const std::vector< double > &, double, unsigned int) const
API class for defining three levels of strategies: low (0), medium (1), high (>=2); acts on: Migrad (...
Definition: MnStrategy.h:27