11 namespace Experimental {
24 std::vector<std::unique_ptr<TChain>>
fChains;
std::vector< std::vector< void * > > fBranchAddresses
basic_string_view< char > string_view
Namespace for new ROOT classes and functions.
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges()
Return ranges of entries to distribute to tasks.
const std::vector< std::string > & GetColumnNames() const
Returns a reference to the collection of the dataset's column names.
std::vector< void * > GetColumnReadersImpl(std::string_view, const std::type_info &)
type-erased vector of pointers to pointers to column values - one per slot
std::vector< std::string > fListOfBranches
std::string fFileNameGlob
std::string GetTypeName(std::string_view colName) const
Type of a column as a string, e.g.
void InitSlot(unsigned int slot, ULong64_t firstEntry)
Convenience method called at the start of the data processing associated to a slot.
std::vector< double * > fAddressesToFree
TDataSource defines an API that TDataFrame can use to read arbitrary data formats.
std::vector< std::unique_ptr< TChain > > fChains
TRootDS(std::string_view treeName, std::string_view fileNameGlob)
void SetEntry(unsigned int slot, ULong64_t entry)
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot...
unsigned long long ULong64_t
bool HasColumn(std::string_view colName) const
Checks if the dataset has a certain column.
std::vector< std::pair< ULong64_t, ULong64_t > > fEntryRanges
TDataFrame MakeRootDataFrame(std::string_view treeName, std::string_view fileNameGlob)
ROOT's TDataFrame offers a high level interface for analyses of data stored in TTrees.
A chain is a collection of files containing TTree objects.
void SetNSlots(unsigned int nSlots)
Inform TDataSource of the number of processing slots (i.e.
void Initialise()
Convenience method called before starting an event-loop.