Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RResultPtr.hxx File Reference
#include "ROOT/RDF/RActionBase.hxx"
#include "RtypesCore.h"
#include "ROOT/RDF/RLoopManager.hxx"
#include "ROOT/TypeTraits.hxx"
#include "TError.h"
#include <memory>
#include <functional>
#include <type_traits>

Classes

class  ROOT::RDF::RResultPtr< T >
 Smart pointer for the return type of actions. More...
class  ROOT::Detail::RDF::RResultPtr< T >
 Smart pointer for the return type of actions. More...

Namespaces

namespace  ROOT
namespace  ROOT::Detail
 Special implementation of ROOT::RRangeCast for TCollection, including a check that the cast target type inherits from TObject and a new constructor that takes the TCollection by pointer.
namespace  ROOT::Detail::RDF
namespace  ROOT::Internal
namespace  ROOT::Internal::RDF
namespace  ROOT::RDF
namespace  ROOT::RDF::Experimental

Typedefs

using ROOT::Internal::RDF::SnapshotPtr_t = ROOT::RDF::RResultPtr<ROOT::RDF::RInterface<ROOT::Detail::RDF::RLoopManager>>

Functions

template<typename T>
ROOT::RDF::RResultPtr< T > ROOT::Internal::RDF::CloneResultAndAction (const ROOT::RDF::RResultPtr< T > &inptr)
 Creates a new RResultPtr with a cloned action.
SnapshotPtr_t ROOT::Internal::RDF::CloneResultAndAction (const SnapshotPtr_t &inptr, const std::string &outputFileName)
 Creates a new RResultPtr with a cloned Snapshot action.
template<typename T>
std::unique_ptr< RMergeableValue< T > > ROOT::Detail::RDF::GetMergeableValue (RResultPtr< T > &rptr)
 Retrieve a mergeable value from an RDataFrame action.
template<typename T>
RResultPtr< T > ROOT::Detail::RDF::MakeResultPtr (const std::shared_ptr< T > &r, RLoopManager &lm, std::shared_ptr< RDFInternal::RActionBase > actionPtr)
 Create a RResultPtr and set its pointer to the corresponding RAction This overload is invoked by non-jitted actions, as they have access to RAction before constructing RResultPtr.
template<class T1, class T2>
bool ROOT::RDF::operator!= (const RResultPtr< T1 > &lhs, const RResultPtr< T2 > &rhs)
template<class T1>
bool ROOT::RDF::operator!= (const RResultPtr< T1 > &lhs, std::nullptr_t rhs)
template<class T1>
bool ROOT::RDF::operator!= (std::nullptr_t lhs, const RResultPtr< T1 > &rhs)
template<class T1, class T2>
bool ROOT::RDF::operator== (const RResultPtr< T1 > &lhs, const RResultPtr< T2 > &rhs)
template<class T1>
bool ROOT::RDF::operator== (const RResultPtr< T1 > &lhs, std::nullptr_t rhs)
template<class T1>
bool ROOT::RDF::operator== (std::nullptr_t lhs, const RResultPtr< T1 > &rhs)
template<typename T>
RResultMap< T > ROOT::RDF::Experimental::VariationsFor (RResultPtr< T > resPtr)
 Produce all required systematic variations for the given result.