![]() |
The Gaudi Framework
v27r0
|
Concrete event selector implementation to access ROOT files. More...
#include <GAUDIROOT/RootEvtSelector.h>


Public Member Functions | |
| RootEvtSelector (const std::string &name, ISvcLocator *svcloc) | |
| Service Constructor. More... | |
| virtual | ~RootEvtSelector ()=default |
| Standard destructor. More... | |
| virtual StatusCode | initialize () |
| IService implementation: Db event selector override. More... | |
| virtual StatusCode | finalize () |
| IService implementation: Service finalization. More... | |
| virtual StatusCode | createContext (Context *&refpCtxt) const |
| Create a new event loop context. More... | |
| virtual StatusCode | last (Context &refContext) const |
| Access last item in the iteration. More... | |
| virtual StatusCode | next (Context &refCtxt) const |
| Get next iteration item from the event loop context. More... | |
| virtual StatusCode | next (Context &refCtxt, int jump) const |
| Get next iteration item from the event loop context, but skip jump elements. More... | |
| virtual StatusCode | previous (Context &refCtxt) const |
| Get previous iteration item from the event loop context. More... | |
| virtual StatusCode | previous (Context &refCtxt, int jump) const |
| Get previous iteration item from the event loop context, but skip jump elements. More... | |
| virtual StatusCode | rewind (Context &refCtxt) const |
| Rewind the dataset. More... | |
| virtual StatusCode | createAddress (const Context &refCtxt, IOpaqueAddress *&) const |
| Create new Opaque address corresponding to the current record. More... | |
| virtual StatusCode | releaseContext (Context *&refCtxt) const |
| Release existing event iteration context. More... | |
| virtual StatusCode | resetCriteria (const std::string &cr, Context &c) const |
| Will set a new criteria for the selection of the next list of events and will change the state of the context in a way to point to the new list. More... | |
| RootEvtSelector (const std::string &name, ISvcLocator *svcloc) | |
| Service Constructor. More... | |
| virtual | ~RootEvtSelector ()=default |
| Standard destructor. More... | |
| virtual StatusCode | initialize () |
| IService implementation: Db event selector override. More... | |
| virtual StatusCode | finalize () |
| IService implementation: Service finalization. More... | |
| virtual StatusCode | createContext (Context *&refpCtxt) const |
| Create a new event loop context. More... | |
| virtual StatusCode | last (Context &refContext) const |
| Access last item in the iteration. More... | |
| virtual StatusCode | next (Context &refCtxt) const |
| Get next iteration item from the event loop context. More... | |
| virtual StatusCode | next (Context &refCtxt, int jump) const |
| Get next iteration item from the event loop context, but skip jump elements. More... | |
| virtual StatusCode | previous (Context &refCtxt) const |
| Get previous iteration item from the event loop context. More... | |
| virtual StatusCode | previous (Context &refCtxt, int jump) const |
| Get previous iteration item from the event loop context, but skip jump elements. More... | |
| virtual StatusCode | rewind (Context &refCtxt) const |
| Rewind the dataset. More... | |
| virtual StatusCode | createAddress (const Context &refCtxt, IOpaqueAddress *&) const |
| Create new Opaque address corresponding to the current record. More... | |
| virtual StatusCode | releaseContext (Context *&refCtxt) const |
| Release existing event iteration context. More... | |
| virtual StatusCode | resetCriteria (const std::string &cr, Context &c) const |
| Will set a new criteria for the selection of the next list of events and will change the state of the context in a way to point to the new list. More... | |
Public Member Functions inherited from extends< BASE, Interfaces > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
Public Member Functions inherited from extend_interfaces< Interfaces...> | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
Protected Attributes | |
| RootCnvSvc * | m_dbMgr |
| Reference to the corresponding conversion service. More... | |
| CLID | m_rootCLID |
| Class id of root node to create opaque address. More... | |
| std::string | m_persName |
| Property; Name of the persistency service to search for conversion service. More... | |
| std::string | m_cnvSvcName |
| Property; Name of the concversion service used to create opaque addresses. More... | |
| std::string | m_rootName |
| Property: Name of the ROOT entry name. More... | |
| std::string | m_criteria |
| Property: File criteria to define item iteration. More... | |
| std::string | m_dummy |
| Property: dummy to fake backwards compatibility. More... | |
Private Member Functions | |
| StatusCode | error (const std::string &msg) const |
| Helper method to issue error messages. More... | |
| StatusCode | error (const std::string &msg) const |
| Helper method to issue error messages. More... | |
Additional Inherited Members | |
Public Types inherited from extends< BASE, Interfaces > | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
Public Types inherited from extend_interfaces< Interfaces...> | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
Concrete event selector implementation to access ROOT files.
Definition at line 39 of file RootEvtSelector.h.
| RootEvtSelector::RootEvtSelector | ( | const std::string & | name, |
| ISvcLocator * | svcloc | ||
| ) |
Service Constructor.
Definition at line 99 of file RootEvtSelector.cpp.
|
virtualdefault |
Standard destructor.
| Gaudi::RootEvtSelector::RootEvtSelector | ( | const std::string & | name, |
| ISvcLocator * | svcloc | ||
| ) |
Service Constructor.
|
virtualdefault |
Standard destructor.
|
virtual |
Create new Opaque address corresponding to the current record.
| refCtxt | [IN/OUT] Reference to the context |
Definition at line 271 of file RootEvtSelector.cpp.
|
virtual |
Create new Opaque address corresponding to the current record.
| refCtxt | [IN/OUT] Reference to the context |
|
virtual |
Create a new event loop context.
| refpCtxt | [IN/OUT] Reference to pointer to store the context |
Definition at line 164 of file RootEvtSelector.cpp.
|
virtual |
Create a new event loop context.
| refpCtxt | [IN/OUT] Reference to pointer to store the context |
|
private |
Helper method to issue error messages.
Definition at line 109 of file RootEvtSelector.cpp.
|
private |
Helper method to issue error messages.
|
virtual |
|
virtual |
IService implementation: Service finalization.
Definition at line 156 of file RootEvtSelector.cpp.
|
virtual |
IService implementation: Db event selector override.
Definition at line 116 of file RootEvtSelector.cpp.
|
virtual |
IService implementation: Db event selector override.
|
virtual |
Access last item in the iteration.
| refContext | [IN/OUT] Reference to the Context object. |
|
virtual |
Access last item in the iteration.
| refContext | [IN/OUT] Reference to the Context object. |
Definition at line 170 of file RootEvtSelector.cpp.
|
virtual |
Get next iteration item from the event loop context.
| refCtxt | [IN/OUT] Reference to the context |
|
virtual |
Get next iteration item from the event loop context.
| refCtxt | [IN/OUT] Reference to the context |
Definition at line 175 of file RootEvtSelector.cpp.
|
virtual |
Get next iteration item from the event loop context, but skip jump elements.
| refCtxt | [IN/OUT] Reference to the context |
|
virtual |
Get next iteration item from the event loop context, but skip jump elements.
| refCtxt | [IN/OUT] Reference to the context |
Definition at line 219 of file RootEvtSelector.cpp.
|
virtual |
Get previous iteration item from the event loop context.
| refCtxt | [IN/OUT] Reference to the context |
| jump | [IN] Number of events to be skipped |
Definition at line 233 of file RootEvtSelector.cpp.
|
virtual |
Get previous iteration item from the event loop context.
| refCtxt | [IN/OUT] Reference to the context |
| jump | [IN] Number of events to be skipped |
|
virtual |
Get previous iteration item from the event loop context, but skip jump elements.
| refCtxt | [IN/OUT] Reference to the context |
| jump | [IN] Number of events to be skipped |
|
virtual |
Get previous iteration item from the event loop context, but skip jump elements.
| refCtxt | [IN/OUT] Reference to the context |
| jump | [IN] Number of events to be skipped |
Definition at line 238 of file RootEvtSelector.cpp.
|
virtual |
Release existing event iteration context.
| refCtxt | [IN/OUT] Reference to the context |
|
virtual |
Release existing event iteration context.
| refCtxt | [IN/OUT] Reference to the context |
Definition at line 289 of file RootEvtSelector.cpp.
|
virtual |
Will set a new criteria for the selection of the next list of events and will change the state of the context in a way to point to the new list.
| cr | The new criteria string. |
| c | Reference pointer to the Context object. |
Definition at line 301 of file RootEvtSelector.cpp.
|
virtual |
Will set a new criteria for the selection of the next list of events and will change the state of the context in a way to point to the new list.
| cr | The new criteria string. |
| c | Reference pointer to the Context object. |
|
virtual |
Rewind the dataset.
| refCtxt | [IN/OUT] Reference to the context |
|
virtual |
Rewind the dataset.
| refCtxt | [IN/OUT] Reference to the context |
Definition at line 252 of file RootEvtSelector.cpp.
|
protected |
Property; Name of the concversion service used to create opaque addresses.
Definition at line 136 of file RootEvtSelector.h.
|
protected |
Property: File criteria to define item iteration.
Definition at line 140 of file RootEvtSelector.h.
|
mutableprotected |
Reference to the corresponding conversion service.
Definition at line 130 of file RootEvtSelector.h.
|
protected |
Property: dummy to fake backwards compatibility.
Definition at line 142 of file RootEvtSelector.h.
|
protected |
Property; Name of the persistency service to search for conversion service.
Definition at line 134 of file RootEvtSelector.h.
|
protected |
Class id of root node to create opaque address.
Definition at line 132 of file RootEvtSelector.h.
|
protected |
Property: Name of the ROOT entry name.
Definition at line 138 of file RootEvtSelector.h.