The Gaudi Framework
v25r5
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
Gaudi::RootEvtSelector::m_persName
std::string m_persName
Property; Name of the persistency service to search for conversion service.
Definition:
RootEvtSelector.h:136
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition:
ISvcLocator.h:26
GaudiMP.FdsRegistry.msg
tuple msg
Definition:
FdsRegistry.py:8
gaudirun.c
tuple c
Definition:
gaudirun.py:341
Gaudi::RootCnvSvc
Description:
Definition:
RootCnvSvc.h:54
Gaudi::RootEvtSelector::~RootEvtSelector
virtual ~RootEvtSelector()
Standard destructor.
Definition:
RootEvtSelector.h:51
Gaudi::RootEvtSelector::m_dummy
std::string m_dummy
Property: dummy to fake backwards compatibility.
Definition:
RootEvtSelector.h:144
Gaudi::RootEvtSelector::m_dbMgr
RootCnvSvc * m_dbMgr
Reference to the corresponding conversion service.
Definition:
RootEvtSelector.h:132
Service.h
Gaudi::RootEvtSelector::m_cnvSvcName
std::string m_cnvSvcName
Property; Name of the concversion service used to create opaque addresses.
Definition:
RootEvtSelector.h:138
AnalysisTest.initialize
def initialize
Definition:
AnalysisTest.py:12
StatusCode
This class is used for returning status codes from appropriate routines.
Definition:
StatusCode.h:30
extends1
Base class used to extend a class implementing other interfaces.
Definition:
extends.h:10
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:9
Gaudi::RootEvtSelector
Concrete event selector implementation to access ROOT files.
Definition:
RootEvtSelector.h:41
Gaudi::RootEvtSelector::m_criteria
std::string m_criteria
Property: File criteria to define item iteration.
Definition:
RootEvtSelector.h:142
IEvtSelector.h
IOpaqueAddress
Opaque address interface definition.
Definition:
IOpaqueAddress.h:24
Gaudi
This is a number of static methods for bootstrapping the Gaudi framework.
Definition:
Bootstrap.h:14
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:108
Gaudi::RootEvtSelector::m_rootCLID
CLID m_rootCLID
Class id of root node to create opaque address.
Definition:
RootEvtSelector.h:134
Gaudi::RootEvtSelector::m_rootName
std::string m_rootName
Property: Name of the ROOT entry name.
Definition:
RootEvtSelector.h:140
RootCnv
RootCnv
RootEvtSelector.h
Generated on Tue Oct 21 2014 11:36:23 for The Gaudi Framework by
1.8.7