OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Filter.h
Go to the documentation of this file.
1#ifndef CLASSIC_FILTER_HH
2#define CLASSIC_FILTER_HH
3
4//#include <iostream>
5#include <vector>
6//#include <cmath>
7
8class Filter {
9
10public:
11 Filter() { ;}
12 virtual ~Filter() { };
13 virtual void apply(std::vector<double> &histogram) = 0;
14 virtual void calc_derivative(std::vector<double> &histogram, const double &h) = 0;
15
16};
17
18#endif //CLASSIC_FILTER_HH
Definition: Filter.h:8
virtual void calc_derivative(std::vector< double > &histogram, const double &h)=0
virtual void apply(std::vector< double > &histogram)=0
virtual ~Filter()
Definition: Filter.h:12
Filter()
Definition: Filter.h:11