| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EvtCollectionStream.h
Go to the documentation of this file.
1 // ====================================================================
2 // EvtCollectionStream.h
3 // --------------------------------------------------------------------
4 //
5 // Package : GaudiSvc/PersistencySvc
6 //
7 // Author : Markus Frank
8 //
9 // ====================================================================
10 #ifndef GAUDISVC_PERSISTENCYSVC_EVTCOLLECTIONSTREAM_H
11 #define GAUDISVC_PERSISTENCYSVC_EVTCOLLECTIONSTREAM_H
12
13 // STL include files
14 #include <memory>
15 #include <vector>
16 #include <string>
17
18 // Required for inheritance
19 #include "GaudiKernel/Algorithm.h"
20
21
26 class EvtCollectionStream : public Algorithm {
27 typedef std::vector<std::string> ItemNames;
28 typedef std::vector<DataStoreItem*> Items;
29 protected:
31 SmartIF<INTupleSvc> m_pTupleSvc;
33 std::string m_storeName;
35 ItemNames m_itemNames;
37 Items m_itemList;
38 public:
40 EvtCollectionStream(const std::string& name, ISvcLocator* pSvcLocator);
41 protected:
43 virtual ~EvtCollectionStream();
45 void clearItems();
47 void addItem(const std::string& descriptor);
48 public:
50 virtual StatusCode initialize();
52 virtual StatusCode finalize();
54 virtual StatusCode execute();
55 };
56
57 #endif // GAUDISVC_PERSISTENCYSVC_EVTCOLLECTIONSTREAM_H