| The Gaudi Framework v30r0 (c919700c)

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

- File List
- File Members

RootEvtSelector.h
Go to the documentation of this file.
1 //====================================================================
2 // RootTreeEvtSelector.h
3 //--------------------------------------------------------------------
4 //
5 // Package : RootCnv
6 //
7 // Description: The RootEvtSelector component is able
8 // to produce a list of event references given a set of "selection
9 // criteria".
10 //
11 // Author : M.Frank
12 // Created : 4/01/99
13 //
14 //====================================================================
15
16 #ifndef GAUDIROOTCNV_ROOTEVTSELECTOR_H
17 #define GAUDIROOTCNV_ROOTEVTSELECTOR_H 1
18
19 // Framework include files
20 #include "GaudiKernel/IEvtSelector.h"
21 #include "GaudiKernel/Service.h"
22
23 /*
24 * Gaudi namespace declaration
25 */
26 namespace Gaudi
27 {
28
29 // Forward declarations
30 class RootCnvSvc;
31
40 class GAUDI_API RootEvtSelector : public extends<Service, IEvtSelector>
41 {
42
44 StatusCode error( const std::string& msg ) const;
45
46 public:
48 using extends::extends;
49
51 ~RootEvtSelector() override = default;
52
54 StatusCode initialize() override;
55
57 StatusCode finalize() override;
58
60
64 StatusCode createContext( Context*& refpCtxt ) const override;
65
69 StatusCode last( Context& refContext ) const override;
70
72
76 StatusCode next( Context& refCtxt ) const override;
77
79
83 StatusCode next( Context& refCtxt, int jump ) const override;
84
86
91 StatusCode previous( Context& refCtxt ) const override;
92
94
99 StatusCode previous( Context& refCtxt, int jump ) const override;
100
102
106 StatusCode rewind( Context& refCtxt ) const override;
107
109
113 StatusCode createAddress( const Context& refCtxt, IOpaqueAddress*& ) const override;
114
116
120 StatusCode releaseContext( Context*& refCtxt ) const override;
121
128 StatusCode resetCriteria( const std::string& cr, Context& c ) const override;
129
130 protected:
131 // Data Members
133 mutable RootCnvSvc* m_dbMgr;
135 CLID m_rootCLID = CLID_NULL;
136
137 Gaudi::Property<std::string> m_persName{this, "EvtPersistencySvc", "EventPersistencySvc",
138 "Name of the persistency service to search for conversion service"};
139 Gaudi::Property<std::string> m_dummy{this, "DbType", "", "dummy property to fake backwards compatibility"};
140
142 std::string m_cnvSvcName = "Gaudi::RootCnvSvc/RootCnvSvc";
144 std::string m_rootName;
146 std::string m_criteria;
147 };
148 }
149 #endif // GAUDIROOTCNV_ROOTEVTSELECTOR_H
gaudirun.c
c
Definition: gaudirun.py:407
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:319
Gaudi::RootCnvSvc
Description:
Definition: RootCnvSvc.h:53
Gaudi::RootEvtSelector::m_dbMgr
RootCnvSvc * m_dbMgr
Reference to the corresponding conversion service.
Definition: RootEvtSelector.h:133
std::string
STL class.
Service.h
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
Gaudi::RootEvtSelector
Concrete event selector implementation to access ROOT files.
Definition: RootEvtSelector.h:40
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
GaudiMP.FdsRegistry.msg
msg
Definition: FdsRegistry.py:8
Gaudi::RootEvtSelector::m_criteria
std::string m_criteria
Property: File criteria to define item iteration.
Definition: RootEvtSelector.h:146
IEvtSelector.h
IOpaqueAddress
Opaque address interface definition.
Definition: IOpaqueAddress.h:23
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1
Gaudi::RootEvtSelector::m_rootName
std::string m_rootName
Property: Name of the ROOT entry name.
Definition: RootEvtSelector.h:144