Diana Software
MFilterNeighbourExists.hh
Go to the documentation of this file.
1 #ifndef _M_FILTERNEIGHBOUREXISTS_HH_
2 #define _M_FILTERNEIGHBOUREXISTS_HH_
3 
29 #include "QFilter.hh"
30 
31 class MFilterNeighbourExists : public Diana::QFilter {
32 
33  public:
34 
36  void GetCuts(const Diana::QEvent& ev);
37 
39  bool Filter(const Diana::QEvent& ev, const Diana::QEventList& neighbours);
40 
41  private:
42 
43 };
44 
45 #endif
46 
select main events with at least one neighbour
void GetCuts(const Diana::QEvent &ev)
Get cuts from config file.
bool Filter(const Diana::QEvent &ev, const Diana::QEventList &neighbours)
return true if ev passes the cuts