11 #ifndef GAUDISVC_EventCollectionSelector_EventCollectionSelector_H 12 #define GAUDISVC_EventCollectionSelector_EventCollectionSelector_H 1 63 tuple = ( ctxt ) ? ctxt->tuple :
nullptr;
64 item = ( ctxt ) ? ctxt->item :
nullptr;
85 "name of the event collection service"};
193 using extends::extends;
196 #endif // GAUDISVC_EventCollectionSelector_EventCollectionSelector_H SmartIF< INTupleSvc > m_tupleSvc
Reference to Tuple service.
StatusCode createContext(Context *&refpCtxt) const override
Create a new event loop context.
virtual StatusCode getNextRecord(NTuple::Tuple *tuple) const
Read next record of the N-tuple.
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...
Implementation of property with value of concrete type.
MyContextType(MyContextType *ctxt=nullptr)
The Event Selector Interface.
MyContextType(NTuple::Tuple *t, NTuple::Item< IOpaqueAddress * > *i)
virtual StatusCode connectDataSource(const std::string &db, const std::string &typ) const
Connect collection's data source to selector.
~MyContextType() override
IAddressCreator interface definition.
Gaudi::Property< std::string > m_authentication
virtual unsigned long release()=0
release reference to object
Generic Transient Address.
Gaudi::Property< std::string > m_cntName
Gaudi::Property< std::string > m_database
StatusCode createAddress(const Context &refCtxt, IOpaqueAddress *&refpAddr) const override
Create new Opaque address corresponding to the current record.
Gaudi::Property< std::string > m_tupleSvcName
NTuple interface class definition.
StatusCode finalize() override
Service override: Finalize Service.
This class is used for returning status codes from appropriate routines.
Gaudi::Property< std::string > m_statement
StatusCode last(Context &refCtxt) const override
Access last item in the iteration.
Gaudi::Property< std::string > m_dbType
void * identifier() const override
void setAddress(IOpaqueAddress *pAddr)
MyContextType(const MyContextType &ctxt)
Abstract base class which allows the user to interact with the actual N tuple implementation.
Gaudi::Property< std::string > m_criteria
Gaudi::Property< std::string > m_dbSvc
virtual StatusCode getPreviousRecord(NTuple::Tuple *tuple) const
Read next record of the N-tuple.
Base class used to extend a class implementing other interfaces.
Definition of class EventCollectionSelector.
StatusCode previous(Context &refCtxt) const override
Get previous iteration item from the event loop context.
Definition of class EventSelectorDataStream.
StatusCode releaseContext(Context *&refCtxt) const override
Release existing event iteration context.
NTuple::Item< IOpaqueAddress * > * item
StatusCode initialize() override
Service override: Initialize service.
IOpaqueAddress * addressBuffer
virtual StatusCode connectTuple(const std::string &nam, const std::string &itName, NTuple::Tuple *&tup, NTuple::Item< IOpaqueAddress * > *&item) const
Connect to existing N-tuple.
Opaque address interface definition.
StatusCode rewind(Context &refCtxt) const override
Rewind the dataset.
SmartIF< IAddressCreator > m_pAddrCreator
virtual StatusCode connectCollection(MyContextType *ctxt) const
Connect collection to selector.
StatusCode next(Context &refCtxt) const override
Get next iteration item from the event loop context.
Gaudi::Property< std::string > m_itemName
virtual unsigned long addRef()=0
Add reference to object.
virtual StatusCode connectStatement(const std::string &typ, const std::string &crit, INTuple *tuple) const
Connect selection statement to refine data access.