Logo ROOT  
Reference Guide
ROOT::Internal::RDF::RTreeColumnReader< RVec< bool > > Class Referencefinal

RTreeColumnReader specialization for arrays of boolean values read via TTreeReaderArrays.

TTreeReaderArray<bool> is used whenever the RDF column type is RVec<bool>.

Definition at line 142 of file RTreeColumnReader.hxx.

Public Member Functions

 RTreeColumnReader (TTreeReader &r, const std::string &colName)
 
 ~RTreeColumnReader ()
 See the other class template specializations for an explanation. 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

RVec< bool > fRVec
 We return a reference to this RVec to clients, to guarantee a stable address and contiguous memory layout. More...
 
std::unique_ptr< TTreeReaderArray< bool > > fTreeArray
 

#include <ROOT/RDF/RTreeColumnReader.hxx>

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

Constructor & Destructor Documentation

◆ RTreeColumnReader()

ROOT::Internal::RDF::RTreeColumnReader< RVec< bool > >::RTreeColumnReader ( TTreeReader r,
const std::string &  colName 
)
inline

Definition at line 170 of file RTreeColumnReader.hxx.

◆ ~RTreeColumnReader()

See the other class template specializations for an explanation.

Definition at line 176 of file RTreeColumnReader.hxx.

Member Function Documentation

◆ GetImpl()

void * ROOT::Internal::RDF::RTreeColumnReader< RVec< bool > >::GetImpl ( Long64_t  )
inlinefinalprivatevirtual

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

Definition at line 154 of file RTreeColumnReader.hxx.

Member Data Documentation

◆ fRVec

RVec<bool> ROOT::Internal::RDF::RTreeColumnReader< RVec< bool > >::fRVec
private

We return a reference to this RVec to clients, to guarantee a stable address and contiguous memory layout.

Definition at line 147 of file RTreeColumnReader.hxx.

◆ fTreeArray

std::unique_ptr<TTreeReaderArray<bool> > ROOT::Internal::RDF::RTreeColumnReader< RVec< bool > >::fTreeArray
private

Definition at line 144 of file RTreeColumnReader.hxx.


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