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)
59 RVariationReader &GetReader(
unsigned int slot,
const std::string &colName,
const std::string &variationName);
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
std::vector< std::unordered_map< std::string, std::unique_ptr< RVariationReader > > > fReadersPerVariation
std::shared_ptr< RVariationBase > fVariation
RVariationBase & GetVariation() const
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...