Logo ROOT   6.10/09
Reference Guide
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...
 
template<typename ValueTuple , int... S>
void ResetTDFValueTuple (ValueTuple &values, TStaticSeq< S... >)
 Clear the proxies of a tuple of TColumnValues. More...
 
const char * ToConstCharPtr (const char *s)
 
const char * ToConstCharPtr (const std::string s)
 

Typedef Documentation

◆ TDFValueTuple_t

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

Definition at line 199 of file TDFNodes.hxx.

◆ TmpBranchBasePtr_t

Definition at line 45 of file TDFInterface.hxx.

Function Documentation

◆ CallBuildAndBook()

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.

◆ CheckTmpBranch()

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

Definition at line 134 of file TDFUtils.cxx.

◆ ColumnName2ColumnTypeName()

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.

◆ GetNSlots()

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

Definition at line 125 of file TDFUtils.cxx.

◆ GetUsedBranchesNames()

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.

◆ JitBuildAndBook()

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 166 of file TDFInterface.cxx.

◆ JitTransformation()

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 66 of file TDFInterface.cxx.

◆ PickBranchNames()

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.

◆ ResetTDFValueTuple()

template<typename ValueTuple , int... S>
void ROOT::Internal::TDF::ResetTDFValueTuple ( ValueTuple &  values,
TStaticSeq< S... >   
)

Clear the proxies of a tuple of TColumnValues.

Definition at line 203 of file TDFNodes.hxx.

◆ ToConstCharPtr() [1/2]

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

Definition at line 115 of file TDFUtils.cxx.

◆ ToConstCharPtr() [2/2]

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

Definition at line 120 of file TDFUtils.cxx.