1 #ifndef PhysicTools_Utilities_RootFunctionAdapter_h
2 #define PhysicTools_Utilities_RootFunctionAdapter_h
4 #include <boost/shared_ptr.hpp>
10 template<
typename F,
unsigned int args>
18 for(
size_t i = 0;
i <
pars_.size(); ++
i) {
30 std::vector<boost::shared_ptr<double> >
pars_;
void setParameters(const double *pars)
size_t numberOfParameters() const
std::vector< boost::shared_ptr< double > > pars_
void addParameter(const boost::shared_ptr< double > &par)
double operator()(const double *var) const
RootFunctionAdapter(F &f)
const double par[8 *NPar][4]
string root
initialization