Logo ROOT   6.12/07
Reference Guide
Classes | Namespaces | Typedefs | Functions
TDFInterface.hxx File Reference
#include "ROOT/TResultProxy.hxx"
#include "ROOT/TDataSource.hxx"
#include "ROOT/TDFNodes.hxx"
#include "ROOT/TDFActionHelpers.hxx"
#include "ROOT/TDFHistoModels.hxx"
#include "ROOT/TDFUtils.hxx"
#include "RtypesCore.h"
#include "TChain.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TInterpreter.h"
#include "TProfile.h"
#include "TProfile2D.h"
#include "TRegexp.h"
#include "TROOT.h"
#include "TTreeReader.h"
#include <initializer_list>
#include <memory>
#include <string>
#include <sstream>
#include <typeinfo>
#include <type_traits>
Include dependency graph for TDFInterface.hxx:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Internal::TDF::CacheColumnHolder< T >
 
class  ROOT::Experimental::TDF::TInterface< Proxied >
 The public interface to the TDataFrame federation of classes. More...
 
class  ROOT::Experimental::TDF::TInterface< Proxied >
 The public interface to the TDataFrame federation of classes. More...
 
struct  ROOT::Internal::TDF::TMinReturnType< T, Container >
 The contained type alias is double if T == TInferType, U if T == std::container<U>, T otherwise. More...
 
struct  ROOT::Internal::TDF::TMinReturnType< T, true >
 
struct  ROOT::Internal::TDF::TMinReturnType< TDFDetail::TInferType, false >
 
struct  ROOT::Detail::TDF::TTakeRealTypes< T, COLL >
 

Namespaces

 cling
 Print a TSeq at the prompt:
 
 ROOT
 Namespace for new ROOT classes and functions.
 
 ROOT::Detail
 
 ROOT::Detail::TDF
 
 ROOT::Experimental
 
 ROOT::Experimental::TDF
 
 ROOT::Internal
 
 ROOT::Internal::TDF
 

Typedefs

template<typename T , typename C >
using ROOT::Detail::TDF::ColType_t = typename TTakeRealTypes< T, C >::RealColl_t
 
template<typename T >
using ROOT::Detail::TDF::MaxReturnType_t = MinReturnType_t< T >
 
template<typename T >
using ROOT::Detail::TDF::MinReturnType_t = typename TDFInternal::TMinReturnType< T >::type
 The aliased type is double if T == TInferType, U if T == container<U>, T otherwise. More...
 
template<typename T >
using ROOT::Detail::TDF::SumReturnType_t = MinReturnType_t< T >
 
using ROOT::Internal::TDF::TmpBranchBasePtr_t = std::shared_ptr< TCustomColumnBase >
 

Functions

bool ROOT::Internal::TDF::AtLeastOneEmptyString (const std::vector< std::string_view > strings)
 
template<typename... BranchTypes, typename ActionType , typename ActionResultType , typename PrevNodeType >
TActionBase * ROOT::Internal::TDF::BuildAndBook (const ColumnNames_t &bl, const std::shared_ptr< ActionResultType > &h, const unsigned int nSlots, TLoopManager &loopManager, PrevNodeType &prevNode, ActionType *)
 
template<typename... BranchTypes, typename PrevNodeType >
TActionBase * ROOT::Internal::TDF::BuildAndBook (const ColumnNames_t &bl, const std::shared_ptr<::TH1D > &h, const unsigned int nSlots, TLoopManager &loopManager, PrevNodeType &prevNode, ActionTypes::Histo1D *)
 
template<typename BranchType , typename PrevNodeType , typename ActionResultType >
TActionBase * ROOT::Internal::TDF::BuildAndBook (const ColumnNames_t &bl, const std::shared_ptr< ActionResultType > &minV, const unsigned int nSlots, TLoopManager &loopManager, PrevNodeType &prevNode, ActionTypes::Min *)
 
template<typename BranchType , typename PrevNodeType , typename ActionResultType >
TActionBase * ROOT::Internal::TDF::BuildAndBook (const ColumnNames_t &bl, const std::shared_ptr< ActionResultType > &maxV, const unsigned int nSlots, TLoopManager &loopManager, PrevNodeType &prevNode, ActionTypes::Max *)
 
