Logo ROOT  
Reference Guide
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 30 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. More...
 
 ~RTreeColumnReader ()
 The dtor resets the TTreeReaderValue object. More...
 
- Public Member Functions inherited from ROOT::Detail::RDF::RColumnReaderBase
virtual ~RColumnReaderBase ()=default
 
template<typename T >
T & Get (Long64_t entry)
 Return the column value for the given entry. More...
 

Private Member Functions

voidGetImpl (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 36 of file RTreeColumnReader.hxx.

◆ ~RTreeColumnReader()

template<typename T >
ROOT::Internal::RDF::RTreeColumnReader< T >::~RTreeColumnReader ( )
inline

The dtor resets the TTreeReaderValue object.

Definition at line 49 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 33 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 31 of file RTreeColumnReader.hxx.


The documentation for this class was generated from the following file: