Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RVariation.hxx File Reference
#include "ColumnReaderUtils.hxx"
#include "RColumnReaderBase.hxx"
#include "RLoopManager.hxx"
#include "RVariationBase.hxx"
#include <string_view>
#include <ROOT/TypeTraits.hxx>
#include <Rtypes.h>
#include <array>
#include <deque>
#include <map>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for RVariation.hxx:
This graph shows which files directly or indirectly include this file:

Classes

struct  ROOT::Internal::RDF::ColumnType< VaryExpressionRet_t, IsSingleColumn >
 
struct  ROOT::Internal::RDF::ColumnType< ROOT::RVec< ROOT::RVec< T > >, false >
 
struct  ROOT::Internal::RDF::ColumnType< ROOT::RVec< T >, true >
 
class  ROOT::Internal::RDF::RVariation< F, IsSingleColumn >
 

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Internal
 
namespace  ROOT::Internal::RDF
 
namespace  ROOT::RDF
 

Typedefs

template<bool IsSingleColumn, typename Ret_t >
using ROOT::Internal::RDF::ColumnType_t = typename ColumnType< Ret_t, IsSingleColumn >::type
 When varying a single column, Ret_t is RVec<T> and ColumnType_t is T.
 

Functions

Helper functions for the case of a single column being varied.
template<typename T >
void ROOT::Internal::RDF::AssignResults (ROOT::RVec< T > &resStorage, ROOT::RVec< T > &&tmpResults)
 Assign into fLastResults[slot] without changing the addresses of its elements (we gave those addresses away in GetValuePtr) The callee is responsible of making sure that resStorage has the correct size.
 
template<typename T >
std::size_t ROOT::Internal::RDF::GetNVariations (const RVec< T > &results)
 
template<typename T >
void * ROOT::Internal::RDF::GetValuePtrHelper (ROOT::RVec< T > &v, std::size_t, std::size_t varIdx)
 
template<typename T >
void ROOT::Internal::RDF::ResizeResults (ROOT::RVec< T > &results, std::size_t, std::size_t nVariations)
 
template<typename T >
bool ROOT::Internal::RDF::ResultsSizeEq (const T &results, std::size_t expected, std::size_t nColumns, std::true_type)
 
Helper functions for the case of multiple columns being varied simultaneously.
template<typename T >
void ROOT::Internal::RDF::AssignResults (std::vector< ROOT::RVec< T > > &resStorage, ROOT::RVec< ROOT::RVec< T > > &&tmpResults)
 
template<typename T >
std::size_t ROOT::Internal::RDF::GetNVariations (const std::vector< RVec< T > > &results)
 
template<typename T >
void * ROOT::Internal::RDF::GetValuePtrHelper (std::vector< ROOT::RVec< T > > &v, std::size_t colIdx, std::size_t varIdx)
 
template<typename T >
void ROOT::Internal::RDF::ResizeResults (std::vector< ROOT::RVec< T > > &results, std::size_t nCols, std::size_t nVariations)
 
template<typename T >
bool ROOT::Internal::RDF::ResultsSizeEq (const T &results, std::size_t expected, std::size_t, std::false_type)