38 std::vector<std::unique_ptr<TChain>>
fChains;
43 std::string
AsString() final {
return "ROOT data source"; };
46 RRootDS(std::string_view treeName, std::string_view fileNameGlob);
49 std::
string GetTypeName(std::string_view colName) const final;
51 bool HasColumn(std::string_view colName) const final;
56 void SetNSlots(
unsigned int nSlots) final;
unsigned long long ULong64_t
This class is unused and it has only been implemented as a proof of concept.
std::string AsString() final
std::string fFileNameGlob
bool SetEntry(unsigned int slot, ULong64_t entry) final
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot.
void SetNSlots(unsigned int nSlots) final
Inform RDataSource of the number of processing slots (i.e.
const std::vector< std::string > & GetColumnNames() const final
Returns a reference to the collection of the dataset's column names.
void FinalizeSlot(unsigned int slot) final
Convenience method called at the end of the data processing associated to a slot.
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges() final
Return ranges of entries to distribute to tasks.
std::string GetTypeName(std::string_view colName) const final
Type of a column as a string, e.g.
std::vector< std::vector< void * > > fBranchAddresses
std::vector< void * > GetColumnReadersImpl(std::string_view, const std::type_info &) final
type-erased vector of pointers to pointers to column values - one per slot
std::vector< std::unique_ptr< TChain > > fChains
bool HasColumn(std::string_view colName) const final
Checks if the dataset has a certain column.
void InitSlot(unsigned int slot, ULong64_t firstEntry) final
Convenience method called at the start of the data processing associated to a slot.
std::vector< std::string > fListOfBranches
void Initialize() final
Convenience method called before starting an event-loop.
std::vector< double * > fAddressesToFree
std::string GetLabel() final
Return a string representation of the datasource type.
std::size_t GetNFiles() const final
Returns the number of files from which the dataset is constructed.
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
RDataSource defines an API that RDataFrame can use to read arbitrary data formats.
A chain is a collection of files containing TTree objects.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...