3#include "CLHEP/GenericFunctions/FunctionTimesParameter.hh"
4#include "CLHEP/GenericFunctions/Parameter.hh"
10 _function(function->clone()),
11 _parameter(parameter->clone())
13 if (parameter->parameter() && _parameter->parameter()) {
14 _parameter->parameter()->connectFrom(parameter->parameter());
20 _function(right._function->clone()),
21 _parameter(right._parameter->clone())
37 return _parameter->
getValue() * (*_function)(x);
43 return _parameter->
getValue() * (*_function)(x);
#define FUNCTION_OBJECT_IMP(classname)
virtual Derivative partial(unsigned int) const
virtual unsigned int dimensionality() const
virtual double getValue() const =0
virtual ~FunctionTimesParameter()
Derivative partial(unsigned int) const override
virtual unsigned int dimensionality() const override
FunctionTimesParameter(const AbsParameter *parameter, const AbsFunction *function)
virtual double operator()(double argument) const override