![]() |
The Gaudi Framework
v27r0
|
Definition of class EventCollectionSelector. More...
#include <src/EventSelector/EventCollectionSelector.h>
Classes | |
class | MyContextType |
Public Member Functions | |
StatusCode | initialize () override |
Service override: Initialize service. More... | |
StatusCode | finalize () override |
Service override: Finalize Service. More... | |
StatusCode | createContext (Context *&refpCtxt) const override |
Create a new event loop context. More... | |
StatusCode | next (Context &refCtxt) const override |
Get next iteration item from the event loop context. More... | |
StatusCode | next (Context &refCtxt, int jump) const override |
Get next iteration item from the event loop context, but skip jump elements. More... | |
StatusCode | previous (Context &refCtxt) const override |
Get previous iteration item from the event loop context. More... | |
StatusCode | previous (Context &refCtxt, int jump) const override |
Get previous iteration item from the event loop context, but skip jump elements. More... | |
StatusCode | rewind (Context &refCtxt) const override |
Rewind the dataset. More... | |
StatusCode | createAddress (const Context &refCtxt, IOpaqueAddress *&refpAddr) const override |
Create new Opaque address corresponding to the current record. More... | |
StatusCode | releaseContext (Context *&refCtxt) const override |
Release existing event iteration context. More... | |
StatusCode | resetCriteria (const std::string &cr, Context &c) const override |
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... | |
StatusCode | last (Context &refCtxt) const override |
Access last item in the iteration. More... | |
virtual StatusCode | connectCollection (MyContextType *ctxt) const |
Connect collection to selector. More... | |
virtual StatusCode | connectDataSource (const std::string &db, const std::string &typ) const |
Connect collection's data source to selector. More... | |
virtual StatusCode | connectTuple (const std::string &nam, const std::string &itName, NTuple::Tuple *&tup, NTuple::Item< IOpaqueAddress * > *&item) const |
Connect to existing N-tuple. More... | |
virtual StatusCode | connectStatement (const std::string &typ, const std::string &crit, INTuple *tuple) const |
Connect selection statement to refine data access. More... | |
virtual StatusCode | getNextRecord (NTuple::Tuple *tuple) const |
Read next record of the N-tuple. More... | |
virtual StatusCode | getPreviousRecord (NTuple::Tuple *tuple) const |
Read next record of the N-tuple. More... | |
EventCollectionSelector (const std::string &name, ISvcLocator *svcloc) | |
Standard Constructor. More... | |
~EventCollectionSelector () override=default | |
Standard 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... | |
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... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Protected Attributes | |
SmartIF< INTupleSvc > | m_tupleSvc |
Reference to Tuple service. More... | |
SmartIF< IAddressCreator > | m_pAddrCreator |
std::string | m_tupleSvcName |
Name of the event collection service name. More... | |
std::string | m_authentication |
Authentication string (if needed) More... | |
std::string | m_cntName |
Container name. More... | |
std::string | m_itemName |
Item name. More... | |
std::string | m_criteria |
Criteria. More... | |
std::string | m_database |
Datafile name. More... | |
std::string | m_dbType |
Database type identifier. More... | |
std::string | m_dbSvc |
Database service (exclusive property with db type) More... | |
std::string | m_statement |
Selector name. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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... | |
Definition of class EventCollectionSelector.
Basic event selector service. The event selector service itself is able to connect other services to attached streams.
History: +------—+-------------------------------------------—+------—+ | Date | Comment | Who | +------—+-------------------------------------------—+------—+ | 3/10/00 | Initial version | M.Frank | +------—+-------------------------------------------—+------—+
Definition at line 41 of file EventCollectionSelector.h.
EventCollectionSelector::EventCollectionSelector | ( | const std::string & | name, |
ISvcLocator * | svcloc | ||
) |
Standard Constructor.
Definition at line 76 of file EventCollectionSelector.cpp.
|
overridedefault |
Standard Destructor.
|
virtual |
Connect collection to selector.
Definition at line 222 of file EventCollectionSelector.cpp.
|
virtual |
Connect collection's data source to selector.
Definition at line 114 of file EventCollectionSelector.cpp.
|
virtual |
Connect selection statement to refine data access.
Definition at line 157 of file EventCollectionSelector.cpp.
|
virtual |
Connect to existing N-tuple.
Definition at line 135 of file EventCollectionSelector.cpp.
|
override |
Create new Opaque address corresponding to the current record.
refCtxt | [IN/OUT] Reference to the context |
refpAddr | [OUT] Reference to address pointer |
Definition at line 320 of file EventCollectionSelector.cpp.
|
override |
Create a new event loop context.
refpCtxt | [IN/OUT] Reference to pointer to store the context |
Definition at line 251 of file EventCollectionSelector.cpp.
|
override |
Service override: Finalize Service.
Definition at line 242 of file EventCollectionSelector.cpp.
|
virtual |
Read next record of the N-tuple.
Definition at line 173 of file EventCollectionSelector.cpp.
|
virtual |
Read next record of the N-tuple.
Read previous record of the N-tuple.
Definition at line 191 of file EventCollectionSelector.cpp.
|
override |
Service override: Initialize service.
Definition at line 91 of file EventCollectionSelector.cpp.
|
override |
Access last item in the iteration.
refCtxt | [IN/OUT] Reference to the Context object. |
Definition at line 377 of file EventCollectionSelector.cpp.
|
override |
Get next iteration item from the event loop context.
refCtxt | [IN/OUT] Reference to the context |
Definition at line 267 of file EventCollectionSelector.cpp.
|
override |
Get next iteration item from the event loop context, but skip jump elements.
refCtxt | [IN/OUT] Reference to the context |
Definition at line 274 of file EventCollectionSelector.cpp.
|
override |
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 290 of file EventCollectionSelector.cpp.
|
override |
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 297 of file EventCollectionSelector.cpp.
|
override |
Release existing event iteration context.
refCtxt | [IN/OUT] Reference to the context |
Definition at line 351 of file EventCollectionSelector.cpp.
|
override |
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 365 of file EventCollectionSelector.cpp.
|
override |
Rewind the dataset.
refCtxt | [IN/OUT] Reference to the context |
Definition at line 313 of file EventCollectionSelector.cpp.
|
protected |
Authentication string (if needed)
Definition at line 84 of file EventCollectionSelector.h.
|
protected |
Container name.
Definition at line 86 of file EventCollectionSelector.h.
|
protected |
Criteria.
Definition at line 90 of file EventCollectionSelector.h.
|
protected |
Datafile name.
Definition at line 92 of file EventCollectionSelector.h.
|
protected |
Database service (exclusive property with db type)
Definition at line 96 of file EventCollectionSelector.h.
|
protected |
Database type identifier.
Definition at line 94 of file EventCollectionSelector.h.
|
protected |
Item name.
Definition at line 88 of file EventCollectionSelector.h.
|
mutableprotected |
Definition at line 80 of file EventCollectionSelector.h.
|
protected |
Selector name.
Definition at line 98 of file EventCollectionSelector.h.
|
mutableprotected |
Reference to Tuple service.
Definition at line 79 of file EventCollectionSelector.h.
|
protected |
Name of the event collection service name.
Definition at line 82 of file EventCollectionSelector.h.