| # 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
RootEvtSelector.h
Go to the documentation of this file.
1 // $Id: RootEvtSelector.h,v 1.3 2010-08-24 23:30:32 frankb Exp $
2 //====================================================================
3 // RootTreeEvtSelector.h
4 //--------------------------------------------------------------------
5 //
6 // Package : RootCnv
7 //
8 // Description: The RootEvtSelector component is able
9 // to produce a list of event references given a set of "selection
10 // criteria".
11 //
12 // Author : M.Frank
13 // Created : 4/01/99
14 //
15 //====================================================================
16 // $Header: /afs/cern.ch/project/cvs/reps/lhcb/Online/RootCnv/src/RootEvtSelector.h,v 1.3 2010-08-24 23:30:32 frankb Exp $
17
18 #ifndef GAUDIROOTCNV_ROOTEVTSELECTOR_H
19 #define GAUDIROOTCNV_ROOTEVTSELECTOR_H 1
20
21 // Framework include files
22 #include "GaudiKernel/Service.h"
23 #include "GaudiKernel/IEvtSelector.h"
24
25 /*
26 * Gaudi namespace declaration
27 */
28 namespace Gaudi {
29
30 // Forward declarations
31 class RootCnvSvc;
32
41 class GAUDI_API RootEvtSelector : public extends1<Service, IEvtSelector> {
42
44 StatusCode error(const std::string& msg) const;
45 public:
46
48 RootEvtSelector(const std::string& name, ISvcLocator* svcloc);
49
51 virtual ~RootEvtSelector() {}
52
54 virtual StatusCode initialize();
55
57 virtual StatusCode finalize();
58
60
64 virtual StatusCode createContext(Context*& refpCtxt) const;
65
69 virtual StatusCode last(Context& refContext) const;
70
72
76 virtual StatusCode next(Context& refCtxt) const;
77
79
83 virtual StatusCode next(Context& refCtxt,int jump) const;
84
86
91 virtual StatusCode previous(Context& refCtxt) const;
92
94
99 virtual StatusCode previous(Context& refCtxt,int jump) const;
100
102
106 virtual StatusCode rewind(Context& refCtxt) const;
107
109
113 virtual StatusCode createAddress(const Context& refCtxt, IOpaqueAddress*&) const;
114
116
120 virtual StatusCode releaseContext(Context*& refCtxt) const;
121
128 virtual StatusCode resetCriteria(const std::string& cr,Context& c)const;
129 protected:
130 // Data Members
132 mutable RootCnvSvc* m_dbMgr;
134 CLID m_rootCLID;
136 std::string m_persName;
138 std::string m_cnvSvcName;
140 std::string m_rootName;
142 std::string m_criteria;
144 std::string m_dummy;
145 };
146 }
147 #endif // GAUDIROOTCNV_ROOTEVTSELECTOR_H