MApolloEventBuilder.hh

Go to the documentation of this file.
00001 
00052 #ifndef _M_APOLLO_EVENT_BUILDER_H_
00053 #define _M_APOLLO_EVENT_BUILDER_H_
00054 
00055 #include "QReader.hh"
00056 
00057 #include "QEvent.hh"
00058 #include "QCuore.hh"
00059 #include "QBuilderDefs.hh"
00060 
00061 class QCrateReceiverBuffer;
00062 class QTriggerFinder;
00063 
00064 class MApolloEventBuilder : public QReader {
00065   
00066 public:
00067    MApolloEventBuilder(QSequence *s);
00068    
00069    virtual ~MApolloEventBuilder();
00070    
00075    virtual void Init();
00076    
00082    virtual QEvent* Do( QEvent* ev);
00083    
00085    virtual void Done();
00086    
00087 private:
00088    
00089    std::map<unsigned int,QBuilderInfo_t> fInfo;
00090    
00091    QTriggerFinder *fFinder;
00092    
00094    void DumpPointers(QCrateReceiverBuffer* b) const;
00095 
00105    double CheckDuration(const QBuilderInfo_t& info, double duration) const;
00106 };
00107 
00108 #endif

Generated on Tue Nov 16 10:49:57 2010 for CUORE Software by  doxygen 1.5.6