00001 00002 #ifndef _Q_CFVARIABLEWINDOW_HH_ 00003 #define _Q_CFVARIABLEWINDOW_HH_ 00004 00005 #include "QCoincidenceFiller.hh" 00006 00007 class QCoincidence; 00008 class QCoincidentEvent; 00009 00021 class QCFVariableWindow: public QCoincidenceFiller 00022 { 00023 public: 00025 QCFVariableWindow(); 00026 00031 QCFVariableWindow(unsigned long long timeWindow); 00032 00034 virtual ~QCFVariableWindow(); 00035 00036 00037 protected: 00038 virtual bool BuildCoincidences(); 00039 00040 private: 00041 00042 bool FitsInLastCoincidence(const QCoincidentEvent& coinc) const; 00043 00044 }; 00045 00046 #endif