Definition at line 39 of file RDefineBase.hxx.
Public Member Functions | |
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 () |
virtual void | FinalizeSlot (unsigned int slot)=0 |
Clean-up operations to be performed at the end of a task. | |
std::string | GetName () const |
virtual const std::type_info & | GetTypeId () const =0 |
std::string | GetTypeName () const |
virtual void * | GetValuePtr (unsigned int slot)=0 |
Return the (type-erased) address of the Define'd value for the given processing slot. | |
const std::vector< std::string > & | GetVariations () const |
virtual RDefineBase & | GetVariedDefine (const std::string &variationName)=0 |
Return a clone of this Define that works with values in the variationName "universe". | |
virtual void | InitSlot (TTreeReader *r, unsigned int slot)=0 |
virtual void | MakeVariations (const std::vector< std::string > &variations)=0 |
Create clones of this Define that work with values in varied "universes". | |
RDefineBase & | operator= (const RDefineBase &)=delete |
RDefineBase & | operator= (RDefineBase &&)=delete |
virtual void | Update (unsigned int slot, Long64_t entry)=0 |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry. | |
virtual void | Update (unsigned int, const ROOT::RDF::RSampleInfo &) |
Update function to be called once per sample, used if the derived type is a RDefinePerSample. | |
Protected Attributes | |
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/RDefineBase.hxx>
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" |
||
) |
Definition at line 24 of file RDefineBase.cxx.
|
virtualdefault |
|
pure virtual |
Clean-up operations to be performed at the end of a task.
Implemented in ROOT::Detail::RDF::RDefaultValueFor< T >, ROOT::Detail::RDF::RDefine< F, ExtraArgsTag >, ROOT::Detail::RDF::RJittedDefine, and ROOT::Detail::RDF::RDefinePerSample< F >.
std::string RDefineBase::GetName | ( | ) | const |
Definition at line 42 of file RDefineBase.cxx.
|
pure virtual |
std::string RDefineBase::GetTypeName | ( | ) | const |
Definition at line 47 of file RDefineBase.cxx.
|
pure virtual |
Return the (type-erased) address of the Define'd value for the given processing slot.
Implemented in ROOT::Detail::RDF::RDefaultValueFor< T >, ROOT::Detail::RDF::RDefine< F, ExtraArgsTag >, ROOT::Detail::RDF::RDefinePerSample< F >, and ROOT::Detail::RDF::RJittedDefine.
|
inline |
Definition at line 72 of file RDefineBase.hxx.
|
pure virtual |
Return a clone of this Define that works with values in the variationName "universe".
Implemented in ROOT::Detail::RDF::RDefinePerSample< F >, ROOT::Detail::RDF::RDefaultValueFor< T >, ROOT::Detail::RDF::RDefine< F, ExtraArgsTag >, and ROOT::Detail::RDF::RJittedDefine.
|
pure virtual |
|
pure virtual |
Create clones of this Define that work with values in varied "universes".
Implemented in ROOT::Detail::RDF::RDefinePerSample< F >, ROOT::Detail::RDF::RDefaultValueFor< T >, ROOT::Detail::RDF::RDefine< F, ExtraArgsTag >, and ROOT::Detail::RDF::RJittedDefine.
|
delete |
|
delete |
|
pure virtual |
Update the value at the address returned by GetValuePtr with the content corresponding to the given entry.
Implemented in ROOT::Detail::RDF::RDefaultValueFor< T >, ROOT::Detail::RDF::RDefine< F, ExtraArgsTag >, ROOT::Detail::RDF::RJittedDefine, and ROOT::Detail::RDF::RDefinePerSample< F >.
|
inlinevirtual |
Update function to be called once per sample, used if the derived type is a RDefinePerSample.
Reimplemented in ROOT::Detail::RDF::RDefinePerSample< F >, ROOT::Detail::RDF::RJittedDefine, ROOT::Detail::RDF::RDefaultValueFor< T >, and ROOT::Detail::RDF::RDefine< F, ExtraArgsTag >.
Definition at line 68 of file RDefineBase.hxx.
|
protected |
Definition at line 44 of file RDefineBase.hxx.
|
protected |
Definition at line 46 of file RDefineBase.hxx.
|
protected |
The nth flag signals whether the nth input column is a custom column or not.
Definition at line 48 of file RDefineBase.hxx.
|
protected |
Definition at line 43 of file RDefineBase.hxx.
|
protected |
Definition at line 45 of file RDefineBase.hxx.
|
protected |
The name of the custom column.
Definition at line 41 of file RDefineBase.hxx.
|
protected |
The type of the custom column as a text string.
Definition at line 42 of file RDefineBase.hxx.
|
protected |
This indicates for what variation this define evaluates values.
Definition at line 50 of file RDefineBase.hxx.
|
protected |
List of systematic variations that affect the value of this define.
Definition at line 49 of file RDefineBase.hxx.