Definition at line 45 of file RDefine.hxx.
Public Member Functions | |
| RDefine (const RDefine &)=delete | |
| RDefine (std::string_view name, std::string_view type, F expression, const ColumnNames_t &columns, unsigned int nSlots, const RDFInternal::RBookedDefines &defines, const std::map< std::string, std::vector< void * > > &DSValuePtrs, ROOT::RDF::RDataSource *ds) | |
| void | FinaliseSlot (unsigned int slot) final |
| Clean-up operations to be performed at the end of a task. | |
| const std::type_info & | GetTypeId () const |
| void * | GetValuePtr (unsigned int slot) final |
| Return the (type-erased) address of the Define'd value for the given processing slot. | |
| void | InitSlot (TTreeReader *r, unsigned int slot) final |
| RDefine & | operator= (const RDefine &)=delete |
| void | Update (unsigned int slot, Long64_t entry) final |
| Update the value at the address returned by GetValuePtr with the content corresponding to the given entry. | |
Public Member Functions inherited from ROOT::Detail::RDF::RDefineBase | |
| RDefineBase (std::string_view name, std::string_view type, unsigned int nSlots, const RDFInternal::RBookedDefines &defines, const std::map< std::string, std::vector< void * > > &DSValuePtrs, ROOT::RDF::RDataSource *ds) | |
| virtual | ~RDefineBase () |
| unsigned int | GetID () const |
| Return the unique identifier of this RDefineBase. | |
| std::string | GetName () const |
| std::string | GetTypeName () const |
| RDefineBase & | operator= (const RDefineBase &)=delete |
| RDefineBase & | operator= (RDefineBase &&)=delete |
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<typename... ColTypes, std::size_t... S> | |
| void | UpdateHelper (unsigned int slot, Long64_t entry, TypeList< ColTypes... >, std::index_sequence< S... >, NoneTag) |
| template<typename... ColTypes, std::size_t... S> | |
| void | UpdateHelper (unsigned int slot, Long64_t entry, TypeList< ColTypes... >, std::index_sequence< S... >, SlotAndEntryTag) |
| template<typename... ColTypes, std::size_t... S> | |
| void | UpdateHelper (unsigned int slot, Long64_t entry, TypeList< ColTypes... >, std::index_sequence< S... >, SlotTag) |
Private Attributes | |
| const ColumnNames_t | fColumnNames |
| F | fExpression |
| std::array< bool, ColumnTypes_t::list_size > | fIsDefine |
| The nth flag signals whether the nth input column is a custom column or not. | |
| ValuesPerSlot_t | fLastResults |
| std::vector< std::array< std::unique_ptr< RColumnReaderBase >, ColumnTypes_t::list_size > > | fValues |
| Column readers per slot and per input column. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from ROOT::Detail::RDF::RDefineBase | |
| static unsigned int | GetNextID () |
Protected Attributes inherited from ROOT::Detail::RDF::RDefineBase | |
| ROOT::RDF::RDataSource * | fDataSource |
| non-owning ptr to the RDataSource, if any. Used to retrieve column readers. | |
| RDFInternal::RBookedDefines | fDefines |
| const std::map< std::string, std::vector< void * > > & | fDSValuePtrs |
| const unsigned int | fID = GetNextID() |
| A unique ID that identifies this custom column. | |
| std::deque< bool > | fIsInitialized |
| std::vector< Long64_t > | fLastCheckedEntry |
| const std::string | fName |
| The name of the custom column. | |
| unsigned int | fNChildren {0} |
| number of nodes of the functional graph hanging from this object | |
| const unsigned int | fNSlots |
| number of thread slots used by this node, inherited from parent node. | |
| unsigned int | fNStopsReceived {0} |
| number of times that a children node signaled to stop processing entries. | |
| const std::string | fType |
| The type of the custom column as a text string. | |
#include <ROOT/RDF/RDefine.hxx>
|
private |
Definition at line 54 of file RDefine.hxx.
|
private |
Definition at line 52 of file RDefine.hxx.
|
private |
Definition at line 51 of file RDefine.hxx.
|
private |
Definition at line 47 of file RDefine.hxx.
|
private |
Definition at line 57 of file RDefine.hxx.
|
private |
Definition at line 49 of file RDefine.hxx.
|
private |
Definition at line 48 of file RDefine.hxx.
|
private |
Definition at line 56 of file RDefine.hxx.
|
private |
Definition at line 59 of file RDefine.hxx.
|
inline |
Definition at line 104 of file RDefine.hxx.
|
delete |
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 148 of file RDefine.hxx.
|
inlinevirtual |
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 145 of file RDefine.hxx.
|
inlinefinalvirtual |
Return the (type-erased) address of the Define'd value for the given processing slot.
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 130 of file RDefine.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 119 of file RDefine.hxx.
|
delete |
|
inlinefinalvirtual |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry.
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 136 of file RDefine.hxx.
|
inlineprivate |
Definition at line 73 of file RDefine.hxx.
|
inlineprivate |
Definition at line 94 of file RDefine.hxx.
|
inlineprivate |
Definition at line 83 of file RDefine.hxx.
|
private |
Definition at line 63 of file RDefine.hxx.
|
private |
Definition at line 62 of file RDefine.hxx.
|
private |
The nth flag signals whether the nth input column is a custom column or not.
Definition at line 70 of file RDefine.hxx.
|
private |
Definition at line 64 of file RDefine.hxx.
|
private |
Column readers per slot and per input column.
Definition at line 67 of file RDefine.hxx.