Diana Software
MTestNeighbours.hh
Go to the documentation of this file.
1 #ifndef _M_TESTNEIGHBOURS_HH_
2 #define _M_TESTNEIGHBOURS_HH_
3 
39 #include "QModule.hh"
40 #include <map>
41 #include <vector>
42 
43 class MTestNeighbours : public Diana::QModule {
44 
45  public:
46 
48  void Init(Diana::QEvent& ev);
49 
51  void Do(Diana::QEvent& ev, const Diana::QEventList& neighbours);
52 
54  void Done();
55  private:
56  unsigned long long fTestOK;
57  unsigned long long fTestKO;
58  unsigned long long fTime;
59  unsigned long long fPrevTime;
60 
61  class EventInfo {
62  public:
63  unsigned int fEventNumber;
64  double fTime;
65  };
66  std::map<unsigned int, EventInfo> fEventMap;
67  static std::map<unsigned int, std::vector<int> > fNeighMap;
68 
69 };
70 
71 #endif
72 
one-line description of your module
void Init(Diana::QEvent &ev)
Init method.
unsigned long long fTestKO
unsigned long long fTime
unsigned long long fPrevTime
std::map< unsigned int, EventInfo > fEventMap
void Done()
Done method.
void Do(Diana::QEvent &ev, const Diana::QEventList &neighbours)
Do method.
static std::map< unsigned int, std::vector< int > > fNeighMap
unsigned long long fTestOK