Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RDFUtils.cxx File Reference
#include "RConfigure.h"
#include "ROOT/RDataSource.hxx"
#include "ROOT/RDF/RDefineBase.hxx"
#include "ROOT/RDF/RLoopManager.hxx"
#include "ROOT/RDF/Utils.hxx"
#include "ROOT/RLogger.hxx"
#include "RtypesCore.h"
#include "TBranch.h"
#include "TBranchElement.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TClassRef.h"
#include "TError.h"
#include "TInterpreter.h"
#include "TLeaf.h"
#include "TROOT.h"
#include "TTree.h"
#include <stdexcept>
#include <string>
#include <cstring>
#include <typeinfo>
Include dependency graph for RDFUtils.cxx:

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Internal
 
namespace  ROOT::Internal::RDF
 

Functions

void ROOT::Internal::RDF::CheckReaderTypeMatches (const std::type_info &colType, const std::type_info &requestedType, const std::string &colName)
 
std::string ROOT::Internal::RDF::ColumnName2ColumnTypeName (const std::string &colName, TTree *tree, RDataSource *ds, RDefineBase *define, bool vector2rvec)
 Return a string containing the type of the given branch.
 
std::string ROOT::Internal::RDF::ComposeRVecTypeName (const std::string &valueType)
 
std::string ROOT::Internal::RDF::GetBranchOrLeafTypeName (TTree &t, const std::string &colName)
 Return the typename of object colName stored in t, if any.
 
unsigned int ROOT::Internal::RDF::GetColumnWidth (const std::vector< std::string > &names, const unsigned int minColumnSpace=8u)
 Get optimal column width for printing a table given the names and the desired minimal space between columns.
 
std::string ROOT::Internal::RDF::GetLeafTypeName (TLeaf *leaf, const std::string &colName)
 
unsigned int ROOT::Internal::RDF::GetNSlots ()
 
Long64_t ROOT::Internal::RDF::InterpreterCalc (const std::string &code, const std::string &context="")
 Jit code in the interpreter with TInterpreter::Calc, throw in case of errors.
 
void ROOT::Internal::RDF::InterpreterDeclare (const std::string &code)
 Declare code in the interpreter via the TInterpreter::Declare method, throw in case of errors.
 
bool ROOT::Internal::RDF::IsInternalColumn (std::string_view colName)
 Whether custom column with name colName is an "internal" column such as rdfentry_ or rdfslot_.
 
bool ROOT::Internal::RDF::IsStrInVec (const std::string &str, const std::vector< std::string > &vec)
 
std::vector< std::string > ROOT::Internal::RDF::ReplaceDotWithUnderscore (const std::vector< std::string > &columnNames)
 Replace occurrences of '.
 
std::string ROOT::Internal::RDF::TypeID2TypeName (const std::type_info &id)
 Returns the name of a type starting from its type_info An empty string is returned in case of failure References and pointers are not supported since those cannot be stored in columns.
 
char ROOT::Internal::RDF::TypeName2ROOTTypeName (const std::string &b)
 Convert type name (e.g.
 
const std::type_info & ROOT::Internal::RDF::TypeName2TypeID (const std::string &name)
 Return the type_info associated to a name.