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

Definition at line 30 of file RCustomColumnBase.hxx.

Public Member Functions

 RCustomColumnBase (std::string_view name, std::string_view type, unsigned int nSlots, 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...
 
std::string GetName () const
 
virtual const std::type_info & GetTypeId () const =0
 
std::string GetTypeName () const
 
virtual voidGetValuePtr (unsigned int slot)=0
 
virtual void InitSlot (TTreeReader *r, unsigned int slot)=0
 
bool IsDataSourceColumn () const
 
RCustomColumnBaseoperator= (const RCustomColumnBase &)=delete
 
RCustomColumnBaseoperator= (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< boolfIsInitialized
 
std::vector< Long64_tfLastCheckedEntry
 
const std::string fName
 The name of the custom column. More...
 
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...
 
const std::string fType
 The type of the custom column as a text string. More...
 

#include <ROOT/RDF/RCustomColumnBase.hxx>

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

Constructor & Destructor Documentation

◆ RCustomColumnBase()

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

Definition at line 28 of file RCustomColumnBase.cxx.

◆ ~RCustomColumnBase()

RCustomColumnBase::~RCustomColumnBase ( )
virtual

Definition at line 36 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 63 of file RCustomColumnBase.hxx.

◆ GetName()

std::string RCustomColumnBase::GetName ( ) const

Definition at line 38 of file RCustomColumnBase.cxx.

◆ GetNextID()

unsigned int RCustomColumnBase::GetNextID ( )
staticprotected

Definition at line 21 of file RCustomColumnBase.cxx.

◆ GetTypeId()

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

◆ GetTypeName()

std::string RCustomColumnBase::GetTypeName ( ) const

Definition at line 43 of file RCustomColumnBase.cxx.

◆ GetValuePtr()

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

◆ 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 61 of file RCustomColumnBase.hxx.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

RCustomColumnBase & ROOT::Detail::RDF::RCustomColumnBase::operator= ( 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 42 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 41 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 37 of file RCustomColumnBase.hxx.

◆ fIsInitialized

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

Definition at line 43 of file RCustomColumnBase.hxx.

◆ fLastCheckedEntry

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

Definition at line 38 of file RCustomColumnBase.hxx.

◆ fName

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

The name of the custom column.

Definition at line 32 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 34 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 36 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 35 of file RCustomColumnBase.hxx.

◆ fType

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

The type of the custom column as a text string.

Definition at line 33 of file RCustomColumnBase.hxx.

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

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