Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::RTreeColumnReader< T > Class Template Referencefinal

template<typename T>
class ROOT::Internal::RDF::RTreeColumnReader< T >

RTreeColumnReader specialization for TTree values read via TTreeReaderValues.

Definition at line 32 of file RTreeColumnReader.hxx.

Public Member Functions

 RTreeColumnReader (TTreeReader &r, const std::string &colName)
 Construct the RTreeColumnReader. Actual initialization is performed lazily by the Init method.
 
- Public Member Functions inherited from ROOT::Detail::RDF::RColumnReaderBase
virtual ~RColumnReaderBase ()=default
 
template<typename T >
T * TryGet (Long64_t entry)
 Return the column value for the given entry.
 

Private Member Functions

void * GetImpl (Long64_t) final
 

Private Attributes

std::unique_ptr< TTreeReaderValue< T > > fTreeValue
 

#include <ROOT/RDF/RTreeColumnReader.hxx>

Inheritance diagram for ROOT::Internal::RDF::RTreeColumnReader< T >:
[legend]

Constructor & Destructor Documentation

◆ RTreeColumnReader()

template<typename T >
ROOT::Internal::RDF::RTreeColumnReader< T >::RTreeColumnReader ( TTreeReader r,
const std::string &  colName 
)
inline

Construct the RTreeColumnReader. Actual initialization is performed lazily by the Init method.

Definition at line 38 of file RTreeColumnReader.hxx.

Member Function Documentation

◆ GetImpl()

template<typename T >
void * ROOT::Internal::RDF::RTreeColumnReader< T >::GetImpl ( Long64_t  )
inlinefinalprivatevirtual

Implements ROOT::Detail::RDF::RColumnReaderBase.

Definition at line 35 of file RTreeColumnReader.hxx.

Member Data Documentation

◆ fTreeValue

template<typename T >
std::unique_ptr<TTreeReaderValue<T> > ROOT::Internal::RDF::RTreeColumnReader< T >::fTreeValue
private

Definition at line 33 of file RTreeColumnReader.hxx.

  • tree/dataframe/inc/ROOT/RDF/RTreeColumnReader.hxx