|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ROOTCOLLECTION_ROOTCOLLECTIONCURSOR_H
6 #define ROOTCOLLECTION_ROOTCOLLECTIONCURSOR_H
19 #include "TEventList.h"
22 namespace RootCollection {
30 virtual public implements<ICollectionSize>
38 const TEventList *evl );
42 virtual bool next()
override;
48 virtual bool seek(
long long int position)
override;
51 virtual int size()
override;
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row of the query result set.
AttrBranchVector_t m_attrBranches
Abstract interface for finding the size of an event collection.
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
char m_charBuffer[c_maxLengthOfStrings]
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual bool next() override
Advances the cursor to the next row of the query result set.
virtual int size() override
Return the size of the collection.
TokenBranchVector_t m_tokenBranches
virtual ~RootCollectionCursor()
Abstract interface for seeking within an event stream.
const TEventList * m_eventList
static const unsigned int c_maxLengthOfStrings
std::vector< std::pair< TBranch *, Token * > > TokenBranchVector_t
RootCollectionCursor(const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, TTree *tree, const TEventList *evl)
virtual bool seek(long long int position) override
Seeks the cursor to a given position in the collection.
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes selected by query.
Abstract interface for seeking inside a collection.
const ICollectionDescription & m_description
This file contains the class definition for the Token class (migrated from POOL).
virtual void close() override
Cleanup.
std::string description
glabal timer - how long have I taken so far?
std::vector< std::pair< TBranch *, std::string * > > AttrBranchVector_t