QLCTriggerFinder.hh
Go to the documentation of this file.00001
00002 #ifndef _Q_LC_TRIGGER_FINDER_HH_
00003 #define _Q_LC_TRIGGER_FINDER_HH_
00004
00005 #include "QTriggerFinder.hh"
00006
00007 #include "QEvent.hh"
00008 #include "QCuore.hh"
00009 #include "QBuilderDefs.hh"
00010
00011 #include <map>
00012
00025 class QLCTriggerFinder: public QTriggerFinder
00026 {
00027 public:
00028
00030 QLCTriggerFinder();
00031
00033 virtual ~QLCTriggerFinder();
00034
00036 virtual bool Consolidate();
00037
00038 protected:
00039
00052 virtual void CheckExtraBits(const QBuilderInfo_t& info,
00053 const unsigned long long sampleIndex,
00054 const long data);
00055
00060 virtual void SetAuxData(QEvent* ev);
00061
00062 private:
00067 std::map<unsigned int, std::map<long long, unsigned int> > fTimeMap;
00068
00070 std::map<unsigned int, unsigned int> fLastId;
00071
00083 unsigned int GetConfigId(const unsigned int lg,
00084 const long long time) const;
00085 };
00086
00087 #endif