Logo ROOT  
Reference Guide
RDFInterfaceUtils.cxx File Reference
#include <ROOT/RDF/InterfaceUtils.hxx>
#include <ROOT/RDataFrame.hxx>
#include <ROOT/RDF/RInterface.hxx>
#include <ROOT/RStringView.hxx>
#include <ROOT/TSeq.hxx>
#include <RtypesCore.h>
#include <TDirectory.h>
#include <TChain.h>
#include <TClass.h>
#include <TClassEdit.h>
#include <TFriendElement.h>
#include <TInterpreter.h>
#include <TObject.h>
#include <TRegexp.h>
#include <TPRegexp.h>
#include <TString.h>
#include <TTree.h>
#include "lexertk.hpp"
#include <iosfwd>
#include <set>
#include <stdexcept>
#include <string>
#include <typeinfo>
Include dependency graph for RDFInterfaceUtils.cxx:

Namespaces

namespace  ROOT
 VSD Structures.
 
namespace  ROOT::Detail
 
namespace  ROOT::Detail::RDF
 
namespace  ROOT::Internal
 
namespace  ROOT::Internal::RDF
 
namespace  ROOT::RDF
 

Functions

bool ROOT::Internal::RDF::AtLeastOneEmptyString (const std::vector< std::string_view > strings)
 
void ROOT::Internal::RDF::BookDefineJit (std::string_view name, std::string_view expression, RLoopManager &lm, RDataSource *ds, const std::shared_ptr< RJittedCustomColumn > &jittedCustomColumn, const RDFInternal::RBookedCustomColumns &customCols, const ColumnNames_t &branches)
 
void ROOT::Internal::RDF::BookFilterJit (RJittedFilter *jittedFilter, void *prevNodeOnHeap, std::string_view name, std::string_view expression, const std::map< std::string, std::string > &aliasMap, const ColumnNames_t &branches, const RDFInternal::RBookedCustomColumns &customCols, TTree *tree, RDataSource *ds, unsigned int namespaceID)
 
std::string ROOT::Internal::RDF::BuildLambdaString (const std::string &expr, const ColumnNames_t &vars, const ColumnNames_t &varTypes, bool hasReturnStmt)
 
void ROOT::Internal::RDF::CheckCustomColumn (std::string_view definedCol, TTree *treePtr, const ColumnNames_t &customCols, const std::map< std::string, std::string > &aliasMap, const ColumnNames_t &dataSourceColumns)
 
void ROOT::Internal::RDF::CheckTypesAndPars (unsigned int nTemplateParams, unsigned int nColumnNames)
 
std::vector< std::string > ROOT::Internal::RDF::ColumnTypesAsString (ColumnNames_t &colNames, ColumnNames_t &varNames, const std::map< std::string, std::string > &aliasMap, TTree *tree, RDataSource *ds, std::string &expr, unsigned int namespaceID, const RDFInternal::RBookedCustomColumns &customCols)
 
ColumnNames_t ROOT::Internal::RDF::ConvertRegexToColumns (const RDFInternal::RBookedCustomColumns &customColumns, TTree *tree, ROOT::RDF::RDataSource *dataSource, std::string_view columnNameRegexp, std::string_view callerName)
 
HeadNode_t ROOT::Internal::RDF::CreateSnapshotRDF (const ColumnNames_t &validCols, std::string_view treeName, std::string_view fileName, bool isLazy, RLoopManager &loopManager, std::unique_ptr< RDFInternal::RActionBase > actionPtr)
 
std::string ROOT::Internal::RDF::DemangleTypeIdName (const std::type_info &typeInfo)
 
std::vector< bool > ROOT::Internal::RDF::FindUndefinedDSColumns (const ColumnNames_t &requestedCols, const ColumnNames_t &definedCols)
 Return a bitset each element of which indicates whether the corresponding element in selectedColumns is the name of a column that must be defined via datasource. More...
 
ColumnNames_t ROOT::Internal::RDF::FindUnknownColumns (const ColumnNames_t &requiredCols, const ColumnNames_t &datasetColumns, const ColumnNames_t &definedCols, const ColumnNames_t &dataSourceColumns)
 
std::vector< std::string > ROOT::Internal::RDF::FindUsedColumnNames (std::string_view expression, ColumnNames_t branches, const ColumnNames_t &customColumns, const ColumnNames_t &dsColumns, const std::map< std::string, std::string > &aliasMap)
 
std::vector< std::string > ROOT::Internal::RDF::GetFilterNames (const std::shared_ptr< RLoopManager > &loopManager)
 
std::set< std::string > ROOT::Internal::RDF::GetPotentialColumnNames (const std::string &expr)
 A tokeniser for the expression which is in C++ The goal is to extract all names which are potentially columns. More...
 
ColumnNames_t ROOT::Internal::RDF::GetTopLevelBranchNames (TTree &t)
 Get all the top-level branches names, including the ones of the friend trees. More...
 
void ROOT::Internal::RDF::GetTopLevelBranchNamesImpl (TTree &t, std::set< std::string > &bNamesReg, ColumnNames_t &bNames, std::set< TTree * > &analysedTrees)
 
ColumnNames_t ROOT::Internal::RDF::GetValidatedColumnNames (RLoopManager &lm, const unsigned int nColumns, const ColumnNames_t &columns, const ColumnNames_t &validCustomColumns, RDataSource *ds)
 Given the desired number of columns and the user-provided list of columns: More...
 
bool ROOT::Internal::RDF::IsInternalColumn (std::string_view colName)
 
bool ROOT::Internal::RDF::IsValidCppVarName (const std::string &var)
 
std::string ROOT::Internal::RDF::JitBuildAction (const ColumnNames_t &bl, void *prevNode, const std::type_info &art, const std::type_info &at, void *rOnHeap, TTree *tree, const unsigned int nSlots, const RDFInternal::RBookedCustomColumns &customCols, RDataSource *ds, std::shared_ptr< RJittedAction > *jittedActionOnHeap, unsigned int namespaceID)
 
std::string ROOT::Internal::RDF::PrettyPrintAddr (const void *const addr)
 
unsigned int ROOT::Internal::RDF::Replace (std::string &s, const std::string what, const std::string withWhat)
 
std::vector< std::string > ROOT::Internal::RDF::ReplaceDots (const ColumnNames_t &colNames)
 
const ColumnNames_t ROOT::Internal::RDF::SelectColumns (unsigned int nRequiredNames, const ColumnNames_t &names, const ColumnNames_t &defaultNames)
 Choose between local column names or default column names, throw in case of errors. More...
 
void ROOT::Internal::RDF::TryToJitExpression (const std::string &expression, const ColumnNames_t &colNames, const std::vector< std::string > &colTypes, bool hasReturnStmt)
 
std::shared_ptr< RNodeBase > ROOT::Internal::RDF::UpcastNode (std::shared_ptr< RNodeBase > ptr)