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 31 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.
 
 ~RTreeColumnReader ()
 The dtor resets the TTreeReaderValue object.
 
- 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.
 

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 37 of file RTreeColumnReader.hxx.

◆ ~RTreeColumnReader()

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

The dtor resets the TTreeReaderValue object.

Definition at line 50 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 34 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 32 of file RTreeColumnReader.hxx.

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