00001 #ifndef _M_MUONCOINCIDENCE_HH_ 00002 #define _M_MUONCOINCIDENCE_HH_ 00003 00041 #include "QModule.hh" 00042 00043 class MMuonCoincidence : public QModule { 00044 00045 public: 00047 MMuonCoincidence(QSequence* s); 00048 00050 ~MMuonCoincidence(); 00051 00053 void Init(); 00054 00056 QEvent* Do(QEvent* ev); 00057 00059 void Done(); 00060 private: 00062 std::vector<unsigned long long> fMuonTimes; 00063 00065 std::vector<int> fMuonEvents; 00066 00068 int fIteration; 00069 00071 std::string fTimeVarName; 00072 00074 std::string fEventVarName; 00075 00077 unsigned int fMuonIndex; 00078 00079 }; 00080 00081 #endif 00082