Definition at line 44 of file RCustomColumn.hxx.
Public Member Functions | |
RCustomColumn (const RCustomColumn &)=delete | |
RCustomColumn (std::string_view name, std::string_view type, F expression, const ColumnNames_t &columns, unsigned int nSlots, const RDFInternal::RBookedCustomColumns &customColumns, bool isDSColumn=false) | |
void | ClearValueReaders (unsigned int slot) final |
const std::type_info & | GetTypeId () const |
void * | GetValuePtr (unsigned int slot) final |
void | InitSlot (TTreeReader *r, unsigned int slot) final |
RCustomColumn & | operator= (const RCustomColumn &)=delete |
void | Update (unsigned int slot, Long64_t entry) final |
Public Member Functions inherited from ROOT::Detail::RDF::RCustomColumnBase | |
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 void * | GetValuePtr (unsigned int slot)=0 |
virtual void | InitSlot (TTreeReader *r, unsigned int slot)=0 |
bool | IsDataSourceColumn () const |
RCustomColumnBase & | operator= (const RCustomColumnBase &)=delete |
RCustomColumnBase & | operator= (RCustomColumnBase &&)=delete |
virtual void | Update (unsigned int slot, Long64_t entry)=0 |
Private Types | |
using | ColumnTypes_t = RDFInternal::RemoveFirstTwoParametersIf_t< std::is_same< ExtraArgsTag, SlotAndEntryTag >::value, ColumnTypesTmp_t > |
using | ColumnTypesTmp_t = RDFInternal::RemoveFirstParameterIf_t< std::is_same< ExtraArgsTag, SlotTag >::value, FunParamTypes_t > |
using | FunParamTypes_t = typename CallableTraits< F >::arg_types |
using | NoneTag = CustomColExtraArgs::None |
using | ret_type = typename CallableTraits< F >::ret_type |
using | SlotAndEntryTag = CustomColExtraArgs::SlotAndEntry |
using | SlotTag = CustomColExtraArgs::Slot |
using | TypeInd_t = std::make_index_sequence< ColumnTypes_t::list_size > |
using | ValuesPerSlot_t = typename std::conditional< std::is_same< ret_type, bool >::value, std::deque< ret_type >, std::vector< ret_type > >::type |
Private Member Functions | |
template<std::size_t... S> | |
void | UpdateHelper (unsigned int slot, Long64_t entry, std::index_sequence< S... >, NoneTag) |
template<std::size_t... S> | |
void | UpdateHelper (unsigned int slot, Long64_t entry, std::index_sequence< S... >, SlotAndEntryTag) |
template<std::size_t... S> | |
void | UpdateHelper (unsigned int slot, Long64_t entry, std::index_sequence< S... >, SlotTag) |
Private Attributes | |
const ColumnNames_t | fColumnNames |
F | fExpression |
std::array< bool, ColumnTypes_t::list_size > | fIsCustomColumn |
The nth flag signals whether the nth input column is a custom column or not. More... | |
ValuesPerSlot_t | fLastResults |
std::vector< RDFInternal::RDFValueTuple_t< ColumnTypes_t > > | fValues |
Additional Inherited Members | |
Static Protected Member Functions inherited from ROOT::Detail::RDF::RCustomColumnBase | |
static unsigned int | GetNextID () |
Protected Attributes inherited from ROOT::Detail::RDF::RCustomColumnBase | |
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_t > | fLastCheckedEntry |
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/RCustomColumn.hxx>
|
private |
Definition at line 53 of file RCustomColumn.hxx.
|
private |
Definition at line 51 of file RCustomColumn.hxx.
|
private |
Definition at line 50 of file RCustomColumn.hxx.
|
private |
Definition at line 46 of file RCustomColumn.hxx.
|
private |
Definition at line 56 of file RCustomColumn.hxx.
|
private |
Definition at line 48 of file RCustomColumn.hxx.
|
private |
Definition at line 47 of file RCustomColumn.hxx.
|
private |
Definition at line 55 of file RCustomColumn.hxx.
|
private |
Definition at line 58 of file RCustomColumn.hxx.
|
inline |
Definition at line 98 of file RCustomColumn.hxx.
|
delete |
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RCustomColumnBase.
Definition at line 136 of file RCustomColumn.hxx.
|
inlinevirtual |
Implements ROOT::Detail::RDF::RCustomColumnBase.
Definition at line 131 of file RCustomColumn.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RCustomColumnBase.
Definition at line 120 of file RCustomColumn.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RCustomColumnBase.
Definition at line 111 of file RCustomColumn.hxx.
|
delete |
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RCustomColumnBase.
Definition at line 122 of file RCustomColumn.hxx.
|
inlineprivate |
Definition at line 71 of file RCustomColumn.hxx.
|
inlineprivate |
Definition at line 89 of file RCustomColumn.hxx.
|
inlineprivate |
Definition at line 80 of file RCustomColumn.hxx.
|
private |
Definition at line 62 of file RCustomColumn.hxx.
|
private |
Definition at line 61 of file RCustomColumn.hxx.
|
private |
The nth flag signals whether the nth input column is a custom column or not.
Definition at line 68 of file RCustomColumn.hxx.
|
private |
Definition at line 63 of file RCustomColumn.hxx.
|
private |
Definition at line 65 of file RCustomColumn.hxx.