1 #ifndef PhysicTools_Utilities_RootFunctionAdapter_h 2 #define PhysicTools_Utilities_RootFunctionAdapter_h 11 template <
typename F,
unsigned int args>
17 for (
size_t i = 0;
i <
pars_.size(); ++
i) {
26 std::vector<std::shared_ptr<double> >
pars_;
void setParameters(const double *pars)
size_t numberOfParameters() const
double operator()(const double *var) const
RootFunctionAdapter(F &f)
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
std::vector< std::shared_ptr< double > > pars_
void addParameter(const std::shared_ptr< double > &par)