Logo ROOT  
Reference Guide
ROOT::Detail::RDF::RCustomColumnBase Class Referenceabstract

Definition at line 31 of file RCustomColumnBase.hxx.

Public Member Functions

 RCustomColumnBase (RLoopManager *lm, std::string_view name, const unsigned int nSlots, const bool isDSColumn, const RDFInternal::RBookedCustomColumns &customColumns)
 
virtual ~RCustomColumnBase ()
 
virtual void ClearValueReaders (unsigned int slot)=0
 
unsigned int GetID () const
 Return the unique identifier of this RCustomColumnBase. More...
 
RLoopManagerGetLoopManagerUnchecked () const
 
std::string GetName () const
 
virtual const std::type_info & GetTypeId () const =0
 
virtual voidGetValuePtr (unsigned int slot)=0
 
virtual void InitNode ()
 
virtual void InitSlot (TTreeReader *r, unsigned int slot)=0
 
bool IsDataSourceColumn () const
 
RCustomColumnBaseoperator= (const RCustomColumnBase &)=delete
 
virtual void Update (unsigned int slot, Long64_t entry)=0
 

Static Protected Member Functions

static unsigned int GetNextID ()
 

Protected Attributes

RDFInternal::RBookedCustomColumns fCustomColumns
 
const unsigned int fID = GetNextID()
 A unique ID that identifies this custom column. More...
 
const bool fIsDataSourceColumn
 does the custom column refer to a data-source column? (or a user-define column?) More...
 
std::deque< bool > fIsInitialized
 
std::vector< Long64_tfLastCheckedEntry
 
RLoopManagerfLoopManager
 A raw pointer to the RLoopManager at the root of this functional graph. More...
 
const std::string fName
 
unsigned int fNChildren {0}
 number of nodes of the functional graph hanging from this object More...
 
const unsigned int fNSlots
 number of thread slots used by this node, inherited from parent node. More...
 
unsigned int fNStopsReceived {0}
 number of times that a children node signaled to stop processing entries. More...
 

#include <ROOT/RDF/RCustomColumnBase.hxx>

Inheritance diagram for ROOT::Detail::RDF::RCustomColumnBase:
[legend]

Constructor & Destructor Documentation

◆ RCustomColumnBase()

RCustomColumnBase::RCustomColumnBase ( RLoopManager lm,
std::string_view  name,
const unsigned int  nSlots,
const bool  isDSColumn,
const RDFInternal::RBookedCustomColumns customColumns 
)

Definition at line 30 of file RCustomColumnBase.cxx.

◆ ~RCustomColumnBase()

RCustomColumnBase::~RCustomColumnBase ( )
virtual

Definition at line 38 of file RCustomColumnBase.cxx.

Member Function Documentation

◆ ClearValueReaders()

virtual void ROOT::Detail::RDF::RCustomColumnBase::ClearValueReaders ( unsigned int  slot)
pure virtual

◆ GetID()

unsigned int ROOT::Detail::RDF::RCustomColumnBase::GetID ( ) const
inline

Return the unique identifier of this RCustomColumnBase.

Definition at line 65 of file RCustomColumnBase.hxx.

◆ GetLoopManagerUnchecked()

RLoopManager * ROOT::Detail::RDF::RCustomColumnBase::GetLoopManagerUnchecked ( ) const

◆ GetName()

std::string RCustomColumnBase::GetName ( ) const

Definition at line 40 of file RCustomColumnBase.cxx.

◆ GetNextID()

unsigned int RCustomColumnBase::GetNextID ( )
staticprotected

Definition at line 23 of file RCustomColumnBase.cxx.

◆ GetTypeId()

virtual const std::type_info & ROOT::Detail::RDF::RCustomColumnBase::GetTypeId ( ) const
pure virtual

◆ GetValuePtr()

virtual void * ROOT::Detail::RDF::RCustomColumnBase::GetValuePtr ( unsigned int  slot)
pure virtual

◆ InitNode()

void RCustomColumnBase::InitNode ( )
virtual

Reimplemented in ROOT::Detail::RDF::RJittedCustomColumn.

Definition at line 45 of file RCustomColumnBase.cxx.

◆ InitSlot()

virtual void ROOT::Detail::RDF::RCustomColumnBase::InitSlot ( TTreeReader r,
unsigned int  slot 
)
pure virtual

◆ IsDataSourceColumn()

bool ROOT::Detail::RDF::RCustomColumnBase::IsDataSourceColumn ( ) const
inline

Definition at line 62 of file RCustomColumnBase.hxx.

◆ operator=()

RCustomColumnBase & ROOT::Detail::RDF::RCustomColumnBase::operator= ( const RCustomColumnBase )
delete

◆ Update()

virtual void ROOT::Detail::RDF::RCustomColumnBase::Update ( unsigned int  slot,
Long64_t  entry 
)
pure virtual

Member Data Documentation

◆ fCustomColumns

RDFInternal::RBookedCustomColumns ROOT::Detail::RDF::RCustomColumnBase::fCustomColumns
protected

Definition at line 44 of file RCustomColumnBase.hxx.

◆ fID

const unsigned int ROOT::Detail::RDF::RCustomColumnBase::fID = GetNextID()
protected

A unique ID that identifies this custom column.

Used e.g. to distinguish custom columns with the same name in different branches of the computation graph.

Definition at line 43 of file RCustomColumnBase.hxx.

◆ fIsDataSourceColumn

const bool ROOT::Detail::RDF::RCustomColumnBase::fIsDataSourceColumn
protected

does the custom column refer to a data-source column? (or a user-define column?)

Definition at line 39 of file RCustomColumnBase.hxx.

◆ fIsInitialized

std::deque<bool> ROOT::Detail::RDF::RCustomColumnBase::fIsInitialized
protected

Definition at line 45 of file RCustomColumnBase.hxx.

◆ fLastCheckedEntry

std::vector<Long64_t> ROOT::Detail::RDF::RCustomColumnBase::fLastCheckedEntry
protected

Definition at line 40 of file RCustomColumnBase.hxx.

◆ fLoopManager

RLoopManager* ROOT::Detail::RDF::RCustomColumnBase::fLoopManager
protected

A raw pointer to the RLoopManager at the root of this functional graph.

It is only guaranteed to contain a valid address during an event loop.

Definition at line 33 of file RCustomColumnBase.hxx.

◆ fName

const std::string ROOT::Detail::RDF::RCustomColumnBase::fName
protected

Definition at line 35 of file RCustomColumnBase.hxx.

◆ fNChildren

unsigned int ROOT::Detail::RDF::RCustomColumnBase::fNChildren {0}
protected

number of nodes of the functional graph hanging from this object

Definition at line 36 of file RCustomColumnBase.hxx.

◆ fNSlots

const unsigned int ROOT::Detail::RDF::RCustomColumnBase::fNSlots
protected

number of thread slots used by this node, inherited from parent node.

Definition at line 38 of file RCustomColumnBase.hxx.

◆ fNStopsReceived

unsigned int ROOT::Detail::RDF::RCustomColumnBase::fNStopsReceived {0}
protected

number of times that a children node signaled to stop processing entries.

Definition at line 37 of file RCustomColumnBase.hxx.

Libraries for ROOT::Detail::RDF::RCustomColumnBase:
[legend]

The documentation for this class was generated from the following files: