Diana Software
MDownSampling.hh
Go to the documentation of this file.
1 #ifndef _M_DOWNSAMPLING_HH_
2 #define _M_DOWNSAMPLING_HH_
3 
4 #include "QDriver.hh"
5 #include "QVector.hh"
6 
7 class QFir;
8 
9 class MDownSampling : public Diana::QDriver {
10 
11  public:
12 
14  QDriver::Action Init(Diana::QEventAssembler& eva);
15 
17  QDriver::Action Do(Diana::QEventAssembler& eva);
18  //void Do(Diana::QEvent& ev, const Diana::QEventList& neighbours);
19 
22  private:
23  class ChannelInfo {
24  public:
25  const QFir* fir;
26  int R;
28  };
30  double fAttenuation;
31  double fDownSampling;
32  Diana::QEventLabel fPulseLabel;
33  std::map<int,ChannelInfo> fFilters;
34  Diana::QVector fOutput;
36 
37 };
38 
39 #endif
40 
std::map< int, ChannelInfo > fFilters
double fCutOffFrequency
double fAttenuation
Diana::QEventLabel fPulseLabel
QDriver::Action Init(Diana::QEventAssembler &eva)
Init method.
QDriver::Action Do(Diana::QEventAssembler &eva)
Do method. Declare and implement only one of the two versions.
Diana::QVector fOutput
double fDownSampling
QDriver::Action Done()
Done method.
class to store ActionId and fEventNumber (in case fActionId=ACT_GOTOEV)
Definition: QDriver.hh:59
QFir FIR low pass filter (Ported from Calder)
Definition: QFir.hh:17