Logo ROOT   6.12/07
Reference Guide
Classes | Functions
ROOT::Experimental::TDF Namespace Reference

Classes

class  TArrayBranch
 When using TDataFrame to read data from a ROOT file, users can specify that the type of a branch is TArrayBranch<T> to indicate the branch is a c-style array, an STL array or any other type that can/must be accessed through a TTreeReaderArray<T> (as opposed to a TTreeReaderValue<T>). More...
 
class  TCsvDS
 TDataFrame data source class for reading CSV files. More...
 
class  TDataSource
 TDataSource defines an API that TDataFrame can use to read arbitrary data formats. More...
 
class  TH1DModel
 A struct which stores the parameters of a TH1D. More...
 
class  TH2DModel
 A struct which stores the parameters of a TH2D. More...
 
class  TH3DModel
 A struct which stores the parameters of a TH3D. More...
 
class  TInterface
 The public interface to the TDataFrame federation of classes. More...
 
class  TProfile1DModel
 A struct which stores the parameters of a TProfile. More...
 
class  TProfile2DModel
 A struct which stores the parameters of a TProfile2D. More...
 
class  TResultProxy
 Smart pointer for the return type of actions. More...
 
class  TRootDS
 
struct  TSnapshotOptions
 A collection of options to steer the creation of the dataset on file. More...
 
class  TTrivialDS
 

Functions

TDataFrame MakeCsvDataFrame (std::string_view fileName, bool readHeaders=true, char delimiter=',')
 Factory method to create a CSV TDataFrame. More...
 
TDataFrame MakeRootDataFrame (std::string_view treeName, std::string_view fileNameGlob)
 
TDataFrame MakeTrivialDataFrame (ULong64_t size)
 

Function Documentation

◆ MakeCsvDataFrame()

TDataFrame ROOT::Experimental::TDF::MakeCsvDataFrame ( std::string_view  fileName,
bool  readHeaders = true,
char  delimiter = ',' 
)

Factory method to create a CSV TDataFrame.

Parameters
[in]fileNamePath of the CSV file.
[in]readHeaderstrue if the CSV file contains headers as first row, false otherwise (default true).
[in]delimiterDelimiter character (default ',').

Definition at line 377 of file TCsvDS.cxx.

◆ MakeRootDataFrame()

TDataFrame ROOT::Experimental::TDF::MakeRootDataFrame ( std::string_view  treeName,
std::string_view  fileNameGlob 
)

Definition at line 153 of file TRootDS.cxx.

◆ MakeTrivialDataFrame()

TDataFrame ROOT::Experimental::TDF::MakeTrivialDataFrame ( ULong64_t  size)

Definition at line 82 of file TTrivialDS.cxx.