A helper class initializing the function vector. More...
#include <GausFitCache.h>
Static Public Member Functions | |
| static void | fill (CompiledGausFitCacheBaseStruct &cache) |
A helper class initializing the function vector.
| NFunc | the maximum number of base functions in a function |
| Func | the function encapsulating object |
| Others | other template parameters of the function object |
This helper class provides a static function fill() that fills the function vector of the specified CompiledGausFitCacheBaseStruct with a sequence on NFunc+1 functions, of types Func<0, Others...>, Func<1, Others...>, ... up to Func<NFunc, Others...> included. Each function is actually wrapped by a ROOT's TF1. Func type is a class, and the actual function must be found in the member Func::eval. Also the Func class is required to have a NParams static constexpr member whose value is the number of parameters that theeval()` function takes.
The template FuncSum is implementing all these requirements.
Definition at line 241 of file GausFitCache.h.
|
static |
Definition at line 425 of file GausFitCache.h.
1.8.5