Diana Software
MFilterSideAmplitude.hh
Go to the documentation of this file.
1 #ifndef _M_FILTERSIDEAMPLITUDE_HH_
2 #define _M_FILTERSIDEAMPLITUDE_HH_
3 
38 #include "QFilter.hh"
39 
40 class MFilterSideAmplitude : public Diana::QFilter {
41 
42  public:
43 
45  void GetCuts(const Diana::QEvent& ev);
46 
48  bool Filter(const Diana::QEvent& ev, const Diana::QEventList& neighbours);
49 
50  private:
51 
52  double fNSigma;
53  std::string fSideAmplitudeOwner;
54 };
55 
56 #endif
57 
Filter to rejct main events when at least one side pulse has SideAmplitude above a certain threshold ...
bool Filter(const Diana::QEvent &ev, const Diana::QEventList &neighbours)
return true if ev passes the cuts
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.