Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RDFColumnReaderUtils.cxx
Go to the documentation of this file.
2
6 std::string_view colName, const std::type_info &ti)
7{
8 if (defineOrVariationReader != nullptr)
10
11 // Check if we already inserted a reader for this column in the dataset column readers (RDataSource or Tree/TChain
12 // readers)
13 auto *datasetColReader = lm.GetDatasetColumnReader(slot, std::string(colName), ti);
14 if (datasetColReader != nullptr)
15 return datasetColReader;
16
17 return lm.AddDataSourceColumnReader(slot, colName, ti, treeReader);
18}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
The head node of a RDF computation graph.
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
Definition TTreeReader.h:46
RDFDetail::RColumnReaderBase * GetColumnReader(unsigned int slot, RColumnReaderBase *defineOrVariationReader, RLoopManager &lm, TTreeReader *treeReader, std::string_view colName, const std::type_info &ti)