Go to the documentation of this file.
21 #ifndef GAUDISVC_EventCollectionSelector_EventCollectionSelector_H
22 #define GAUDISVC_EventCollectionSelector_EventCollectionSelector_H 1
69 tuple = ( ctxt ) ? ctxt->tuple :
nullptr;
70 item = ( ctxt ) ? ctxt->item :
nullptr;
92 "name of the event collection service" };
200 using extends::extends;
203 #endif // GAUDISVC_EventCollectionSelector_EventCollectionSelector_H
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...
StatusCode finalize() override
Service override: Finalize Service.
Gaudi::Property< std::string > m_dbType
virtual StatusCode connectDataSource(const std::string &db, const std::string &typ) const
Connect collection's data source to selector.
SmartIF< INTupleSvc > m_tupleSvc
Reference to Tuple service.
virtual unsigned long addRef()=0
Add reference to object.
IOpaqueAddress * addressBuffer
virtual unsigned long release()=0
release reference to object
Gaudi::Property< std::string > m_database
~MyContextType() override
Gaudi::Property< std::string > m_itemName
StatusCode next(Context &refCtxt) const override
Get next iteration item from the event loop context.
StatusCode createAddress(const Context &refCtxt, IOpaqueAddress *&refpAddr) const override
Create new Opaque address corresponding to the current record.
StatusCode initialize() override
Service override: Initialize service.
StatusCode rewind(Context &refCtxt) const override
Rewind the dataset.
SmartIF< IAddressCreator > m_pAddrCreator
NTuple::Item< IOpaqueAddress * > * item
StatusCode previous(Context &refCtxt) const override
Get previous iteration item from the event loop context.
MyContextType(NTuple::Tuple *t, NTuple::Item< IOpaqueAddress * > *i)
MyContextType & operator=(const MyContextType &)=delete
virtual StatusCode getNextRecord(NTuple::Tuple *tuple) const
Read next record of the N-tuple.
StatusCode createContext(Context *&refpCtxt) const override
Create a new event loop context.
void setAddress(IOpaqueAddress *pAddr)
Base class used to extend a class implementing other interfaces.
virtual StatusCode connectStatement(const std::string &typ, const std::string &crit, INTuple *tuple) const
Connect selection statement to refine data access.
virtual StatusCode connectCollection(MyContextType *ctxt) const
Connect collection to selector.
MyContextType(const MyContextType &ctxt)
virtual StatusCode getPreviousRecord(NTuple::Tuple *tuple) const
Read next record of the N-tuple.
Abstract base class which allows the user to interact with the actual N tuple implementation.
Gaudi::Property< std::string > m_cntName
Definition of class EventCollectionSelector.
Gaudi::Property< std::string > m_dbSvc
Definition of class EventSelectorDataStream.
MyContextType(MyContextType *ctxt=nullptr)
Gaudi::Property< std::string > m_tupleSvcName
virtual StatusCode connectTuple(const std::string &nam, const std::string &itName, NTuple::Tuple *&tup, NTuple::Item< IOpaqueAddress * > *&item) const
Connect to existing N-tuple.
Gaudi::Property< std::string > m_criteria
StatusCode releaseContext(Context *&refCtxt) const override
Release existing event iteration context.
StatusCode last(Context &refCtxt) const override
Access last item in the iteration.
void * identifier() const override
Gaudi::Property< std::string > m_statement
Gaudi::Property< std::string > m_authentication