11#ifndef ROOT_RDFNODES_UTILS
12#define ROOT_RDFNODES_UTILS
53template <
typename RDFValueTuple, std::size_t...
S>
56 const std::array<
bool,
sizeof...(
S)> &isCustomColumn)
61 int expander[] = {(isCustomColumn[
S]
62 ? std::get<S>(valueTuple).SetTmpColumn(slot, customCols.
GetColumns().at(bn[
S]).get())
63 : std::get<S>(valueTuple).MakeProxy(
r, bn[
S]),
typedef void((*Func_t)())
Encapsulates the columns defined by the user.
const RCustomColumnBasePtrMap_t & GetColumns() const
Returns the list of the pointers to the defined columns.
A "std::vector"-like collection of values implementing handy operation to analyse them.
An interface for reading collections stored in ROOT columnar datasets.
An interface for reading values stored in ROOT columnar datasets.
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
void InitRDFValues(unsigned int slot, RDFValueTuple &valueTuple, TTreeReader *r, const ColumnNames_t &bn, const RBookedCustomColumns &customCols, std::index_sequence< S... >, const std::array< bool, sizeof...(S)> &isCustomColumn)
Initialize a tuple of RColumnValues.
typename TReaderValueOrArray< T >::Proxy_t ReaderValueOrArray_t
ROOT::Detail::RDF::ColumnNames_t ColumnNames_t
RooArgSet S(const RooAbsArg &v1)
Choose between TTreeReader{Array,Value} depending on whether the branch type T is a RVec<T> or any ot...