Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RDF::Experimental::RResultMap< T > Class Template Reference

template<typename T>
class ROOT::RDF::Experimental::RResultMap< T >

Definition at line 54 of file RResultMap.hxx.

Public Member Functions

const std::vector< std::string > & GetKeys () const
 
T & operator[] (const std::string &key)
 

Private Member Functions

 RResultMap (std::shared_ptr< T > &&nominalResult, std::vector< std::shared_ptr< T > > &&variedResults, std::vector< std::string > &&keys, ROOT::Detail::RDF::RLoopManager &lm, std::shared_ptr< ROOT::Internal::RDF::RActionBase > nominalAction, std::shared_ptr< ROOT::Internal::RDF::RActionBase > variedAction)
 

Private Attributes

std::vector< std::string > fKeys
 
ROOT::Detail::RDF::RLoopManagerfLoopManager
 
std::unordered_map< std::string, std::shared_ptr< T > > fMap
 
std::shared_ptr< ROOT::Internal::RDF::RActionBasefNominalAction
 
std::shared_ptr< ROOT::Internal::RDF::RActionBasefVariedAction
 

Friends

RResultMap ROOT::Internal::RDF::MakeResultMap (std::shared_ptr< T > nominalResult, std::vector< std::shared_ptr< T > > &&variedResults, std::vector< std::string > &&keys, ROOT::Detail::RDF::RLoopManager &lm, std::shared_ptr< ROOT::Internal::RDF::RActionBase > nominalAction, std::shared_ptr< ROOT::Internal::RDF::RActionBase > variedAction)
 

#include <ROOT/RDF/RResultMap.hxx>

Constructor & Destructor Documentation

◆ RResultMap()

template<typename T >
ROOT::RDF::Experimental::RResultMap< T >::RResultMap ( std::shared_ptr< T > &&  nominalResult,
std::vector< std::shared_ptr< T > > &&  variedResults,
std::vector< std::string > &&  keys,
ROOT::Detail::RDF::RLoopManager lm,
std::shared_ptr< ROOT::Internal::RDF::RActionBase nominalAction,
std::shared_ptr< ROOT::Internal::RDF::RActionBase variedAction 
)
inlineprivate

Definition at line 70 of file RResultMap.hxx.

Member Function Documentation

◆ GetKeys()

template<typename T >
const std::vector< std::string > & ROOT::RDF::Experimental::RResultMap< T >::GetKeys ( ) const
inline

Definition at line 100 of file RResultMap.hxx.

◆ operator[]()

template<typename T >
T & ROOT::RDF::Experimental::RResultMap< T >::operator[] ( const std::string &  key)
inline

Definition at line 89 of file RResultMap.hxx.

Friends And Related Symbol Documentation

◆ ROOT::Internal::RDF::MakeResultMap

template<typename T >
RResultMap ROOT::Internal::RDF::MakeResultMap ( std::shared_ptr< T >  nominalResult,
std::vector< std::shared_ptr< T > > &&  variedResults,
std::vector< std::string > &&  keys,
ROOT::Detail::RDF::RLoopManager lm,
std::shared_ptr< ROOT::Internal::RDF::RActionBase nominalAction,
std::shared_ptr< ROOT::Internal::RDF::RActionBase variedAction 
)
friend

Member Data Documentation

◆ fKeys

template<typename T >
std::vector<std::string> ROOT::RDF::Experimental::RResultMap< T >::fKeys
private

Definition at line 56 of file RResultMap.hxx.

◆ fLoopManager

template<typename T >
ROOT::Detail::RDF::RLoopManager* ROOT::RDF::Experimental::RResultMap< T >::fLoopManager
private

Definition at line 58 of file RResultMap.hxx.

◆ fMap

template<typename T >
std::unordered_map<std::string, std::shared_ptr<T> > ROOT::RDF::Experimental::RResultMap< T >::fMap
private

Definition at line 57 of file RResultMap.hxx.

◆ fNominalAction

template<typename T >
std::shared_ptr<ROOT::Internal::RDF::RActionBase> ROOT::RDF::Experimental::RResultMap< T >::fNominalAction
private

Definition at line 59 of file RResultMap.hxx.

◆ fVariedAction

template<typename T >
std::shared_ptr<ROOT::Internal::RDF::RActionBase> ROOT::RDF::Experimental::RResultMap< T >::fVariedAction
private

Definition at line 60 of file RResultMap.hxx.

  • tree/dataframe/inc/ROOT/RDF/RResultMap.hxx