24 throw std::runtime_error(
"The type specified for the column \"col0\" is not ULong64_t.");
26 std::vector<void *> ret;
63 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
66 std::vector<std::pair<ULong64_t, ULong64_t>> ranges(
fNSlots);
67 for (
auto &range : ranges) {
68 range = std::make_pair(currentEntry, currentEntry + 10);
90 assert(0U ==
fNSlots &&
"Setting the number of slots even if the number of slots is different from zero.");
99 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
125 auto lm = std::make_unique<RDFDetail::RLoopManager>(std::make_unique<RTrivialDS>(
size, skipEvenEntries),
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
unsigned long long ULong64_t
The public interface to the RDataFrame federation of classes.
std::string GetTypeName(std::string_view) const final
Type of a column as a string, e.g.
bool HasColumn(std::string_view colName) const final
Checks if the dataset has a certain column.
void SetNSlots(unsigned int nSlots) final
Inform RDataSource of the number of processing slots (i.e.
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
std::string GetLabel() final
Return a string representation of the datasource type.
std::vector< ULong64_t * > fCounterAddr
std::vector< void * > GetColumnReadersImpl(std::string_view name, const std::type_info &) final
type-erased vector of pointers to pointers to column values - one per slot
std::vector< ULong64_t > fCounter
std::vector< std::string > fColNames
bool SetEntry(unsigned int slot, ULong64_t entry) final
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot.
RTrivialDS()
This ctor produces a data-source that returns infinite entries.
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges() final
Return ranges of entries to distribute to tasks.
const std::vector< std::string > & GetColumnNames() const final
Returns a reference to the collection of the dataset's column names.
void Initialize() final
Convenience method called before starting an event-loop.
std::vector< std::string > ColumnNames_t
RInterface< RDFDetail::RLoopManager > MakeTrivialDataFrame()
Make a RDF wrapping a RTrivialDS with infinite entries, for demo purposes.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
TSeq< unsigned long > TSeqUL
TSeq< unsigned int > TSeqU