Just like an RAction, but it has N action helpers (one per variation + nominal) and N previous nodes.
Definition at line 38 of file RVariedAction.hxx.
Public Member Functions | |
RVariedAction (const RVariedAction &)=delete | |
RVariedAction (std::vector< Helper > &&helpers, const ColumnNames_t &columns, std::shared_ptr< PrevNode > prevNode, const RColumnRegister &colRegister) | |
~RVariedAction () | |
template<typename... ColTypes, std::size_t... S> | |
void | CallExec (unsigned int slot, unsigned int varIdx, Long64_t entry, TypeList< ColTypes... >, std::index_sequence< S... >) |
void | Finalize () final |
Clean-up and finalize the action result (e.g. | |
void | FinalizeSlot (unsigned int slot) final |
Clean-up operations to be performed at the end of a task. | |
std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > | GetGraph () final |
std::unique_ptr< RMergeableValueBase > | GetMergeableValue () const |
Retrieve a wrapper to the result of the action that knows how to merge with others of the same type. | |
ROOT::RDF::SampleCallback_t | GetSampleCallback () final |
Return the per-sample callback connected to the nominal result. | |
void | Initialize () final |
void | InitSlot (TTreeReader *r, unsigned int slot) final |
std::unique_ptr< RActionBase > | MakeVariedAction (std::vector< void * > &&) |
RVariedAction & | operator= (const RVariedAction &)=delete |
void * | PartialUpdate (unsigned int slot) final |
Return the partially-updated value connected to the nominal result. | |
void | Run (unsigned int slot, Long64_t entry) final |
void | TriggerChildrenCount () final |
![]() | |
RActionBase (const RActionBase &)=delete | |
RActionBase (RLoopManager *lm, const ColumnNames_t &colNames, const RColumnRegister &colRegister, const std::vector< std::string > &prevVariations) | |
virtual | ~RActionBase () |
RColumnRegister & | GetColRegister () |
const ColumnNames_t & | GetColumnNames () const |
RLoopManager * | GetLoopManager () |
unsigned int | GetNSlots () const |
const std::vector< std::string > & | GetVariations () const |
virtual bool | HasRun () const |
RActionBase & | operator= (const RActionBase &)=delete |
virtual void | SetHasRun () |
Private Types | |
using | PrevNodeType = std::conditional_t< std::is_same< PrevNode, RJittedFilter >::value, RFilterBase, PrevNode > |
using | TypeInd_t = std::make_index_sequence< ColumnTypes_t::list_size > |
Private Member Functions | |
std::vector< std::shared_ptr< PrevNodeType > > | MakePrevFilters (std::shared_ptr< PrevNode > nominal) const |
void * | PartialUpdateImpl (...) |
template<typename H = Helper> | |
auto | PartialUpdateImpl (unsigned int slot) -> decltype(std::declval< H >().PartialUpdate(slot),(void *)(nullptr)) |
Private Attributes | |
std::vector< Helper > | fHelpers |
Action helpers per variation. | |
std::vector< std::vector< std::array< std::unique_ptr< RColumnReaderBase >, ColumnTypes_t::list_size > > > | fInputValues |
Column readers per slot (outer dimension), per variation and per input column (inner dimension, std::array). | |
std::array< bool, ColumnTypes_t::list_size > | fIsDefine |
The nth flag signals whether the nth input column is a custom column or not. | |
std::vector< std::shared_ptr< PrevNodeType > > | fPrevNodes |
Owning pointers to upstream nodes for each systematic variation (with the "nominal" at index 0). | |
Additional Inherited Members | |
![]() | |
RLoopManager * | fLoopManager |
A raw pointer to the RLoopManager at the root of this functional graph. | |
#include <ROOT/RDF/RVariedAction.hxx>
|
private |
Definition at line 42 of file RVariedAction.hxx.
|
private |
Definition at line 39 of file RVariedAction.hxx.
|
inline |
Definition at line 78 of file RVariedAction.hxx.
|
delete |
|
inline |
Definition at line 96 of file RVariedAction.hxx.
|
inline |
Definition at line 123 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Clean-up and finalize the action result (e.g.
merging slot-local results). It invokes the helper's Finalize method.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 151 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 143 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 163 of file RVariedAction.hxx.
|
inlinevirtual |
Retrieve a wrapper to the result of the action that knows how to merge with others of the same type.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 179 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Return the per-sample callback connected to the nominal result.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 161 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 104 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 109 of file RVariedAction.hxx.
|
inlineprivate |
Definition at line 54 of file RVariedAction.hxx.
|
inlinevirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 184 of file RVariedAction.hxx.
|
delete |
|
inlinefinalvirtual |
Return the partially-updated value connected to the nominal result.
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 158 of file RVariedAction.hxx.
|
inlineprivate |
Definition at line 199 of file RVariedAction.hxx.
|
inlineprivate |
Definition at line 193 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 129 of file RVariedAction.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RActionBase.
Definition at line 137 of file RVariedAction.hxx.
|
private |
Action helpers per variation.
Definition at line 44 of file RVariedAction.hxx.
|
private |
Column readers per slot (outer dimension), per variation and per input column (inner dimension, std::array).
Definition at line 49 of file RVariedAction.hxx.
|
private |
The nth flag signals whether the nth input column is a custom column or not.
Definition at line 52 of file RVariedAction.hxx.
|
private |
Owning pointers to upstream nodes for each systematic variation (with the "nominal" at index 0).
Definition at line 46 of file RVariedAction.hxx.