Public Member Functions | Private Attributes | List of all members
WireCell::Response::HfFilter Class Reference

#include <Response.h>

Inheritance diagram for WireCell::Response::HfFilter:
WireCell::Response::Generator

Public Member Functions

 HfFilter (double sigma, double power, bool flag)
 
virtual ~HfFilter ()
 
virtual double operator() (double freq) const
 
- Public Member Functions inherited from WireCell::Response::Generator
virtual ~Generator ()
 
WireCell::Waveform::realseq_t generate (const WireCell::Waveform::Domain &domain, int nsamples)
 FIXME: eradicate Domain in favor of Binning. More...
 
WireCell::Waveform::realseq_t generate (const WireCell::Binning &tbins)
 Lay down the function into a binned waveform. More...
 

Private Attributes

const double _sigma
 
const double _power
 
const bool _flag
 

Detailed Description

Definition at line 215 of file Response.h.

Constructor & Destructor Documentation

Response::HfFilter::HfFilter ( double  sigma,
double  power,
bool  flag 
)

Definition at line 467 of file Response.cxx.

468  : _sigma(sigma)
469  , _power(power)
470  , _flag(flag)
471 {
472 }
Response::HfFilter::~HfFilter ( )
virtual

Definition at line 474 of file Response.cxx.

474  {
475 }

Member Function Documentation

double Response::HfFilter::operator() ( double  freq) const
virtual

Implements WireCell::Response::Generator.

Definition at line 477 of file Response.cxx.

478 {
479  return hf_filter(freq,_sigma,_power,_flag);
480 }
double hf_filter(double freq, double sigma=1, double power=2, bool zero_freq_removal=true)
Definition: Response.cxx:377

Member Data Documentation

const bool WireCell::Response::HfFilter::_flag
private

Definition at line 217 of file Response.h.

const double WireCell::Response::HfFilter::_power
private

Definition at line 216 of file Response.h.

const double WireCell::Response::HfFilter::_sigma
private

Definition at line 216 of file Response.h.


The documentation for this class was generated from the following files: