14 throw std::runtime_error(
"The type specified for the column \"col0\" is not ULong64_t.");
16 std::vector<void *> ret;
64 assert(0U ==
fNSlots &&
"Setting the number of slots even if the number of slots is different from zero.");
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
Namespace for new ROOT classes and functions.
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges()
Return ranges of entries to distribute to tasks.
RTrivialDS(ULong64_t size, bool skipEvenEntries=false)
bool SetEntry(unsigned int slot, ULong64_t entry)
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot...
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
std::vector< ULong64_t * > fCounterAddr
std::vector< std::string > fColNames
std::string GetTypeName(std::string_view) const
Type of a column as a string, e.g.
bool HasColumn(std::string_view colName) const
Checks if the dataset has a certain column.
void Initialise()
Convenience method called before starting an event-loop.
ROOT's RDataFrame offers a high level interface for analyses of data stored in TTrees, CSV's and other data formats.
RDataFrame MakeTrivialDataFrame(ULong64_t size, bool skipEvenEntries=false)
A pseudo container class which is a generator of indices.
void SetNSlots(unsigned int nSlots)
Inform RDataSource of the number of processing slots (i.e.
unsigned long long ULong64_t
basic_string_view< char > string_view
typedef void((*Func_t)())
std::vector< ULong64_t > fCounter
const std::vector< std::string > & GetColumnNames() const
Returns a reference to the collection of the dataset's column names.