20 #ifndef OPAL_FILTER_HH
21 #define OPAL_FILTER_HH
54 void print(std::ostream& os)
const;
58 inline void apply(std::vector<double>& histogram);
59 inline void calc_derivative(std::vector<double>& histogram,
const double& hz);
94 #endif // OPAL_FILTER_HH
void print(std::ostream &os) const
Print the object.
The base class for all OPAL objects.
static OpalFilter * find(const std::string &name)
Find named FILTER.
virtual void execute()
Check the OpalFilter data.
std::ostream & operator<<(std::ostream &os, const Attribute &attr)
virtual OpalFilter * clone(const std::string &name)
Make clone.
void apply(std::vector< double > &histogram)
virtual void apply(std::vector< double > &histogram)=0
OpalFilter()
Exemplar constructor.
virtual void update()
Update the OpalFilter data.
virtual void calc_derivative(std::vector< double > &histogram, const double &h)=0
virtual bool canReplaceBy(Object *object)
Test if replacement is allowed.
The base class for all OPAL definitions.
void operator=(const OpalFilter &)
void calc_derivative(std::vector< double > &histogram, const double &hz)