template<typename BranchType , typename PrevNodeType , typename ActionResultType >
TActionBase * ROOT::Internal::TDF::BuildAndBook (const ColumnNames_t &bl, const std::shared_ptr< ActionResultType > &sumV, const unsigned int nSlots, TLoopManager &loopManager, PrevNodeType &prevNode, ActionTypes::Sum *)
 
template<typename BranchType , typename PrevNodeType >
TActionBase * ROOT::Internal::TDF::BuildAndBook (const ColumnNames_t &bl, const std::shared_ptr< double > &meanV, const unsigned int nSlots, TLoopManager &loopManager, PrevNodeType &prevNode, ActionTypes::Mean *)
 
template<typename ActionType , typename... BranchTypes, typename PrevNodeType , typename ActionResultType >
void ROOT::Internal::TDF::CallBuildAndBook (PrevNodeType &prevNode, const ColumnNames_t &bl, const unsigned int nSlots, const std::shared_ptr< ActionResultType > *rOnHeap, const std::shared_ptr< TActionBase *> *actionPtrPtrOnHeap)
 Convenience function invoked by jitted code to build action nodes at runtime. More...
 
template<typename... ColumnTypes, int... S>
void ROOT::Internal::TDF::DefineDataSourceColumns (const std::vector< std::string > &columns, TLoopManager &lm, StaticSeq< S... >, TTraits::TypeList< ColumnTypes... >, TDataSource &ds)
 Take a list of data-source column names and define the ones that haven't been defined yet. More...
 
template<typename T >
void ROOT::Internal::TDF::DefineDSColumnHelper (std::string_view name, TLoopManager &lm, TDataSource &ds)
 Helper function to be used by DefineDataSourceColumns More...
 
std::vector< bool > ROOT::Internal::TDF::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...
 
std::vector< std::string > ROOT::Internal::TDF::FindUsedColumnNames (std::string_view, TObjArray *, const std::vector< std::string > &)
 
ColumnNames_t ROOT::Internal::TDF::GetValidatedColumnNames (TLoopManager &lm, const unsigned int nColumns, const ColumnNames_t &columns, const ColumnNames_t &validCustomColumns, TDataSource *ds)
 Given the desired number of columns and the user-provided list of columns: More...
 
std::string ROOT::Internal::TDF::JitBuildAndBook (const ColumnNames_t &bl, const std::string &prevNodeTypename, void *prevNode, const std::type_info &art, const std::type_info &at, const void *r, TTree *tree, const unsigned int nSlots, const std::map< std::string, TmpBranchBasePtr_t > &customColumns, TDataSource *ds, const std::shared_ptr< TActionBase *> *const actionPtrPtr)
 
Long_t ROOT::Internal::TDF::JitTransformation (void *thisPtr, std::string_view methodName, std::string_view interfaceTypeName, std::string_view name, std::string_view expression, const std::map< std::string, std::string > &aliasMap, const ColumnNames_t &branches, const std::vector< std::string > &customColumns, const std::map< std::string, TmpBranchBasePtr_t > &tmpBookedBranches, TTree *tree, std::string_view returnTypeName, TDataSource *ds)
 
template<typename T >
std::shared_ptr< T > * ROOT::Internal::TDF::MakeSharedOnHeap (const std::shared_ptr< T > &shPtr)
 
std::string cling::printValue (ROOT::Experimental::TDataFrame *tdf)
 
std::shared_ptr< TFilterBaseROOT::Internal::TDF::UpcastNode (const std::shared_ptr< TFilterBase > ptr)
 
std::shared_ptr< TCustomColumnBaseROOT::Internal::TDF::UpcastNode (const std::shared_ptr< TCustomColumnBase > ptr)
 
std::shared_ptr< TRangeBaseROOT::Internal::TDF::UpcastNode (const std::shared_ptr< TRangeBase > ptr)
 
std::shared_ptr< TLoopManagerROOT::Internal::TDF::UpcastNode (const std::shared_ptr< TLoopManager > ptr)