47 std::optional<NTuple::Item<IOpaqueAddress*>>
item{};
52 tuple = ( ctxt ) ? ctxt->tuple :
nullptr;
53 if ( ctxt )
item.emplace( *ctxt->item );
75 "name of the event collection service" };
183 using extends::extends;
~MyContextType() override
void * identifier() const override
MyContextType(MyContextType *ctxt=nullptr)
void setAddress(IOpaqueAddress *pAddr)
std::optional< NTuple::Item< IOpaqueAddress * > > item
MyContextType & operator=(const MyContextType &)=delete
IOpaqueAddress * addressBuffer
MyContextType(const MyContextType &ctxt)
Definition of class EventCollectionSelector.
StatusCode rewind(Context &refCtxt) const override
Rewind the dataset.
StatusCode previous(Context &refCtxt) const override
Get previous iteration item from the event loop context.
virtual StatusCode connectCollection(MyContextType *ctxt) const
Connect collection to selector.
virtual StatusCode connectDataSource(const std::string &db, const std::string &typ) const
Connect collection's data source to selector.
StatusCode createContext(Context *&refpCtxt) const override
Create a new event loop context.
Gaudi::Property< std::string > m_authentication
StatusCode createAddress(const Context &refCtxt, IOpaqueAddress *&refpAddr) const override
Create new Opaque address corresponding to the current record.
virtual StatusCode getPreviousRecord(NTuple::Tuple *tuple) const
Read next record of the N-tuple.
SmartIF< IAddressCreator > m_pAddrCreator
StatusCode releaseContext(Context *&refCtxt) const override
Release existing event iteration context.
StatusCode last(Context &refCtxt) const override
Access last item in the iteration.
Gaudi::Property< std::string > m_database
StatusCode initialize() override
Service override: Initialize service.
virtual StatusCode connectTuple(const std::string &nam, const std::string &itName, NTuple::Tuple *&tup, std::optional< NTuple::Item< IOpaqueAddress * > > &item) const
Connect to existing N-tuple.
Gaudi::Property< std::string > m_tupleSvcName
Gaudi::Property< std::string > m_itemName
Gaudi::Property< std::string > m_dbSvc
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...
Gaudi::Property< std::string > m_cntName
virtual StatusCode getNextRecord(NTuple::Tuple *tuple) const
Read next record of the N-tuple.
SmartIF< INTupleSvc > m_tupleSvc
Reference to Tuple service.
virtual StatusCode connectStatement(const std::string &typ, const std::string &crit, INTuple *tuple) const
Connect selection statement to refine data access.
Gaudi::Property< std::string > m_dbType
Gaudi::Property< std::string > m_statement
StatusCode finalize() override
Service override: Finalize Service.
Gaudi::Property< std::string > m_criteria
StatusCode next(Context &refCtxt) const override
Get next iteration item from the event loop context.
Definition of class EventSelectorDataStream.
Implementation of property with value of concrete type.
Generic Transient Address.
IAddressCreator interface definition.
The Event Selector Interface.
NTuple interface class definition.
Opaque address interface definition.
Class acting as a smart pointer holding a N tuple _Item.
Abstract base class which allows the user to interact with the actual N tuple implementation.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
Base class used to extend a class implementing other interfaces.