Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 147 of file RTreeColumnReader.hxx.

Public Member Functions

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

void * GetImpl (Long64_t) final
 

Private Attributes

RVec< boolfRVec
 We return a reference to this RVec to clients, to guarantee a stable address and contiguous memory layout.
 
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 175 of file RTreeColumnReader.hxx.

◆ ~RTreeColumnReader()

See the other class template specializations for an explanation.

Definition at line 181 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 159 of file RTreeColumnReader.hxx.

Member Data Documentation

◆ fRVec

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

Definition at line 152 of file RTreeColumnReader.hxx.

◆ fTreeArray

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

Definition at line 149 of file RTreeColumnReader.hxx.

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