1 #ifndef ROOT_TTRIVIALTDS 2 #define ROOT_TTRIVIALTDS 8 namespace Experimental {
std::string GetTypeName(std::string_view) const
Type of a column as a string, e.g.
basic_string_view< char > string_view
Namespace for new ROOT classes and functions.
std::vector< ULong64_t * > fCounterAddr
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
const std::vector< std::string > & GetColumnNames() const
Returns a reference to the collection of the dataset's column names.
void SetNSlots(unsigned int nSlots)
Inform TDataSource of the number of processing slots (i.e.
TDataSource defines an API that TDataFrame can use to read arbitrary data formats.
void SetEntry(unsigned int slot, ULong64_t entry)
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot...
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges()
Return ranges of entries to distribute to tasks.
std::vector< std::string > fColNames
std::vector< ULong64_t > fCounter
void Initialise()
Convenience method called before starting an event-loop.
TDataFrame MakeTrivialDataFrame(ULong64_t size)
bool HasColumn(std::string_view colName) const
Checks if the dataset has a certain column.
unsigned long long ULong64_t
TTrivialDS(ULong64_t size)
ROOT's TDataFrame offers a high level interface for analyses of data stored in TTrees.
std::vector< void * > GetColumnReadersImpl(std::string_view name, const std::type_info &)
type-erased vector of pointers to pointers to column values - one per slot