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)
42const std::vector<std::string> &RTrivialDS::GetColumnNames()
const
47bool RTrivialDS::HasColumn(std::string_view colName)
const
52std::string RTrivialDS::GetTypeName(std::string_view)
const
57std::vector<std::pair<ULong64_t, ULong64_t>> RTrivialDS::GetEntryRanges()
59 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
62 std::vector<std::pair<ULong64_t, ULong64_t>> ranges(
fNSlots);
63 for (
auto &range : ranges) {
64 range = std::make_pair(currentEntry, currentEntry + 10);
75bool RTrivialDS::SetEntry(
unsigned int slot,
ULong64_t entry)
84void RTrivialDS::SetNSlots(
unsigned int nSlots)
86 assert(0U ==
fNSlots &&
"Setting the number of slots even if the number of slots is different from zero.");
93void RTrivialDS::Initialize()
95 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
114std::string RTrivialDS::GetLabel()
121 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