00001 00049 #ifndef _M_APOLLO_EVENT_BUILDER_H_ 00050 #define _M_APOLLO_EVENT_BUILDER_H_ 00051 00052 #include "QReader.hh" 00053 00054 #include "QEvent.hh" 00055 #include "QCuore.hh" 00056 #include "QBuilderDefs.hh" 00057 00058 class QCrateReceiverBuffer; 00059 class QTriggerFinder; 00060 00061 class MApolloEventBuilder : public QReader { 00062 00063 public: 00064 MApolloEventBuilder(QSequence *s); 00065 00066 virtual ~MApolloEventBuilder(); 00067 00072 virtual void Init(); 00073 00079 virtual QEvent* Do( QEvent* ev); 00080 00082 virtual void Done(); 00083 00084 private: 00085 00086 std::map<unsigned short,QBuilderInfo_t> fInfo; 00087 00088 QTriggerFinder *fFinder; 00089 00094 void DumpPointers(QCrateReceiverBuffer* b) const; 00095 00096 }; 00097 00098 #endif