File indexing completed on 2025-01-30 10:22:33
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROOT_RFit
0017 #define ROOT_RFit
0018
0019 #include <array>
0020 #include <functional>
0021
0022 #include "ROOT/RSpan.hxx"
0023
0024 #include "ROOT/RHist.hxx"
0025
0026 namespace ROOT {
0027 namespace Experimental {
0028
0029 class RFitResult {
0030 };
0031
0032 template <int DIMENSION>
0033 class RFunction {
0034 public:
0035 RFunction(std::function<double(const std::array<double, DIMENSION> &, const std::span<const double> par)> func) {}
0036 };
0037
0038 template <int DIMENSIONS, class PRECISION, template <int D_, class P_> class... STAT>
0039 RFitResult FitTo(const RHist<DIMENSIONS, PRECISION, STAT...> &hist, const RFunction<DIMENSIONS> &func,
0040 std::span<const double> paramInit)
0041 {
0042 return RFitResult();
0043 }
0044
0045 }
0046 }
0047
0048 #endif