Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::RVariationBase Class Referenceabstract

This type includes all parts of RVariation that do not depend on the callable signature.

Definition at line 39 of file RVariationBase.hxx.

Public Member Functions

 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 ()
 
virtual void FinalizeSlot (unsigned int slot)=0
 Clean-up operations to be performed at the end of a task.
 
const std::vector< std::string > & GetColumnNames () const
 
virtual const std::type_info & GetTypeId () const =0
 
std::string GetTypeName () const
 
virtual voidGetValuePtr (unsigned int slot, const std::string &column, const std::string &variation)=0
 Return the (type-erased) address of the value of one variation of one column (can be safely cast back to a T*).
 
const std::vector< std::string > & GetVariationNames () const
 
virtual void InitSlot (TTreeReader *r, unsigned int slot)=0
 
RVariationBaseoperator= (const RVariationBase &)=delete
 
RVariationBaseoperator= (RVariationBase &&)=default
 
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.
 

Protected Attributes

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_tfLastCheckedEntry
 
RLoopManagerfLoopManager
 
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/RVariationBase.hxx>

Inheritance diagram for ROOT::Internal::RDF::RVariationBase:
[legend]

Constructor & Destructor Documentation

◆ RVariationBase() [1/3]

ROOT::Internal::RDF::RVariationBase::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 
)

Definition at line 19 of file RVariationBase.cxx.

◆ RVariationBase() [2/3]

ROOT::Internal::RDF::RVariationBase::RVariationBase ( const RVariationBase )
delete

◆ RVariationBase() [3/3]

ROOT::Internal::RDF::RVariationBase::RVariationBase ( RVariationBase &&  )
default

◆ ~RVariationBase()

ROOT::Internal::RDF::RVariationBase::~RVariationBase ( )
virtualdefault

Member Function Documentation

◆ FinalizeSlot()

virtual void ROOT::Internal::RDF::RVariationBase::FinalizeSlot ( unsigned int  slot)
pure virtual

Clean-up operations to be performed at the end of a task.

Implemented in ROOT::Internal::RDF::RJittedVariation, and ROOT::Internal::RDF::RVariation< F >.

◆ GetColumnNames()

const std::vector< std::string > & ROOT::Internal::RDF::RVariationBase::GetColumnNames ( ) const

Definition at line 37 of file RVariationBase.cxx.

◆ GetTypeId()

virtual const std::type_info & ROOT::Internal::RDF::RVariationBase::GetTypeId ( ) const
pure virtual

◆ GetTypeName()

std::string ROOT::Internal::RDF::RVariationBase::GetTypeName ( ) const

Definition at line 47 of file RVariationBase.cxx.

◆ GetValuePtr()

virtual void * ROOT::Internal::RDF::RVariationBase::GetValuePtr ( unsigned int  slot,
const std::string &  column,
const std::string &  variation 
)
pure virtual

Return the (type-erased) address of the value of one variation of one column (can be safely cast back to a T*).

Implemented in ROOT::Internal::RDF::RJittedVariation, and ROOT::Internal::RDF::RVariation< F >.

◆ GetVariationNames()

const std::vector< std::string > & ROOT::Internal::RDF::RVariationBase::GetVariationNames ( ) const

Definition at line 42 of file RVariationBase.cxx.

◆ InitSlot()

virtual void ROOT::Internal::RDF::RVariationBase::InitSlot ( TTreeReader r,
unsigned int  slot 
)
pure virtual

◆ operator=() [1/2]

RVariationBase & ROOT::Internal::RDF::RVariationBase::operator= ( const RVariationBase )
delete

◆ operator=() [2/2]

RVariationBase & ROOT::Internal::RDF::RVariationBase::operator= ( RVariationBase &&  )
default

◆ Update()

virtual void ROOT::Internal::RDF::RVariationBase::Update ( unsigned int  slot,
Long64_t  entry 
)
pure virtual

Update the value at the address returned by GetValuePtr with the content corresponding to the given entry.

Implemented in ROOT::Internal::RDF::RJittedVariation, and ROOT::Internal::RDF::RVariation< F >.

Member Data Documentation

◆ fColNames

std::vector<std::string> ROOT::Internal::RDF::RVariationBase::fColNames
protected

The names of the varied columns.

Definition at line 41 of file RVariationBase.hxx.

◆ fColumnRegister

RColumnRegister ROOT::Internal::RDF::RVariationBase::fColumnRegister
protected

Definition at line 45 of file RVariationBase.hxx.

◆ fInputColumns

ColumnNames_t ROOT::Internal::RDF::RVariationBase::fInputColumns
protected

Definition at line 47 of file RVariationBase.hxx.

◆ fIsDefine

ROOT::RVecB ROOT::Internal::RDF::RVariationBase::fIsDefine
protected

The nth flag signals whether the nth input column is a custom column or not.

Definition at line 49 of file RVariationBase.hxx.

◆ fLastCheckedEntry

std::vector<Long64_t> ROOT::Internal::RDF::RVariationBase::fLastCheckedEntry
protected

Definition at line 44 of file RVariationBase.hxx.

◆ fLoopManager

RLoopManager* ROOT::Internal::RDF::RVariationBase::fLoopManager
protected

Definition at line 46 of file RVariationBase.hxx.

◆ fType

std::string ROOT::Internal::RDF::RVariationBase::fType
protected

The type of the custom column as a text string.

Definition at line 43 of file RVariationBase.hxx.

◆ fVariationNames

std::vector<std::string> ROOT::Internal::RDF::RVariationBase::fVariationNames
protected

The names of the systematic variation.

Definition at line 42 of file RVariationBase.hxx.

Libraries for ROOT::Internal::RDF::RVariationBase:

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