Logo ROOT   6.21/01
Reference Guide
ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t > Class Template Reference

template<typename Helper, typename PrevDataFrame, typename ColumnTypes_t = typename Helper::ColumnTypes_t>
class ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >

An action node in a RDF computation graph.

Definition at line 97 of file RAction.hxx.

Public Types

using ActionCRTP_t = RActionCRTP< RAction< Helper, PrevDataFrame, ColumnTypes_t > >
 
- Public Types inherited from ROOT::Internal::RDF::RActionCRTP< RAction< Helper, PrevDataFrame, ColumnTypes_t > >
using TypeInd_t = std::make_index_sequence< ColumnTypes_t::list_size >
 

Public Member Functions

 RAction (Helper &&h, const ColumnNames_t &bl, std::shared_ptr< PrevDataFrame > pd, RBookedCustomColumns &&customColumns)
 
template<std::size_t... S>
void Exec (unsigned int slot, Long64_t entry, std::index_sequence< S... >)
 
void InitColumnValues (TTreeReader *r, unsigned int slot)
 
template<std::size_t... S>
void ResetColumnValues (unsigned int slot, std::index_sequence< S... > s)
 
- Public Member Functions inherited from ROOT::Internal::RDF::RActionCRTP< RAction< Helper, PrevDataFrame, ColumnTypes_t > >
 RActionCRTP (Helper &&h, const ColumnNames_t &columns, std::shared_ptr< PrevDataFrame > pd, RBookedCustomColumns &&customColumns)
 
 RActionCRTP (const RActionCRTP &)=delete
 
 ~RActionCRTP ()
 
void ClearValueReaders (unsigned int slot)
 
void Finalize () final
 
void FinalizeSlot (unsigned int slot) final
 
std::shared_ptr< RDFGraphDrawing::GraphNodeGetGraph ()
 
Helper & GetHelper ()
 
void Initialize () final
 
void InitSlot (TTreeReader *r, unsigned int slot) final
 
RActionCRTPoperator= (const RActionCRTP &)=delete
 
voidPartialUpdate (unsigned int slot) final
 This method is invoked to update a partial result during the event loop, right before passing the result to a user-defined callback registered via RResultPtr::RegisterCallback. More...
 
void Run (unsigned int slot, Long64_t entry) final
 
void TriggerChildrenCount () final
 
- Public Member Functions inherited from ROOT::Internal::RDF::RActionBase
 RActionBase (RLoopManager *lm, const ColumnNames_t &colNames, RBookedCustomColumns &&customColumns)
 
 RActionBase (const RActionBase &)=delete
 
virtual ~RActionBase ()
 
const ColumnNames_tGetColumnNames () const
 
RBookedCustomColumnsGetCustomColumns ()
 
RLoopManagerGetLoopManager ()
 
unsigned int GetNSlots () const
 
virtual bool HasRun () const
 
RActionBaseoperator= (const RActionBase &)=delete
 
virtual void SetHasRun ()
 

Private Attributes

std::vector< RDFValueTuple_t< ColumnTypes_t > > fValues
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Internal::RDF::RActionCRTP< RAction< Helper, PrevDataFrame, ColumnTypes_t > >
std::array< bool, ColumnTypes_t::list_size > fIsCustomColumn
 The nth flag signals whether the nth input column is a custom column or not. More...
 
- Protected Attributes inherited from ROOT::Internal::RDF::RActionBase
RLoopManagerfLoopManager
 A raw pointer to the RLoopManager at the root of this functional graph. More...
 

#include <ROOT/RDF/RAction.hxx>

Inheritance diagram for ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >:
[legend]

Member Typedef Documentation

◆ ActionCRTP_t

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
using ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::ActionCRTP_t = RActionCRTP<RAction<Helper, PrevDataFrame, ColumnTypes_t> >

Definition at line 221 of file RAction.hxx.

Constructor & Destructor Documentation

◆ RAction()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::RAction ( Helper &&  h,
const ColumnNames_t bl,
std::shared_ptr< PrevDataFrame >  pd,
RBookedCustomColumns &&  customColumns 
)
inline

Definition at line 223 of file RAction.hxx.

Member Function Documentation

◆ Exec()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
template<std::size_t... S>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::Exec ( unsigned int  slot,
Long64_t  entry,
std::index_sequence< S... >   
)
inline

Definition at line 234 of file RAction.hxx.

◆ InitColumnValues()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::InitColumnValues ( TTreeReader r,
unsigned int  slot 
)
inline

Definition at line 227 of file RAction.hxx.

◆ ResetColumnValues()

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
template<std::size_t... S>
void ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::ResetColumnValues ( unsigned int  slot,
std::index_sequence< S... >  s 
)
inline

Definition at line 241 of file RAction.hxx.

Member Data Documentation

◆ fValues

template<typename Helper , typename PrevDataFrame , typename ColumnTypes_t = typename Helper::ColumnTypes_t>
std::vector<RDFValueTuple_t<ColumnTypes_t> > ROOT::Internal::RDF::RAction< Helper, PrevDataFrame, ColumnTypes_t >::fValues
private

Definition at line 218 of file RAction.hxx.


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