A wrapper around a concrete RVariation, which forwards all calls to it RJittedVariation is a placeholder that is inserted in the computation graph in place of a RVariation that will be just-in-time compiled.
Jitted code will assign the concrete RVariation to this RJittedVariation before the event-loop starts.
Definition at line 29 of file RJittedVariation.hxx.
Public Member Functions | |
RJittedVariation (const std::vector< std::string > &colNames, std::string_view variationName, const std::vector< std::string > &variationTags, std::string_view type, const RColumnRegister &colRegister, RLoopManager &lm, const ColumnNames_t &inputColNames) | |
~RJittedVariation () | |
void | FinalizeSlot (unsigned int slot) final |
Clean-up operations to be performed at the end of a task. | |
const std::type_info & | GetTypeId () const final |
void * | GetValuePtr (unsigned int slot, const std::string &column, const std::string &variation) final |
Return the (type-erased) address of the value of one variation of one column (can be safely cast back to a T*). | |
void | InitSlot (TTreeReader *r, unsigned int slot) final |
void | SetVariation (std::unique_ptr< RVariationBase > c) |
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::Internal::RDF::RVariationBase | |
RVariationBase (const RVariationBase &)=delete | |
RVariationBase (const std::vector< std::string > &colNames, std::string_view variationName, const std::vector< std::string > &variationTags, std::string_view type, const RColumnRegister &colRegister, RLoopManager &lm, const ColumnNames_t &inputColNames) | |
RVariationBase (RVariationBase &&)=default | |
virtual | ~RVariationBase () |
const std::vector< std::string > & | GetColumnNames () const |
std::string | GetTypeName () const |
const std::vector< std::string > & | GetVariationNames () const |
RVariationBase & | operator= (const RVariationBase &)=delete |
RVariationBase & | operator= (RVariationBase &&)=default |
Private Attributes | |
std::unique_ptr< RVariationBase > | fConcreteVariation = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Internal::RDF::RVariationBase | |
std::vector< std::string > | fColNames |
The names of the varied columns. | |
RColumnRegister | fColumnRegister |
ColumnNames_t | fInputColumns |
ROOT::RVecB | fIsDefine |
The nth flag signals whether the nth input column is a custom column or not. | |
std::vector< Long64_t > | fLastCheckedEntry |
RLoopManager * | fLoopManager |
std::string | fType |
The type of the custom column as a text string. | |
std::vector< std::string > | fVariationNames |
The names of the systematic variation. | |
#include <ROOT/RDF/RJittedVariation.hxx>
|
inline |
Definition at line 33 of file RJittedVariation.hxx.
RJittedVariation::~RJittedVariation | ( | ) |
Definition at line 18 of file RJittedVariation.cxx.
Clean-up operations to be performed at the end of a task.
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 47 of file RJittedVariation.cxx.
|
finalvirtual |
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 35 of file RJittedVariation.cxx.
|
finalvirtual |
Return the (type-erased) address of the value of one variation of one column (can be safely cast back to a T*).
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 29 of file RJittedVariation.cxx.
|
finalvirtual |
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 23 of file RJittedVariation.cxx.
|
inline |
Definition at line 41 of file RJittedVariation.hxx.
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry.
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 41 of file RJittedVariation.cxx.
|
private |
Definition at line 30 of file RJittedVariation.hxx.