Diana Software
MOptimumFilter.hh
Go to the documentation of this file.
1 #ifndef _M_COFBICOMPONENT_HH_
2 #define _M_COFBICOMPONENT_HH_
3 
78 #include "QModule.hh"
79 #include "QOptimumFilter.hh"
80 
81 class MOptimumFilter : public Diana::QModule {
82 
83  public:
84 
86  void Init(Diana::QEvent& ev);
87 
89  void Do(Diana::QEvent& ev);
90  //void Do(Diana::QEvent& ev, const Diana::QEventList& neighbours);
91 
93  void Done();
94  private:
95 
96  struct ChannelInfo {
97 
98  bool BlackSheep;
99  double ADC2Time;
101 
102  };
103 
104  std::map<int,ChannelInfo> fMap;
105 
106  std::string fAvgNoiseInput;
107  std::string fAvgPulseInput;
108  std::string fAvgPulse;
109  std::string fPulseLabel;
110  std::string fAvgNoiseOwner;
111  std::string fAvgPulseOwner;
112  std::string fParametersOutput;
115  bool fTomV;
116 
117 
123 };
124 
125 #endif
126 
Optimum Filter.
std::string fParametersOutput
std::string fAvgNoiseInput
void Init(Diana::QEvent &ev)
Init method.
std::string fAvgNoiseOwner
std::string fAvgPulseInput
std::string fAvgPulseOwner
void Done()
Done method.
QOptimumFilter::JitterMode fJitterMode
void Do(Diana::QEvent &ev)
Do method. Declare and implement only one of the two versions.
std::string fPulseLabel
std::string fAvgPulse
std::map< int, ChannelInfo > fMap
Optimum filter implemented with windowing and zeros.