LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
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 the
eval()` function takes.
The template FuncSum is implementing all these requirements.
Definition at line 245 of file GausFitCache.h.
|
static |
Definition at line 429 of file GausFitCache.h.
References trkf::fill(), hit::GausFitCache::funcs, and hit::GausFitCache::FunctionName().