Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EventSelectorDataStream.h
Go to the documentation of this file.
1 //====================================================================
2 // EventSelectorDataStream.h
3 //--------------------------------------------------------------------
4 //
5 // Package : EventSelectorDataStream (LHCb Event Selector Package)
6 //
7 // Author : M.Frank
8 // Created : 4/10/00
9 // Changes : R. Lambert 2009-09-04
10 //
11 //====================================================================
12 #ifndef GAUDIKERNEL_EVENTSELECTORDATASTREAM_H
13 #define GAUDIKERNEL_EVENTSELECTORDATASTREAM_H 1
14 
15 // Include files
17 #include "GaudiKernel/Property.h"
18 
19 // STL include files
20 #include <vector>
21 #include <iostream>
22 
23 // Forward declarations
24 class MsgStream;
25 class ISvcLocator;
27 
45 class GAUDI_API EventSelectorDataStream: public implements1<IInterface> {
49  friend std::ostream& operator<<(std::ostream& s, const EventSelectorDataStream& obj);
50 public:
51  typedef std::vector< StringProperty > Properties;
52 protected:
54  std::string m_name;
56  std::string m_definition;
58  std::string m_criteria;
60  std::string m_dbName;
62  std::string m_selectorType;
72  virtual ~EventSelectorDataStream();
73 public:
75  EventSelectorDataStream(const std::string& nam, const std::string& def, ISvcLocator* svcloc);
77  virtual void setSelector(IEvtSelector* pSelector);
79  virtual StatusCode initialize();
81  virtual StatusCode finalize();
83  StringProperty* property(const std::string& nam);
85  const StringProperty* property(const std::string& nam) const;
88  return *m_properties;
89  }
91  const std::string& name() const {
92  return m_name;
93  }
95  const std::string& criteria() const {
96  return m_criteria;
97  }
99  const std::string& dbName() const {
100  return m_dbName;
101  }
103  const std::string& selectorType() const {
104  return m_selectorType;
105  }
107  const std::string& definition() const {
108  return m_definition;
109  }
112  return m_pSelector;
113  }
115  bool isInitialized() const {
116  return m_initialized;
117  }
118 };
119 
123 GAUDI_API std::ostream& operator<<(std::ostream& s, const EventSelectorDataStream& obj);
124 
125 #endif // GAUDIKERNEL_EVENTSELECTORDATASTREAM_H

Generated at Wed Jun 4 2014 14:48:56 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004