11#ifndef ROOT_RCUSTOMCOLUMNBASE
12#define ROOT_RCUSTOMCOLUMNBASE
63 virtual const std::type_info &
GetTypeId()
const = 0;
unsigned int fNChildren
number of nodes of the functional graph hanging from this object
virtual void * GetValuePtr(unsigned int slot)=0
Return the (type-erased) address of the Define'd value for the given processing slot.
RDFInternal::RBookedDefines fDefines
const unsigned int fID
A unique ID that identifies this custom column.
std::deque< bool > fIsInitialized
const std::string fType
The type of the custom column as a text string.
std::string GetTypeName() const
unsigned int GetID() const
Return the unique identifier of this RDefineBase.
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...
virtual void InitSlot(TTreeReader *r, unsigned int slot)=0
std::string GetName() const
unsigned int fNStopsReceived
number of times that a children node signaled to stop processing entries.
static unsigned int GetNextID()
virtual void FinaliseSlot(unsigned int slot)=0
Clean-up operations to be performed at the end of a task.
ROOT::RDF::RDataSource * fDataSource
non-owning ptr to the RDataSource, if any. Used to retrieve column readers.
std::vector< Long64_t > fLastCheckedEntry
const std::string fName
The name of the custom column.
const unsigned int fNSlots
number of thread slots used by this node, inherited from parent node.
virtual const std::type_info & GetTypeId() const =0
const std::map< std::string, std::vector< void * > > & fDSValuePtrs
RDefineBase & operator=(const RDefineBase &)=delete
RDefineBase & operator=(RDefineBase &&)=delete
Encapsulates the columns defined by the user.
RDataSource defines an API that RDataFrame can use to read arbitrary data formats.
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...