LfFilter.h
Go to the documentation of this file.
1 
2 #ifndef WIRECELLSIGPROC_LFFILTER
3 #define WIRECELLSIGPROC_LFFILTER
4 
8 
9 namespace WireCell {
10  namespace SigProc {
11  class LfFilter : public IFilterWaveform, public IConfigurable {
12  public :
13  LfFilter(double max_freq = 1 * units::megahertz, double tau = 0.02* units::megahertz);
14  virtual ~LfFilter();
15 
16  virtual const Waveform::realseq_t filter_waveform(int nbins) const ;
17 
18  // IConfigurable
19  virtual void configure(const WireCell::Configuration& config);
21 
22 
23  private:
24  double m_max_freq;
25  double m_tau;
26 
27 
28 
29  };
30  }
31 }
32 
33 #endif
Sequence< real_t > realseq_t
Definition: Waveform.h:31
virtual const Waveform::realseq_t filter_waveform(int nbins) const
Provide the filter waveform with a given number of frequency bins.
Definition: LfFilter.cxx:36
static Config * config
Definition: config.cpp:1054
LfFilter(double max_freq=1 *units::megahertz, double tau=0.02 *units::megahertz)
Definition: LfFilter.cxx:11
Definition: Main.h:22
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition: LfFilter.cxx:21
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Definition: LfFilter.cxx:29
Json::Value Configuration
Definition: Configuration.h:50
static const double megahertz
Definition: Units.h:99