CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EventStreamSelector.h
Go to the documentation of this file.
1 // $Id: EventStreamSelector.h,v 1.7.4.1 2011/03/07 11:33:04 mommsen Exp $
3 
4 #ifndef EventFilter_StorageManager_EventStreamSelector_h
5 #define EventFilter_StorageManager_EventStreamSelector_h
6 
7 #include <boost/shared_ptr.hpp>
8 
13 
14 namespace stor {
15 
26  {
27 
28  public:
29 
30  // Constructor:
32 
33  // Destructor:
35 
36  // Initialize:
37  void initialize( const InitMsgView& );
38 
39  // Accept event:
40  bool acceptEvent( const I2OChain& );
41 
42  // Accessors:
43  unsigned int outputModuleId() const { return outputModuleId_; }
45  bool isInitialized() const { return initialized_; }
46 
47  // Comparison:
48  bool operator<(const EventStreamSelector& other) const
49  { return ( configInfo_ < other.configInfo() ); }
50 
51  private:
52 
54  unsigned int outputModuleId_;
56 
58 
59  };
60 
61 } // namespace stor
62 
63 #endif // EventFilter_StorageManager_EventStreamSelector_h
64 
65 
EventStreamSelector(const EventStreamConfigurationInfo &)
bool acceptEvent(const I2OChain &)
TriggerSelectorPtr eventSelector_
const EventStreamConfigurationInfo & configInfo() const
unsigned int outputModuleId() const
void initialize(const InitMsgView &)
bool operator<(const EventStreamSelector &other) const
const EventStreamConfigurationInfo configInfo_
boost::shared_ptr< TriggerSelector > TriggerSelectorPtr