1 #ifndef PhysicsTools_Utilities_Convolution_h
2 #define PhysicsTools_Utilities_Convolution_h
7 template<
typename A,
typename B,
typename Integrator>
12 double min,
double max,
const Integrator & integrator) :
16 <<
"Convolution: min must be smaller than max\n";
25 void setX(
double x)
const {
x_ = x; }
39 template<
typename A,
typename B,
typename Integrator>
43 return type(a, b, min, max, i);
47 template<
typename A,
typename B,
typename Integrator>
ConvolutionStruct< A, B, Integrator > type
funct::Convolution< A, B, Integrator >::type conv(const A &a, const B &b, double min, double max, const Integrator &i)
ConvolutionStruct(const A &a, const B &b, double min, double max, const Integrator &integrator)
double operator()(double y) const
static type compose(const A &a, const B &b, double min, double max, const Integrator &i)
double operator()(double x) const
void setX(double x) const