Definition at line 148 of file RVariation.hxx.
Public Member Functions | |
RVariation (const RVariation &)=delete | |
RVariation (const std::vector< std::string > &colNames, std::string_view variationName, F expression, const std::vector< std::string > &variationTags, std::string_view type, const RColumnRegister &defines, RLoopManager &lm, const ColumnNames_t &inputColNames) | |
~RVariation () | |
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 for the given processing slot. | |
void | InitSlot (TTreeReader *r, unsigned int slot) final |
RVariation & | operator= (const RVariation &)=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::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 Types | |
using | ColumnTypes_t = typename CallableTraits< F >::arg_types |
using | Result_t = std::conditional_t< IsSingleColumn, ROOT::RVec< VariedCol_t >, std::vector< ROOT::RVec< VariedCol_t > > > |
using | Ret_t = typename CallableTraits< F >::ret_type |
using | TypeInd_t = std::make_index_sequence< ColumnTypes_t::list_size > |
using | VariedCol_t = ColumnType_t< IsSingleColumn, Ret_t > |
Private Member Functions | |
template<typename ColType > | |
auto | GetValueChecked (unsigned int slot, std::size_t readerIdx, Long64_t entry) -> ColType & |
template<typename... ColTypes, std::size_t... S> | |
void | UpdateHelper (unsigned int slot, Long64_t entry, TypeList< ColTypes... >, std::index_sequence< S... >) |
Private Attributes | |
F | fExpression |
std::vector< Result_t > | fLastResults |
Per-slot storage for varied column values (for one or multiple columns depending on IsSingleColumn). | |
std::vector< std::array< RColumnReaderBase *, ColumnTypes_t::list_size > > | fValues |
Column readers per slot and per input column. | |
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/RVariation.hxx>
|
private |
Definition at line 149 of file RVariation.hxx.
|
private |
Definition at line 153 of file RVariation.hxx.
|
private |
Definition at line 151 of file RVariation.hxx.
|
private |
Definition at line 150 of file RVariation.hxx.
|
private |
Definition at line 152 of file RVariation.hxx.
|
inline |
Definition at line 193 of file RVariation.hxx.
|
delete |
|
inline |
Definition at line 209 of file RVariation.hxx.
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 245 of file RVariation.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 242 of file RVariation.hxx.
|
inlineprivate |
Definition at line 163 of file RVariation.hxx.
|
inlinefinalvirtual |
Return the (type-erased) address of the value for the given processing slot.
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 219 of file RVariation.hxx.
|
inlinefinalvirtual |
Implements ROOT::Internal::RDF::RVariationBase.
Definition at line 211 of file RVariation.hxx.
|
delete |
|
inlinefinalvirtual |
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 233 of file RVariation.hxx.
|
inlineprivate |
Definition at line 175 of file RVariation.hxx.
|
private |
Definition at line 155 of file RVariation.hxx.
|
private |
Per-slot storage for varied column values (for one or multiple columns depending on IsSingleColumn).
Definition at line 157 of file RVariation.hxx.
|
private |
Column readers per slot and per input column.
Definition at line 160 of file RVariation.hxx.