16#ifndef ROOT_INTERNAL_RDF_RTTREEDS 
   17#define ROOT_INTERNAL_RDF_RTTREEDS 
   80   RTTreeDS(std::shared_ptr<TTree> tree);
 
  119   std::unique_ptr<ROOT::Detail::RDF::RColumnReaderBase>
 
  123      throw std::runtime_error(
"GetColumnReaders should not be called on this data source, something wrong happened!");
 
 
  126   std::unique_ptr<ROOT::Detail::RDF::RColumnReaderBase> 
CreateColumnReader(
unsigned int slot, std::string_view col,
 
  127                                                                            const std::type_info &
tid,
 
 
unsigned long long ULong64_t
 
The head node of a RDF computation graph.
 
std::vector< std::pair< ULong64_t, ULong64_t > > GetTTreeEntryRange(TTree &tree)
 
std::vector< std::string > fBranchNamesWithoutDuplicates
 
RTTreeDS & operator=(RTTreeDS &&)=delete
 
std::size_t GetNFiles() const final
Returns the number of files from which the dataset is constructed.
 
std::string DescribeDataset() final
 
std::string GetLabel() final
Return a string representation of the datasource type.
 
const std::vector< std::string > & GetColumnNamesNoDuplicates() const final
 
const std::vector< std::string > & GetColumnNames() const final
Returns a reference to the collection of the dataset's column names.
 
void Setup(std::shared_ptr< TTree > &&tree, const ROOT::TreeUtils::RFriendInfo *friendInfo=nullptr)
 
std::vector< std::unique_ptr< TChain > > fFriends
 
void Initialize() final
Convenience method called before starting an event-loop.
 
const std::vector< std::string > & GetTopLevelFieldNames() const final
 
RTTreeDS & operator=(const RTTreeDS &)=delete
 
bool HasColumn(std::string_view colName) const final
Checks if the dataset has a certain column.
 
std::unique_ptr< TTreeReader > fTreeReader
 
std::unique_ptr< ROOT::Detail::RDF::RColumnReaderBase > GetColumnReaders(unsigned int, std::string_view, const std::type_info &) final
If the other GetColumnReaders overload returns an empty vector, this overload will be called instead.
 
void Finalize() final
Convenience method called after concluding an event-loop.
 
RTTreeDS(RTTreeDS &&)=delete
 
RTTreeDS(const RTTreeDS &)=delete
 
bool SetEntry(unsigned int, ULong64_t entry) final
Advance the "cursors" returned by GetColumnReaders to the selected entry for a particular slot.
 
void InitializeWithOpts(const std::set< std::string > &suppressErrorsForMissingBranches) final
 
std::vector< std::string > fTopLevelBranchNames
 
std::vector< std::pair< ULong64_t, ULong64_t > > GetTChainEntryRange(TChain &chain)
 
Record_t 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::string > fBranchNamesWithDuplicates
 
RTTreeDS(std::shared_ptr< TTree > tree)
 
std::vector< std::pair< ULong64_t, ULong64_t > > GetEntryRanges() final
Return ranges of entries to distribute to tasks.
 
std::string AsString() final
 
std::shared_ptr< TTree > fTree
 
std::string GetTypeName(std::string_view colName) const final
Type of a column as a string, e.g.
 
RDataSource defines an API that RDataFrame can use to read arbitrary data formats.
 
friend std::string ROOT::Internal::RDF::GetTypeNameWithOpts(const RDataSource &, std::string_view, bool)
 
friend ROOT::RDF::RSampleInfo ROOT::Internal::RDF::CreateSampleInfo(const ROOT::RDF::RDataSource &, const std::unordered_map< std::string, ROOT::RDF::Experimental::RSample * > &)
 
std::vector< void * > Record_t
 
friend std::unique_ptr< ROOT::Detail::RDF::RColumnReaderBase > ROOT::Internal::RDF::CreateColumnReader(ROOT::RDF::RDataSource &, unsigned int, std::string_view, const std::type_info &, TTreeReader *)
 
friend void ROOT::Internal::RDF::ProcessMT(RDataSource &, ROOT::Detail::RDF::RLoopManager &)
 
friend void ROOT::Internal::RDF::RunFinalChecks(const ROOT::RDF::RDataSource &, bool)
 
This type represents a sample identifier, to be used in conjunction with RDataFrame features such as ...
 
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
 
A chain is a collection of files containing TTree objects.
 
Describe directory structure in memory.
 
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
 
A TTree represents a columnar dataset.
 
ROOT::RDataFrame FromTTree(std::string_view treeName, std::string_view fileNameGlob)
 
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
 
Information about friend trees of a certain TTree or TChain object.