22 return fTreeValue->Get();
27 std::string_view typeName)
36 if (
entry == fLastEntry)
46 if (
readerArray.IsContiguous() && !(fCollectionType == ECollectionType::kRVecBool)) {
59 if (!fCopyWarningPrinted && !(fCollectionType == ECollectionType::kRVecBool)) {
60 Warning(
"RTreeColumnReader::Get",
61 "Branch %s hangs from a non-split branch. A copy is being performed in order "
62 "to properly read the content.",
64 fCopyWarningPrinted =
true;
67 (void)fCopyWarningPrinted;
73 assert(
fValueSize > 0 &&
"Could not retrieve size of collection value type.");
79 std::copy(val, val +
fValueSize, std::back_inserter(fRVec));
94 if (fCollectionType == ECollectionType::kStdArray)
124 const std::bitset<64>
mask{*fTreeValueMask->Get()};
125 if (
mask.test(fMaskIndex) ==
false)
128 return fValueReader->TryGet<
void>(event);
#define R__unlikely(expr)
long long Long64_t
Portable signed long integer 8 bytes.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Warning(const char *location, const char *msgfmt,...)
Use this function in warning situations.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t mask
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
~RMaskedColumnReader() override
void * GetImpl(Long64_t) override
RMaskedColumnReader(TTreeReader &r, std::unique_ptr< ROOT::Detail::RDF::RColumnReaderBase > valueReader, std::string_view maskName, unsigned int maskIndex)
std::unique_ptr< ROOT::Internal::TTreeReaderOpaqueValue > fTreeValue
void * GetImpl(Long64_t) override
RTreeOpaqueColumnReader(TTreeReader &r, std::string_view colName)
Construct the RTreeColumnReader. Actual initialization is performed lazily by the Init method.
~RTreeOpaqueColumnReader() final
void * GetImpl(Long64_t entry) override
~RTreeUntypedArrayColumnReader() final
RTreeUntypedArrayColumnReader(TTreeReader &r, std::string_view colName, std::string_view valueTypeName, ECollectionType collType)
RTreeUntypedValueColumnReader(TTreeReader &r, std::string_view colName, std::string_view typeName)
void * GetImpl(Long64_t) override
~RTreeUntypedValueColumnReader() final
Read a value in a branch without knowledge of its type.
@ kReadError
Problem reading data.
An interface for reading values stored in ROOT columnar datasets.
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...