File indexing completed on 2025-01-18 09:54:35
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef FunctionConvolution_h
0016 #define FunctionConvolution_h 1
0017 #include "CLHEP/GenericFunctions/AbsFunction.hh"
0018
0019 namespace Genfun {
0020
0021
0022
0023
0024
0025 class FunctionConvolution : public AbsFunction {
0026
0027 FUNCTION_OBJECT_DEF(FunctionConvolution)
0028
0029 public:
0030
0031
0032 FunctionConvolution(const AbsFunction *arg1, const AbsFunction *arg2, double x0, double x1);
0033
0034
0035 FunctionConvolution(const FunctionConvolution &right);
0036
0037
0038 virtual ~FunctionConvolution();
0039
0040
0041 virtual double operator ()(double argument) const override;
0042 virtual double operator ()(const Argument & argument) const override {return operator() (argument[0]);}
0043
0044 private:
0045
0046
0047 const FunctionConvolution & operator=(const FunctionConvolution &right);
0048
0049
0050 const AbsFunction *_arg1;
0051 const AbsFunction *_arg2;
0052 double _x0;
0053 double _x1;
0054
0055 };
0056 }
0057 #endif