20std::vector<void *> RTrivialDS::GetColumnReadersImpl(std::string_view,
const std::type_info &ti)
24 throw std::runtime_error(
"The type specified for the column \"col0\" is not ULong64_t.");
26 std::vector<void *> ret;
38RTrivialDS::RTrivialDS() :
fSize(std::numeric_limits<
ULong64_t>::max()), fSkipEvenEntries(false)
42RTrivialDS::~RTrivialDS()
46const std::vector<std::string> &RTrivialDS::GetColumnNames()
const
51bool RTrivialDS::HasColumn(std::string_view colName)
const
56std::string RTrivialDS::GetTypeName(std::string_view)
const
61std::vector<std::pair<ULong64_t, ULong64_t>> RTrivialDS::GetEntryRanges()
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);
79bool RTrivialDS::SetEntry(
unsigned int slot,
ULong64_t entry)
88void RTrivialDS::SetNSlots(
unsigned int nSlots)
90 assert(0U ==
fNSlots &&
"Setting the number of slots even if the number of slots is different from zero.");
97void RTrivialDS::Initialize()
99 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
118std::string RTrivialDS::GetLabel()
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::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
std::vector< ULong64_t * > fCounterAddr
std::vector< ULong64_t > fCounter
std::vector< std::string > fColNames
std::vector< std::string > ColumnNames_t
RInterface< RDFDetail::RLoopManager > MakeTrivialDataFrame(ULong64_t size, bool skipEvenEntries=false)
Make a RDF wrapping a RTrivialDS with the specified amount of entries.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
TSeq< unsigned long > TSeqUL
TSeq< unsigned int > TSeqU