Logo ROOT   6.10/00
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Typedefs | Functions
ROOT::Internal::TDF Namespace Reference

Classes

class  TAction
 
class  TActionBase
 
class  TColumnValue
 Helper class that updates and returns TTree branches as well as TDataFrame temporary columns. More...
 
struct  TTDFValueTuple
 
struct  TTDFValueTuple< TTypeList< BranchTypes...> >
 

Typedefs

template<typename BranchType >
using TDFValueTuple_t = typename TTDFValueTuple< BranchType >::type
 
using TmpBranchBasePtr_t = std::shared_ptr< TCustomColumnBase >
 

Functions

template<typename TDFNode , typename ActionType , typename... BranchTypes, typename ActionResultType >
void CallBuildAndBook (TDFNode *node, const ColumnNames_t &bl, unsigned int nSlots, const std::shared_ptr< ActionResultType > &r)
 
void CheckTmpBranch (std::string_view branchName, TTree *treePtr)
 
std::string ColumnName2ColumnTypeName (const std::string &colName, TTree *tree, TCustomColumnBase *tmpBranch)
 Return a string containing the type of the given branch. More...
 
unsigned int GetNSlots ()
 
std::vector< std::string > GetUsedBranchesNames (const std::string, TObjArray *, const std::vector< std::string > &)
 
void JitBuildAndBook (const ColumnNames_t &bl, const std::string &nodeTypename, void *thisPtr, const std::type_info &art, const std::type_info &at, const void *r, TTree *tree, unsigned int nSlots, const std::map< std::string, TmpBranchBasePtr_t > &tmpBranches)
 
Long_t JitTransformation (void *thisPtr, const std::string &methodName, const std::string &nodeTypeName, const std::string &name, const std::string &expression, TObjArray *branches, const std::vector< std::string > &tmpBranches, const std::map< std::string, TmpBranchBasePtr_t > &tmpBookedBranches, TTree *tree)
 
const ColumnNames_t & PickBranchNames (unsigned int nArgs, const ColumnNames_t &bl, const ColumnNames_t &defBl)
 Returns local BranchNames or default BranchNames according to which one should be used. More...
 
const char * ToConstCharPtr (const char *s)
 
const char * ToConstCharPtr (const std::string s)
 

Typedef Documentation

template<typename BranchType >
using ROOT::Internal::TDF::TDFValueTuple_t = typedef typename TTDFValueTuple<BranchType>::type

Definition at line 197 of file TDFNodes.hxx.

Definition at line 45 of file TDFInterface.hxx.

Function Documentation

template<typename TDFNode , typename ActionType , typename... BranchTypes, typename ActionResultType >
void ROOT::Internal::TDF::CallBuildAndBook ( TDFNode *  node,
const ColumnNames_t &  bl,
unsigned int  nSlots,
const std::shared_ptr< ActionResultType > &  r 
)

Definition at line 48 of file TDFInterface.hxx.

void ROOT::Internal::TDF::CheckTmpBranch ( std::string_view  branchName,
TTree treePtr 
)

Definition at line 134 of file TDFUtils.cxx.

std::string ROOT::Internal::TDF::ColumnName2ColumnTypeName ( const std::string &  colName,
TTree tree,
TCustomColumnBase tmpBranch 
)

Return a string containing the type of the given branch.

Works both with real TTree branches and with temporary column created by Define.

Definition at line 30 of file TDFUtils.cxx.

unsigned int ROOT::Internal::TDF::GetNSlots ( )

Definition at line 125 of file TDFUtils.cxx.

std::vector< std::string > ROOT::Internal::TDF::GetUsedBranchesNames ( const std::string  expression,
TObjArray branches,
const std::vector< std::string > &  tmpBranches 
)

Definition at line 36 of file TDFInterface.cxx.

void ROOT::Internal::TDF::JitBuildAndBook ( const ColumnNames_t &  bl,
const std::string &  nodeTypename,
void thisPtr,
const std::type_info &  art,
const std::type_info &  at,
const void r,
TTree tree,
unsigned int  nSlots,
const std::map< std::string, TmpBranchBasePtr_t > &  tmpBranches 
)

Definition at line 168 of file TDFInterface.cxx.

Long_t ROOT::Internal::TDF::JitTransformation ( void thisPtr,
const std::string &  methodName,
const std::string &  nodeTypeName,
const std::string &  name,
const std::string &  expression,
TObjArray branches,
const std::vector< std::string > &  tmpBranches,
const std::map< std::string, TmpBranchBasePtr_t > &  tmpBookedBranches,
TTree tree 
)

Definition at line 65 of file TDFInterface.cxx.

const ColumnNames_t& ROOT::Internal::TDF::PickBranchNames ( unsigned int  nArgs,
const ColumnNames_t &  bl,
const ColumnNames_t &  defBl 
)

Returns local BranchNames or default BranchNames according to which one should be used.

Definition at line 147 of file TDFUtils.cxx.

const char* ROOT::Internal::TDF::ToConstCharPtr ( const char *  s)

Definition at line 115 of file TDFUtils.cxx.

const char* ROOT::Internal::TDF::ToConstCharPtr ( const std::string  s)

Definition at line 120 of file TDFUtils.cxx.