20std::vector<void *> RTrivialDS::GetColumnReadersImpl(std::string_view,
const std::type_info &)
33const std::vector<std::string> &RTrivialDS::GetColumnNames()
const
38bool RTrivialDS::HasColumn(std::string_view
colName)
const
43std::string RTrivialDS::GetTypeName(std::string_view)
const
48std::vector<std::pair<ULong64_t, ULong64_t>> RTrivialDS::GetEntryRanges()
50 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
53 std::vector<std::pair<ULong64_t, ULong64_t>> ranges(
fNSlots);
54 for (
auto &
range : ranges) {
75void RTrivialDS::SetNSlots(
unsigned int nSlots)
77 assert(0U ==
fNSlots &&
"Setting the number of slots even if the number of slots is different from zero.");
84void RTrivialDS::Initialize()
86 if (
fSize == std::numeric_limits<ULong64_t>::max()) {
105std::string RTrivialDS::GetLabel()
112 auto lm = std::make_unique<RDFDetail::RLoopManager>(std::make_unique<RTrivialDS>(
size,
skipEvenEntries),
127std::unique_ptr<ROOT::Detail::RDF::RColumnReaderBase>
132 throw std::runtime_error(
"The type specified for the column \"col0\" is not ULong64_t.");
137 return std::make_unique<ROOT::Internal::RDF::RTrivialDSColumnReader>(
fCounterAddr[
slot]);
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
unsigned long long ULong64_t
Portable unsigned long integer 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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::unique_ptr< ROOT::Detail::RDF::RColumnReaderBase > GetColumnReaders(unsigned int slot, std::string_view colName, const std::type_info &tid) final
If the other GetColumnReaders overload returns an empty vector, this overload will be called instead.
RInterface< RDFDetail::RLoopManager > MakeTrivialDataFrame(ULong64_t size, bool skipEvenEntries=false)
Make a RDF wrapping a RTrivialDS with the specified amount of entries.
std::vector< std::string > ColumnNames_t
TSeq< unsigned long > TSeqUL