File indexing completed on 2025-09-17 09:14:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef ROOT_Minuit2_MnFunctionCross
0011 #define ROOT_Minuit2_MnFunctionCross
0012
0013 #include "Minuit2/MnConfig.h"
0014
0015 #include <ROOT/RSpan.hxx>
0016
0017 #include <vector>
0018
0019 namespace ROOT {
0020
0021 namespace Minuit2 {
0022
0023 class FCNBase;
0024 class MnUserParameterState;
0025 class MnStrategy;
0026 class MnCross;
0027
0028
0029
0030
0031
0032 class MnFunctionCross {
0033
0034 public:
0035 MnFunctionCross(const FCNBase &fcn, const MnUserParameterState &state, double fval, const MnStrategy &stra)
0036 : fFCN(fcn), fState(state), fFval(fval), fStrategy(stra)
0037 {
0038 }
0039
0040 MnCross operator()(std::span<const unsigned int> , std::span<const double>, std::span<const double>,
0041 double, unsigned int) const;
0042
0043 private:
0044 const FCNBase &fFCN;
0045 const MnUserParameterState &fState;
0046 double fFval;
0047 const MnStrategy &fStrategy;
0048 };
0049
0050 }
0051
0052 }
0053
0054 #endif