Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RJittedAction Class Reference

Definition at line 40 of file RJittedAction.hxx.

Public Member Functions

 RJittedAction (RLoopManager &lm, const ROOT::RDF::ColumnNames_t &columns, const RColumnRegister &colRegister, const std::vector< std::string > &prevVariations, std::shared_ptr< ROOT::Detail::RDF::RNodeBase > prevNode=nullptr)
 ~RJittedAction ()
std::unique_ptr< ROOT::Internal::RDF::RActionBaseCloneAction (void *newResult) final
void Finalize () final
void FinalizeSlot (unsigned int) final
RColumnRegister & GetColRegister ()
const ColumnNames_t & GetColumnNames () const
std::shared_ptr< GraphDrawing::GraphNode > GetGraph (std::unordered_map< void *, std::shared_ptr< GraphDrawing::GraphNode > > &visitedMap) final
RLoopManagerGetLoopManager ()
std::unique_ptr< ROOT::Detail::RDF::RMergeableValueBaseGetMergeableValue () const final
 Retrieve a wrapper to the result of the action that knows how to merge with others of the same type.
unsigned int GetNSlots () const
ROOT::RDF::SampleCallback_t GetSampleCallback () final
const std::vector< std::string > & GetVariations () const
bool HasRun () const final
void Initialize () final
void InitSlot (TTreeReader *r, unsigned int slot) final
std::unique_ptr< RActionBaseMakeVariedAction (std::vector< void * > &&results) final
std::shared_ptr< ROOT::Detail::RDF::RNodeBaseMoveOutPrevNode ()
void * PartialUpdate (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.
void Run (unsigned int slot, Long64_t entry) final
void SetAction (std::unique_ptr< RActionBase > a)
void SetHasRun () final
void TriggerChildrenCount () final

Protected Attributes

const ColumnNames_t fColumnNames
RLoopManagerfLoopManager
 A raw pointer to the RLoopManager at the root of this functional graph.

Private Attributes

RColumnRegister fColRegister
std::unique_ptr< RActionBasefConcreteAction
bool fHasRun = false
const unsigned int fNSlots
 Number of thread slots used by this node.
std::shared_ptr< ROOT::Detail::RDF::RNodeBasefPrevNode
std::vector< std::string > fVariations
 List of systematic variations that affect the result of this action ("nominal" excluded).

#include <ROOT/RDF/RJittedAction.hxx>

Inheritance diagram for RJittedAction:
ROOT::Internal::RDF::RActionBase

Constructor & Destructor Documentation

◆ RJittedAction()

RJittedAction::RJittedAction ( RLoopManager & lm,
const ROOT::RDF::ColumnNames_t & columns,
const RColumnRegister & colRegister,
const std::vector< std::string > & prevVariations,
std::shared_ptr< ROOT::Detail::RDF::RNodeBase > prevNode = nullptr )

Definition at line 61 of file RJittedAction.cxx.

◆ ~RJittedAction()

Definition at line 69 of file RJittedAction.cxx.

Member Function Documentation

◆ CloneAction()

std::unique_ptr< ROOT::Internal::RDF::RActionBase > RJittedAction::CloneAction ( void * newResult)
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 158 of file RJittedAction.cxx.

◆ Finalize()

void RJittedAction::Finalize ( )
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 101 of file RJittedAction.cxx.

◆ FinalizeSlot()

void RJittedAction::FinalizeSlot ( unsigned int slot)
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 95 of file RJittedAction.cxx.

◆ GetColRegister()

RColumnRegister & ROOT::Internal::RDF::RActionBase::GetColRegister ( )
inlineinherited

Definition at line 63 of file RActionBase.hxx.

◆ GetColumnNames()

const ColumnNames_t & ROOT::Internal::RDF::RActionBase::GetColumnNames ( ) const
inlineinherited

Definition at line 62 of file RActionBase.hxx.

◆ GetGraph()

std::shared_ptr< ROOT::Internal::RDF::GraphDrawing::GraphNode > RJittedAction::GetGraph ( std::unordered_map< void *, std::shared_ptr< GraphDrawing::GraphNode > > & visitedMap)
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 129 of file RJittedAction.cxx.

◆ GetLoopManager()

RLoopManager * ROOT::Internal::RDF::RActionBase::GetLoopManager ( )
inlineinherited

Definition at line 64 of file RActionBase.hxx.

◆ GetMergeableValue()

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 140 of file RJittedAction.cxx.

◆ GetNSlots()

unsigned int ROOT::Internal::RDF::RActionBase::GetNSlots ( ) const
inlineinherited

Definition at line 65 of file RActionBase.hxx.

◆ GetSampleCallback()

◆ GetVariations()

const std::vector< std::string > & ROOT::Internal::RDF::RActionBase::GetVariations ( ) const
inlineinherited

Definition at line 91 of file RActionBase.hxx.

◆ HasRun()

bool RJittedAction::HasRun ( ) const
finalvirtual

Reimplemented from ROOT::Internal::RDF::RActionBase.

Definition at line 113 of file RJittedAction.cxx.

◆ Initialize()

void RJittedAction::Initialize ( )
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 77 of file RJittedAction.cxx.

◆ InitSlot()

void RJittedAction::InitSlot ( TTreeReader * r,
unsigned int slot )
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 83 of file RJittedAction.cxx.

◆ MakeVariedAction()

std::unique_ptr< ROOT::Internal::RDF::RActionBase > RJittedAction::MakeVariedAction ( std::vector< void * > && results)
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 152 of file RJittedAction.cxx.

◆ MoveOutPrevNode()

Definition at line 164 of file RJittedAction.cxx.

◆ PartialUpdate()

void * RJittedAction::PartialUpdate ( unsigned int slot)
finalvirtual

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.

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 107 of file RJittedAction.cxx.

◆ Run()

void RJittedAction::Run ( unsigned int slot,
Long64_t entry )
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 71 of file RJittedAction.cxx.

◆ SetAction()

void ROOT::Internal::RDF::RJittedAction::SetAction ( std::unique_ptr< RActionBase > a)
inline

Definition at line 51 of file RJittedAction.hxx.

◆ SetHasRun()

void RJittedAction::SetHasRun ( )
finalvirtual

Reimplemented from ROOT::Internal::RDF::RActionBase.

Definition at line 123 of file RJittedAction.cxx.

◆ TriggerChildrenCount()

void RJittedAction::TriggerChildrenCount ( )
finalvirtual

Implements ROOT::Internal::RDF::RActionBase.

Definition at line 89 of file RJittedAction.cxx.

Member Data Documentation

◆ fColRegister

RColumnRegister ROOT::Internal::RDF::RActionBase::fColRegister
privateinherited

Definition at line 53 of file RActionBase.hxx.

◆ fColumnNames

const ColumnNames_t ROOT::Internal::RDF::RActionBase::fColumnNames
protectedinherited

Definition at line 45 of file RActionBase.hxx.

◆ fConcreteAction

Definition at line 42 of file RJittedAction.hxx.

◆ fHasRun

bool ROOT::Internal::RDF::RActionBase::fHasRun = false
privateinherited

Definition at line 49 of file RActionBase.hxx.

◆ fLoopManager

RLoopManager* ROOT::Internal::RDF::RActionBase::fLoopManager
protectedinherited

A raw pointer to the RLoopManager at the root of this functional graph.

Never null: children nodes have shared ownership of parent nodes in the graph.

Definition at line 44 of file RActionBase.hxx.

◆ fNSlots

const unsigned int ROOT::Internal::RDF::RActionBase::fNSlots
privateinherited

Number of thread slots used by this node.

Definition at line 48 of file RActionBase.hxx.

◆ fPrevNode

◆ fVariations

std::vector<std::string> ROOT::Internal::RDF::RActionBase::fVariations
privateinherited

List of systematic variations that affect the result of this action ("nominal" excluded).

Definition at line 51 of file RActionBase.hxx.


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