OPAL (Object Oriented Parallel Accelerator Library)
2024.2
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
8
class
Filter
{
9
10
public
:
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
Filter::calc_derivative
virtual void calc_derivative(std::vector< double > &histogram, const double &h)=0
Filter::apply
virtual void apply(std::vector< double > &histogram)=0
Filter::~Filter
virtual ~Filter()
Definition
Filter.h:12
Filter::Filter
Filter()
Definition
Filter.h:11