RTreeColumnReader specialization for TTree values read via TTreeReaderArrays.
TTreeReaderArrays are used whenever the RDF column type is RVec<T>.
Definition at line 61 of file RTreeColumnReader.hxx.
Public Member Functions | |
| RTreeColumnReader (TTreeReader &r, const std::string &colName) | |
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 Types | |
| enum class | EStorageType : char { kContiguous , kUnknown , kSparse } |
| Enumerator for the memory layout of the branch. More... | |
Private Member Functions | |
| void * | GetImpl (Long64_t entry) final |
Private Attributes | |
| bool | fCopyWarningPrinted = false |
| Whether we already printed a warning about performing a copy of the TTreeReaderArray contents. | |
| Long64_t | fLastEntry = -1 |
| RVec< T > | fRVec |
| We return a reference to this RVec to clients, to guarantee a stable address and contiguous memory layout. | |
| EStorageType | fStorageType = EStorageType::kUnknown |
| Signal whether we ever checked that the branch we are reading with a TTreeReaderArray stores array elements in contiguous memory. | |
| std::unique_ptr< TTreeReaderArray< T > > | fTreeArray |
#include <ROOT/RDF/RTreeColumnReader.hxx>
|
strongprivate |
Enumerator for the memory layout of the branch.
| Enumerator | |
|---|---|
| kContiguous | |
| kUnknown | |
| kSparse | |
Definition at line 65 of file RTreeColumnReader.hxx.
|
inline |
Definition at line 144 of file RTreeColumnReader.hxx.
|
inlinefinalprivatevirtual |
Implements ROOT::Detail::RDF::RColumnReaderBase.
Definition at line 78 of file RTreeColumnReader.hxx.
|
private |
Whether we already printed a warning about performing a copy of the TTreeReaderArray contents.
Definition at line 76 of file RTreeColumnReader.hxx.
|
private |
Definition at line 73 of file RTreeColumnReader.hxx.
|
private |
We return a reference to this RVec to clients, to guarantee a stable address and contiguous memory layout.
Definition at line 68 of file RTreeColumnReader.hxx.
|
private |
Signal whether we ever checked that the branch we are reading with a TTreeReaderArray stores array elements in contiguous memory.
Definition at line 72 of file RTreeColumnReader.hxx.
|
private |
Definition at line 62 of file RTreeColumnReader.hxx.