CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/EventFilter/StorageManager/interface/DQMEventSelector.h

Go to the documentation of this file.
00001 // $Id: DQMEventSelector.h,v 1.6 2011/03/07 15:31:31 mommsen Exp $
00003 
00004 #ifndef EventFilter_StorageManager_DQMEventSelector_h
00005 #define EventFilter_StorageManager_DQMEventSelector_h
00006 
00007 #include <boost/shared_ptr.hpp>
00008 
00009 #include "EventFilter/StorageManager/interface/I2OChain.h"
00010 #include "EventFilter/StorageManager/interface/DQMEventConsumerRegistrationInfo.h"
00011 
00012 namespace stor
00013 {
00022   class DQMEventSelector
00023   {
00024 
00025   public:
00026     
00027     DQMEventSelector( const DQMEventConsRegPtr registrationInfo ):
00028     registrationInfo_( registrationInfo )
00029     {};
00030     
00035     bool acceptEvent
00036     (
00037       const I2OChain&,
00038       const utils::TimePoint_t&
00039     );
00040     
00044     QueueID queueId() const { return registrationInfo_->queueId(); }
00045 
00049     bool operator<(const DQMEventSelector& other) const;
00050 
00051   private:
00052 
00053     const DQMEventConsRegPtr registrationInfo_;
00054 
00055   };
00056 
00057 } // namespace stor
00058 
00059 #endif // EventFilter_StorageManager_DQMEventSelector_h
00060 
00061