Definition at line 30 of file RDefinePerSample.hxx.
Public Member Functions | |
RDefinePerSample (const RDefinePerSample &)=delete | |
RDefinePerSample (std::string_view name, std::string_view type, F expression, RLoopManager &lm) | |
~RDefinePerSample () | |
void | FinalizeSlot (unsigned int) 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) final |
Return the (type-erased) address of the Define'd value for the given processing slot. | |
RDefineBase & | GetVariedDefine (const std::string &) final |
Return a clone of this Define that works with values in the variationName "universe". | |
void | InitSlot (TTreeReader *, unsigned int) final |
void | MakeVariations (const std::vector< std::string > &) final |
Create clones of this Define that work with values in varied "universes". | |
RDefinePerSample & | operator= (const RDefinePerSample &)=delete |
void | Update (unsigned int slot, const ROOT::RDF::RSampleInfo &id) final |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry. | |
void | Update (unsigned int, Long64_t) final |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry. | |
Public Member Functions inherited from ROOT::Detail::RDF::RDefineBase | |
RDefineBase (std::string_view name, std::string_view type, const RDFInternal::RColumnRegister &colRegister, RLoopManager &lm, const ColumnNames_t &columnNames, const std::string &variationName="nominal") | |
virtual | ~RDefineBase () |
std::string | GetName () const |
std::string | GetTypeName () const |
const std::vector< std::string > & | GetVariations () const |
RDefineBase & | operator= (const RDefineBase &)=delete |
RDefineBase & | operator= (RDefineBase &&)=delete |
Private Types | |
using | RetType_t = typename CallableTraits< F >::ret_type |
using | ValuesPerSlot_t = std::conditional_t< std::is_same< RetType_t, bool >::value, std::deque< RetType_t >, std::vector< RetType_t > > |
Private Attributes | |
F | fExpression |
ValuesPerSlot_t | fLastResults |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Detail::RDF::RDefineBase | |
RDFInternal::RColumnRegister | fColRegister |
const ROOT::RDF::ColumnNames_t | fColumnNames |
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 |
const std::string | fName |
The name of the custom column. | |
const std::string | fType |
The type of the custom column as a text string. | |
std::string | fVariation |
This indicates for what variation this define evaluates values. | |
std::vector< std::string > | fVariationDeps |
List of systematic variations that affect the value of this define. | |
#include <ROOT/RDF/RDefinePerSample.hxx>
|
private |
Definition at line 31 of file RDefinePerSample.hxx.
|
private |
Definition at line 34 of file RDefinePerSample.hxx.
|
inline |
Definition at line 41 of file RDefinePerSample.hxx.
|
delete |
|
inline |
Definition at line 54 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Clean-up operations to be performed at the end of a task.
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 77 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 73 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Return the (type-erased) address of the Define'd value for the given processing slot.
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 57 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Return a clone of this Define that works with values in the variationName "universe".
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 82 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 75 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Create clones of this Define that work with values in varied "universes".
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 80 of file RDefinePerSample.hxx.
|
delete |
|
inlinefinalvirtual |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry.
Reimplemented from ROOT::Detail::RDF::RDefineBase.
Definition at line 68 of file RDefinePerSample.hxx.
|
inlinefinalvirtual |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry.
Implements ROOT::Detail::RDF::RDefineBase.
Definition at line 62 of file RDefinePerSample.hxx.
|
private |
Definition at line 37 of file RDefinePerSample.hxx.
|
private |
Definition at line 38 of file RDefinePerSample.hxx.