11#ifndef ROOT_RDF_RVARIATIONREADER
12#define ROOT_RDF_RVARIATIONREADER
30 void *fValuePtr =
nullptr;
33 unsigned int fSlot = std::numeric_limits<unsigned int>::max();
37 fVariation->
Update(fSlot, entry);
42 RVariationReader(
unsigned int slot,
const std::string &colName,
const std::string &variationName,
44 : fVariation(&variation), fValuePtr(variation.GetValuePtr(slot, colName, variationName)), fSlot(slot)
This type includes all parts of RVariation that do not depend on the callable signature.
virtual void Update(unsigned int slot, Long64_t entry)=0
Update the value at the address returned by GetValuePtr with the content corresponding to the given e...
Column reader that reads the value for a specific column, variation and slot.
RVariationReader(unsigned int slot, const std::string &colName, const std::string &variationName, RVariationBase &variation)
RVariationBase * fVariation
void * GetImpl(Long64_t entry) final
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.