| The Gaudi Framework v27r1

- 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/Service.h"
21 #include "GaudiKernel/IEvtSelector.h"
22
23 /*
24 * Gaudi namespace declaration
25 */
26 namespace Gaudi {
27
28 // Forward declarations
29 class RootCnvSvc;
30
39 class GAUDI_API RootEvtSelector : public extends<Service,
40 IEvtSelector> {
41
43 StatusCode error(const std::string& msg) const;
44 public:
45
47 RootEvtSelector(const std::string& name, ISvcLocator* svcloc);
48
50 virtual ~RootEvtSelector() = default;
51
53 virtual StatusCode initialize();
54
56 virtual StatusCode finalize();
57
59
63 virtual StatusCode createContext(Context*& refpCtxt) const;
64
68 virtual StatusCode last(Context& refContext) const;
69
71
75 virtual StatusCode next(Context& refCtxt) const;
76
78
82 virtual StatusCode next(Context& refCtxt,int jump) const;
83
85
90 virtual StatusCode previous(Context& refCtxt) const;
91
93
98 virtual StatusCode previous(Context& refCtxt,int jump) const;
99
101
105 virtual StatusCode rewind(Context& refCtxt) const;
106
108
112 virtual StatusCode createAddress(const Context& refCtxt, IOpaqueAddress*&) const;
113
115
119 virtual StatusCode releaseContext(Context*& refCtxt) const;
120
127 virtual StatusCode resetCriteria(const std::string& cr,Context& c)const;
128 protected:
129 // Data Members
131 mutable RootCnvSvc* m_dbMgr;
133 CLID m_rootCLID;
135 std::string m_persName;
137 std::string m_cnvSvcName;
139 std::string m_rootName;
141 std::string m_criteria;
143 std::string m_dummy;
144 };
145 }
146 #endif // GAUDIROOTCNV_ROOTEVTSELECTOR_H
Gaudi::RootEvtSelector::m_persName
std::string m_persName
Property; Name of the persistency service to search for conversion service.
Definition: RootEvtSelector.h:135
AnalysisTest.initialize
def initialize()
Definition: AnalysisTest.py:12
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:28
GaudiMP.FdsRegistry.msg
tuple msg
Definition: FdsRegistry.py:8
gaudirun.c
tuple c
Definition: gaudirun.py:391
Gaudi::RootCnvSvc
Description:
Definition: RootCnvSvc.h:52
Gaudi::RootEvtSelector::m_dummy
std::string m_dummy
Property: dummy to fake backwards compatibility.
Definition: RootEvtSelector.h:143
Gaudi::RootEvtSelector::m_dbMgr
RootCnvSvc * m_dbMgr
Reference to the corresponding conversion service.
Definition: RootEvtSelector.h:131
std::string
STL class.
Service.h
Gaudi::RootEvtSelector::m_cnvSvcName
std::string m_cnvSvcName
Property; Name of the concversion service used to create opaque addresses.
Definition: RootEvtSelector.h:137
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:39
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
Gaudi::RootEvtSelector::m_criteria
std::string m_criteria
Property: File criteria to define item iteration.
Definition: RootEvtSelector.h:141
IEvtSelector.h
IOpaqueAddress
Opaque address interface definition.
Definition: IOpaqueAddress.h:23
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
Gaudi::RootEvtSelector::m_rootCLID
CLID m_rootCLID
Class id of root node to create opaque address.
Definition: RootEvtSelector.h:133
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:139