Namespaces | |
namespace | ExtraArgsForDefine |
Classes | |
class | RActionImpl |
Base class for action helpers, see RInterface::Book() for more information. More... | |
struct | RCallCleanUpTask |
A RAII object that calls RLoopManager::CleanUpTask at destruction. More... | |
class | RColumnReaderBase |
class | RDefine |
class | RDefineBase |
class | RDefinePerSample |
class | RFilter |
class | RFilterBase |
struct | RInferredType |
class | RJittedDefine |
A wrapper around a concrete RDefine, which forwards all calls to it RJittedDefine is a placeholder that is put in the collection of custom columns in place of a RDefine that will be just-in-time compiled. More... | |
class | RJittedFilter |
A wrapper around a concrete RFilter, which forwards all calls to it RJittedFilter is the type of the node returned by jitted Filter calls: the concrete filter can be created and set at a later time, from jitted code. More... | |
class | RLoopManager |
The head node of a RDF computation graph. More... | |
class | RMergeableCount |
Specialization of RMergeableValue for the Count action. More... | |
class | RMergeableFill |
Specialization of RMergeableValue for histograms and statistics. More... | |
class | RMergeableMax |
class | RMergeableMean |
Specialization of RMergeableValue for the Mean action. More... | |
class | RMergeableMin |
class | RMergeableStdDev |
Specialization of RMergeableValue for the StdDev action. More... | |
class | RMergeableSum |
class | RMergeableValue |
A result of an RDataFrame execution, that knows how to merge with other results of the same type. More... | |
class | RMergeableValueBase |
Base class of RMergeableValue. More... | |
class | RMergeableVariations |
A container for variation names and variation results that knows how to merge with others of the same type. More... | |
class | RMergeableVariationsBase |
A container for variation names and variation results. More... | |
class | RNodeBase |
Base class for non-leaf nodes of the computational graph. More... | |
class | RRange |
class | RRangeBase |
Functions | |
std::shared_ptr< ROOT::Detail::RDF::RLoopManager > | CreateLMFromTTree (std::string_view datasetName, const std::vector< std::string > &fileNameGlobs, const std::vector< std::string > &defaultColumns, bool checkFile=true) |
Create an RLoopManager that reads a TChain. | |
std::shared_ptr< ROOT::Detail::RDF::RLoopManager > | CreateLMFromTTree (std::string_view datasetName, std::string_view fileNameGlob, const std::vector< std::string > &defaultColumns, bool checkFile=true) |
Create an RLoopManager that reads a TChain. | |
template<typename T > | |
std::unique_ptr< RMergeableVariations< T > > | GetMergeableValue (ROOT::RDF::Experimental::RResultMap< T > &rmap) |
Retrieve mergeable values after calling ROOT::RDF::VariationsFor . | |
template<typename T > | |
std::unique_ptr< RMergeableValue< T > > | GetMergeableValue (RResultPtr< T > &rptr) |
Retrieve a mergeable value from an RDataFrame action. | |
template<typename T > | |
RResultPtr< T > | MakeResultPtr (const std::shared_ptr< T > &r, RLoopManager &lm, std::shared_ptr< RDFInternal::RActionBase > actionPtr) |
Create a RResultPtr and set its pointer to the corresponding RAction This overload is invoked by non-jitted actions, as they have access to RAction before constructing RResultPtr. | |
template<typename T , typename... Ts> | |
void | MergeValues (RMergeableValue< T > &OutputMergeable, const RMergeableValue< Ts > &... InputMergeables) |
Merge multiple RMergeableValue objects into one. | |
template<typename T , typename... Ts> | |
void | MergeValues (RMergeableVariations< T > &OutputMergeable, const RMergeableVariations< Ts > &... InputMergeables) |
Merge multiple RMergeableVariations objects into one. | |
template<typename T , typename... Ts> | |
std::unique_ptr< RMergeableValue< T > > | MergeValues (std::unique_ptr< RMergeableValue< T > > OutputMergeable, std::unique_ptr< RMergeableValue< Ts > >... InputMergeables) |
Merge multiple RMergeableValue objects into one. | |
ROOT::Experimental::RLogChannel & | RDFLogChannel () |
std::shared_ptr< ROOT::Detail::RDF::RLoopManager > ROOT::Detail::RDF::CreateLMFromTTree | ( | std::string_view | datasetName, |
const std::vector< std::string > & | fileNameGlobs, | ||
const std::vector< std::string > & | defaultColumns, | ||
bool | checkFile = true |
||
) |
Create an RLoopManager that reads a TChain.
[in] | datasetName | Name of the TChain |
[in] | fileNameGlobs | List of file names (potentially globs). |
[in] | defaultColumns | List of default columns, see Default column lists |
Definition at line 1172 of file RLoopManager.cxx.
std::shared_ptr< ROOT::Detail::RDF::RLoopManager > ROOT::Detail::RDF::CreateLMFromTTree | ( | std::string_view | datasetName, |
std::string_view | fileNameGlob, | ||
const std::vector< std::string > & | defaultColumns, | ||
bool | checkFile = true |
||
) |
Create an RLoopManager that reads a TChain.
[in] | datasetName | Name of the TChain |
[in] | fileNameGlob | File name (or glob) in which the TChain is stored. |
[in] | defaultColumns | List of default columns, see Default column lists |
Definition at line 1154 of file RLoopManager.cxx.
std::unique_ptr< RMergeableVariations< T > > ROOT::Detail::RDF::GetMergeableValue | ( | ROOT::RDF::Experimental::RResultMap< T > & | rmap | ) |
Retrieve mergeable values after calling ROOT::RDF::VariationsFor .
[in] | rmap | lvalue reference of an RResultMap object. |
This function triggers the execution of the RDataFrame computation graph. Then retrieves an RMergeableVariations object created with the results held by the RResultMap input. The user obtains ownership of the mergeable, which in turn holds a copy variation names and variation results. The RResultMap is not destroyed in the process and will still retain (shared) ownership of the original results.
Example usage:
Definition at line 211 of file RResultMap.hxx.
std::unique_ptr< RMergeableValue< T > > ROOT::Detail::RDF::GetMergeableValue | ( | RResultPtr< T > & | rptr | ) |
Retrieve a mergeable value from an RDataFrame action.
[in] | rptr | lvalue reference of an RResultPtr object. |
std::unique_ptr
.This function triggers the execution of the RDataFrame computation graph. Then retrieves an RMergeableValue object created with the result wrapped by the RResultPtr argument. The user obtains ownership of the mergeable, which in turn holds a copy of the result of the action. The RResultPtr is not destroyed in the process and will still retain (shared) ownership of the original result.
Example usage:
Definition at line 470 of file RResultPtr.hxx.
RResultPtr< T > ROOT::Detail::RDF::MakeResultPtr | ( | const std::shared_ptr< T > & | r, |
RLoopManager & | df, | ||
std::shared_ptr< ROOT::Internal::RDF::RActionBase > | actionPtr | ||
) |
Create a RResultPtr and set its pointer to the corresponding RAction This overload is invoked by non-jitted actions, as they have access to RAction before constructing RResultPtr.
Definition at line 444 of file RResultPtr.hxx.
void ROOT::Detail::RDF::MergeValues | ( | RMergeableValue< T > & | OutputMergeable, |
const RMergeableValue< Ts > &... | InputMergeables | ||
) |
Merge multiple RMergeableValue objects into one.
[in,out] | OutputMergeable | The mergeable object where all the information will be aggregated. |
[in] | InputMergeables | Other mergeables containing the partial results. |
This overload modifies the mergeable objects in-place. The ownership is left to the caller. The first argument to the function will get all the values contained in the other arguments merged into itself. This is a convenience overload introduced for the ROOT Python API.
Example usage:
Definition at line 761 of file RMergeableValue.hxx.
void ROOT::Detail::RDF::MergeValues | ( | RMergeableVariations< T > & | OutputMergeable, |
const RMergeableVariations< Ts > &... | InputMergeables | ||
) |
Merge multiple RMergeableVariations objects into one.
[in,out] | OutputMergeable | The mergeable object where all the information will be aggregated. |
[in] | InputMergeables | Other mergeables containing the partial results. |
This overload modifies the mergeable objects in-place. The ownership is left to the caller. The first argument to the function will get all the values contained in the other arguments merged into itself. This is a convenience overload introduced for the ROOT Python API.
Example usage:
Definition at line 795 of file RMergeableValue.hxx.
std::unique_ptr< RMergeableValue< T > > ROOT::Detail::RDF::MergeValues | ( | std::unique_ptr< RMergeableValue< T > > | OutputMergeable, |
std::unique_ptr< RMergeableValue< Ts > >... | InputMergeables | ||
) |
Merge multiple RMergeableValue objects into one.
[in] | OutputMergeable | The mergeable object where all the information will be aggregated. |
[in] | InputMergeables | Other mergeables containing the partial results. |
std::unique_ptr
.This is the recommended way of merging multiple RMergeableValue objects. This overload takes ownership of the mergeables and gives back to the user a mergeable with the aggregated information. All the mergeables with the partial results get destroyed in the process.
Example usage:
Definition at line 727 of file RMergeableValue.hxx.
ROOT::Experimental::RLogChannel & ROOT::Detail::RDF::RDFLogChannel | ( | ) |
Definition at line 37 of file RDFUtils.cxx.