 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef RNTCOLLECTIONCURSOR_H
6 #define RNTCOLLECTIONCURSOR_H
24 namespace RootCollection {
39 ROOT::RNTupleReader*
reader );
43 virtual bool next()
override;
49 virtual std::size_t
size()
override;
52 virtual bool seek(std::size_t position)
override;
75 std::vector< std::pair< Token*, std::string > >
m_tokens;
virtual bool next() override
Advances the cursor to the next row of the query result set.
virtual std::size_t size() override
Return the size of the collection.
virtual bool seek(std::size_t position) override
Seeks the cursor to a given position in the collection.
virtual const Token & eventRef() const override
Returns the event reference Token for the current row.
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual ~RNTCollectionCursor()
const ICollectionDescription & m_description
ROOT::RNTupleReader * m_RNTReader
pool::CollectionRowBuffer m_collectionRowBuffer
Row buffer containing Tokens and Attributes selected by query.
virtual const pool::CollectionRowBuffer & currentRow() const override
Returns the selected Tokens and Attributes for the current row of the query result set.
std::unique_ptr< ROOT::REntry > m_RNTEntry
RNtuple row with Field addresses set to collectionRowBuffer attributes.
reader
read the goodrunslist xml file(s)
RNTCollectionCursor(const pool::ICollectionDescription &description, const pool::CollectionRowBuffer &collectionRowBuffer, ROOT::RNTupleReader *reader)
This file contains the class definition for the Token class (migrated from POOL).
Selection rules: declare transient members.
virtual void close() override
Cleanup.
std::vector< std::pair< Token *, std::string > > m_tokens
"Token rowBuffer" for reading Tokens as strings and converting them later
std::string description
glabal timer - how long have I taken so far?