Logo ROOT   6.18/05
Reference Guide
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
ROOT::Experimental Namespace Reference

Namespaces

namespace  Detail
 
namespace  Hist
 
namespace  Internal
 

Classes

class  RAttrBox
 class ROOT::Experimental::RAttrBox Drawing attributes for a box: rectangular lines with size and position. More...
 
class  RAttrLine
 class ROOT::Experimental::RAttrLine Drawing attributes for RLine. More...
 
class  RAttrMarker
 
class  RAttrText
 
class  RAxisBase
 Histogram axis base class. More...
 
class  RAxisConfig
 Objects used to configure the different axis types. More...
 
class  RAxisEquidistant
 Axis with equidistant bin borders. More...
 
class  RAxisGrow
 An axis that can extend its range, keeping the number of its bins unchanged. More...
 
class  RAxisIrregular
 An axis with non-equidistant bins (also known as "variable binning"). More...
 
class  RAxisLabels
 A RAxisGrow that has a label assigned to each bin and a bin width of 1. More...
 
class  RAxisView
 Common view on a RAxis, no matter what its kind. More...
 
class  RCanvas
 A window's topmost RPad. More...
 
class  RClusterDescriptor
 
struct  RClusterSize
 Wrap the 32bit integer in a struct in order to avoid template specialization clash with std::uint32_t. More...
 
class  RCollectionNTuple
 A virtual ntuple for collections that can be used to some extent like a real ntuple. More...
 
class  RColor
 A color: Red|Green|Blue|Alpha, or a position in a RPalette. More...
 
class  RColumnDescriptor
 
class  RColumnModel
 Holds the static meta-data of a column in a tree. More...
 
class  RDirectory
 Key/value store of objects. More...
 
class  RDirectoryTypeMismatch
 Objects of this class are thrown to signal that the value known under the given name . More...
 
class  RDirectoryUnknownKey
 Objects of this class are thrown to signal that no key with that name exists. More...
 
class  RDisplayItem
 Base class for painting data for JS. More...
 
class  RDrawable
 Base class for drawable entities: objects that can be painted on a RPad. More...
 
class  RDrawableBase
 
class  RDrawingAttrBase
 A collection of graphics attributes, for instance everything describing a line: color, width, opacity and style. More...
 
class  RDrawingAttrHolder
 A container of (stringified) attributes for which values have been provided. More...
 
class  RDrawingOptsBase
 
class  REntry
 The REntry is a collection of values in an ntuple corresponding to a complete row in the data set. More...
 
class  RField
 Classes with dictionaries that can be inspected by TClass. More...
 
class  RField< ClusterSize_t >
 Template specializations for concrete C++ types. More...
 
class  RField< double >
 
class  RField< float >
 
class  RField< ROOT::VecOps::RVec< ItemT > >
 The RVec type has different layouts depending on the item type, therefore we cannot go with a generic RVec implementation as we can with std::vector. More...
 
class  RField< std::int32_t >
 
class  RField< std::string >
 
class  RField< std::uint32_t >
 
class  RField< std::uint64_t >
 
class  RField< std::vector< ItemT > >
 
class  RFieldClass
 The field for a class with dictionary. More...
 
class  RFieldCollection
 
class  RFieldDescriptor
 
class  RFieldRoot
 The container field for a tree model, which itself has no physical representation. More...
 
class  RFieldVector
 The generic field for a (nested) std::vector<Type> More...
 
class  RFile
 A ROOT file. More...
 
class  RFilePtr
 Points to an object that stores or reads objects in ROOT's binary format. More...
 
class  RFitResult
 
class  RFrame
 Holds a user coordinate system with a palette. More...
 
class  RFunction
 
class  RHist
 Histogram class for histograms with DIMENSIONS dimensions, where each bin count is stored by a value of type PRECISION. More...
 
class  RHist< DIMENSIONS, PRECISION >
 RHist with no STAT parameter uses RHistStatContent by default. More...
 
class  RHistBufferedFill
 Buffers calls to Fill(). More...
 
class  RHistConcurrentFiller
 Buffers a thread's Fill calls and submits them to the RHistConcurrentFillManager. More...
 
class  RHistConcurrentFillManager
 Manages the synchronization of calls to FillN(). More...
 
class  RHistDataMomentUncert
 For now do as RH1: calculate first (xw) and second (x^2w) moment. More...
 
class  RHistDrawable
 
class  RHistDrawableBase
 
class  RHistDrawingOpts
 
class  RHistDrawingOpts< 1 >
 Drawing options for a 1D histogram. More...
 
class  RHistDrawingOpts< 2 >
 Drawing options for a 2D histogram. More...
 
class  RHistDrawingOpts< 3 >
 Drawing options for a 3D histogram. More...
 
class  RHistStatContent
 Basic histogram statistics, keeping track of the bin content and the total number of calls to Fill(). More...
 
class  RHistStatRuntime
 Interface implementing a pure virtual functions DoFill(), DoFillN(). More...
 
class  RHistStatTotalSumOfSquaredWeights
 Keeps track of the histogram's total sum of squared weights. More...
 
class  RHistStatTotalSumOfWeights
 Keeps track of the histogram's total sum of weights. More...
 
class  RHistStatUncertainty
 Histogram statistics to keep track of the Poisson uncertainty per bin. More...
 
class  RHistView
 A view on a histogram, selecting a range on a subset of dimensions. More...
 
struct  RHistViewOutOfRange
 
class  RLogDiagCounter
 Object to count the number of warnings and errors emitted by a section of code, after construction of this type. More...
 
class  RLogEntry
 A diagnostic, emitted by the RLogManager upon destruction of the RLogEntry. More...
 
class  RLogHandler
 Abstract RLogHandler base class. More...
 
class  RLogManager
 A RLogHandler that multiplexes diagnostics to different client RLogHandlers. More...
 
class  RMenuItems
 
class  RNTupleDescriptor
 Represents the on-disk (on storage) information about an ntuple. More...
 
class  RNTupleDescriptorBuilder
 Used by RPageStorage implementations in order to construct the RNTupleDescriptor from the various header parts. More...
 
class  RNTupleDS
 
class  RNTupleModel
 The RNTupleModel encapulates the schema of an ntuple. More...
 
class  RNTupleReader
 An RNTuple that is used to read data from storage. More...
 
class  RNTupleVersion
 For forward and backward compatibility, attach version information to the consitituents of the file format (column, field, cluster, ntuple). More...
 
class  RNTupleView
 An RNTupleView provides read-only access to a single field of the ntuple. More...
 
class  RNTupleView< float >
 
class  RNTupleViewCollection
 A view for a collection, that can itself generate new ntuple views for its nested fields. More...
 
class  RNTupleViewRange
 Used to loop over indexes (entries or collections) between start and end. More...
 
class  RNTupleWriter
 An RNTuple that gets filled with entries (data) and writes them to storage. More...
 
class  RObjectDisplayItem
 
class  RObjectDrawable
 
class  RObjectDrawingOpts
 
class  ROrdinaryDisplayItem
 
class  RPad
 Graphic container for RDrawable-s. More...
 
class  RPadBase
 Base class for graphic containers for RDrawable-s. More...
 
class  RPadCartesianUserAxis
 
class  RPadDisplayItem
 Display item for the pad Includes different graphical properties of the pad itself plus list of created items for all primitives. More...
 
class  RPadDrawable
 Draw a RPad, by drawing its contained graphical elements at the pad offset in the parent pad. More...
 
class  RPadExtent
 An extent / size (horizontal and vertical) in a RPad. More...
 
class  RPadLength
 A coordinate in a RPad. More...
 
class  RPadPos
 A position (horizontal and vertical) in a RPad. More...
 
class  RPadUserAxisBase
 
class  RPalette
 A set of colors. More...
 
class  RStyle
 A set of defaults for graphics attributes, e.g. More...
 
class  RUniqueDisplayItem
 
class  TBufferMerger
 TBufferMerger is a class to facilitate writing data in parallel from multiple threads, while writing to a single output file. More...
 
class  TBufferMergerFile
 
class  TFuture
 A TFuture class. It can wrap an std::future. More...
 
class  TTaskGroup
 A class to manage the asynchronous execution of work items. More...
 
class  TTreeReaderFast
 
class  TTreeReaderValueFast
 
class  TTreeReaderValueFast< Bool_t >
 
class  TTreeReaderValueFast< double >
 
class  TTreeReaderValueFast< float >
 
class  TTreeReaderValueFast< Int_t >
 
class  TTreeReaderValueFast< UInt_t >
 

Typedefs

using CanvasCallback_t = std::function< void(bool)>
 
using ClusterSize_t = RClusterSize
 
using ColumnId_t = std::int64_t
 Uniquely identifies a physical column within the scope of the current process, used to tag pages. More...
 
using DescriptorId_t = std::uint64_t
 Distriniguishes elements of the same type within a descriptor, e.g. different fields. More...
 
using NTupleFlags_t = std::uint64_t
 64 possible flags to apply to all versioned entities (so far unused). More...
 
using NTupleSize_t = std::uint64_t
 Integer type long enough to hold the maximum number of entries in a column. More...
 
RHist Typedefs

Convenience typedefs (ROOT6-compatible type names)

using RH1D = RHist< 1, double, RHistStatContent, RHistStatUncertainty >
 
using RH1F = RHist< 1, float, RHistStatContent, RHistStatUncertainty >
 
using RH1C = RHist< 1, char, RHistStatContent >
 
using RH1I = RHist< 1, int, RHistStatContent >
 
using RH1LL = RHist< 1, int64_t, RHistStatContent >
 
using RH2D = RHist< 2, double, RHistStatContent, RHistStatUncertainty >
 
using RH2F = RHist< 2, float, RHistStatContent, RHistStatUncertainty >
 
using RH2C = RHist< 2, char, RHistStatContent >
 
using RH2I = RHist< 2, int, RHistStatContent >
 
using RH2LL = RHist< 2, int64_t, RHistStatContent >
 
using RH3D = RHist< 3, double, RHistStatContent, RHistStatUncertainty >
 
using RH3F = RHist< 3, float, RHistStatContent, RHistStatUncertainty >
 
using RH3C = RHist< 3, char, RHistStatContent >
 
using RH3I = RHist< 3, int, RHistStatContent >
 
using RH3LL = RHist< 3, int64_t, RHistStatContent >
 

Enumerations

enum class  EColumnType {
  kUnknown = 0 , kIndex , kByte , kReal64 ,
  kReal32 , kReal16 , kReal8 , kInt64 ,
  kInt32 , kInt16
}
 
enum class  EIOFeatures { kGenerateOffsetMap = BIT(0) , kSupported = kGenerateOffsetMap }
 
enum class  EIOUnsupportedFeatures { kUnsupported = 0 }
 
enum class  ELogLevel {
  kDebug , kInfo , kWarning , kError ,
  kFatal
}
 Kinds of diagnostics. More...
 
enum class  ENTupleInfo { kSummary }
 Listing of the different options that can be returned by RNTupleReader::GetInfo() More...
 
enum  ENTupleStructure {
  kLeaf , kCollection , kRecord , kReference ,
  kOptional , kVariant
}
 The fields in the ntuple model tree can carry different structural information about the type system. More...
 

Functions

template<int DIMENSIONS, class PRECISION_TO , class PRECISION_FROM , template< int D_, class P_ > class... STAT_TO, template< int D_, class P_ > class... STAT_FROM>
void Add (RHist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const RHist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
 Add two histograms. More...
 
template<class Function , class... Args>
TFuture< typename std::result_of< typename std::decay< Function >::type(typename std::decay< Args >::type...)>::typeAsync (Function &&f, Args &&... args)
 Runs a function asynchronously potentially in a new thread and returns a ROOT TFuture that will hold the result. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
RFitResult FitTo (const RHist< DIMENSIONS, PRECISION, STAT... > &hist, const RFunction< DIMENSIONS > &func, std::span< double > paramInit)
 
RColor FromAttributeString (const std::string &str, const std::string &name, RColor *)
 Initialize a RColor from a string value. More...
 
RPadExtent FromAttributeString (const std::string &val, const std::string &name, RPadExtent *)
 Initialize a RPadExtent from a style string. More...
 
RPadLength FromAttributeString (const std::string &val, const std::string &name, RPadLength *)
 
RPadPos FromAttributeString (const std::string &val, const std::string &name, RPadPos *)
 Initialize a RPadPos from a style string. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
std::shared_ptr< RHistDrawable< DIMENSIONS > > GetDrawable (const std::shared_ptr< RHist< DIMENSIONS, PRECISION, STAT... > > &hist, const RHistDrawingOpts< DIMENSIONS > &opts={})
 Interface to graphics taking a shared_ptr<RHist>. More...
 
template<class... ARGS>
std::shared_ptr< RPadDrawableGetDrawable (const std::shared_ptr< RPad > &pad, ARGS... args)
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
std::shared_ptr< RHistDrawable< DIMENSIONS > > GetDrawable (std::unique_ptr< RHist< DIMENSIONS, PRECISION, STAT... > > &&hist, const RHistDrawingOpts< DIMENSIONS > &opts={})
 Interface to graphics taking a unique_ptr<RHist>. More...
 
template<class... ARGS>
std::shared_ptr< RPadDrawableGetDrawable (std::unique_ptr< RPad > &&pad, ARGS... args)
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
class RHist< DIMENSIONS, PRECISION, STAT... > HistFromImpl (std::unique_ptr< typename RHist< DIMENSIONS, PRECISION, STAT... >::ImplBase_t > pHistImpl)
 Adopt an external, stand-alone RHistImpl. The RHist will take ownership. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
RHist< DIMENSIONS, PRECISION, STAT... > HistFromImpl (std::unique_ptr< typename RHist< DIMENSIONS, PRECISION, STAT... >::ImplBase_t > pHistImpl)
 Adopt an external, stand-alone RHistImpl. The RHist will take ownership. More...
 
constexpr ClusterSize_t kInvalidClusterIndex (std::uint32_t(-1))
 
RDataFrame MakeNTupleDataFrame (std::string_view ntupleName, std::string_view fileName)
 
RPadLength::Normal operator""_normal (long double val)
 User-defined literal for RPadLength::Normal More...
 
RPadLength::Normal operator""_normal (unsigned long long int val)
 
RPadLength::Pixel operator""_px (long double val)
 User-defined literal for RPadLength::Pixel More...
 
RPadLength::Pixel operator""_px (unsigned long long int val)
 
RPadLength::User operator""_user (long double val)
 User-defined literal for RPadLength::User More...
 
RPadLength::User operator""_user (unsigned long long int val)
 
bool operator== (const RAxisEquidistant &lhs, const RAxisEquidistant &rhs) noexcept
 Equality-compare two RAxisEquidistant. More...
 
template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
void swap (RHist< DIMENSIONS, PRECISION, STAT... > &a, RHist< DIMENSIONS, PRECISION, STAT... > &b) noexcept
 Swap two histograms. More...
 
std::string ToAttributeString (const RColor &val)
 Return a std::string representation of a RColor, suitable as input to ColorFromString(). More...
 
std::string ToAttributeString (const RPadExtent &extent)
 Convert a RPadExtent to a style string, matching what ExtentFromString can parse. More...
 
std::string ToAttributeString (const RPadLength &len)
 
std::string ToAttributeString (const RPadPos &pos)
 Convert a RPadPos to a std::string, suitable for PosFromString(). More...
 
Attribute Stringification

[

float FromAttributeString (const std::string &strval, const std::string &name, float *)
 
double FromAttributeString (const std::string &strval, const std::string &name, double *)
 
char FromAttributeString (const std::string &strval, const std::string &name, char *)
 
short FromAttributeString (const std::string &strval, const std::string &name, short *)
 
int FromAttributeString (const std::string &strval, const std::string &name, int *)
 
long FromAttributeString (const std::string &strval, const std::string &name, long *)
 
long long FromAttributeString (const std::string &strval, const std::string &name, long long *)
 
unsigned char FromAttributeString (const std::string &strval, const std::string &name, unsigned char *)
 
unsigned short FromAttributeString (const std::string &strval, const std::string &name, unsigned short *)
 
unsigned int FromAttributeString (const std::string &strval, const std::string &name, unsigned int *)
 
unsigned long FromAttributeString (const std::string &strval, const std::string &name, unsigned long *)
 
unsigned long long FromAttributeString (const std::string &strval, const std::string &name, unsigned long long *)
 
template<typename ENUM , class = typename std::enable_if<std::is_enum<ENUM>::value>::type>
ENUM FromAttributeString (const std::string &strval, const std::string &name, ENUM *)
 Decode an enum value from its integer representation. More...
 
std::string ToAttributeString (float val)
 
std::string ToAttributeString (double val)
 
std::string ToAttributeString (char val)
 
std::string ToAttributeString (short val)
 
std::string ToAttributeString (int val)
 
std::string ToAttributeString (long val)
 
std::string ToAttributeString (long long val)
 
std::string ToAttributeString (unsigned char val)
 
std::string ToAttributeString (unsigned short val)
 
std::string ToAttributeString (unsigned int val)
 
std::string ToAttributeString (unsigned long val)
 
std::string ToAttributeString (unsigned long long val)
 
template<typename ENUM , class = typename std::enable_if<std::is_enum<ENUM>::value>::type>
std::string ToAttributeString (ENUM val)
 Stringify an enum value through its integer representation. More...
 
RAxisBase::const_iterator comparison operators
bool operator< (RAxisBase::const_iterator lhs, RAxisBase::const_iterator rhs) noexcept
 i < j More...
 
bool operator> (RAxisBase::const_iterator lhs, RAxisBase::const_iterator rhs) noexcept
 i > j More...
 
bool operator<= (RAxisBase::const_iterator lhs, RAxisBase::const_iterator rhs) noexcept
 i <= j More...
 
bool operator>= (RAxisBase::const_iterator lhs, RAxisBase::const_iterator rhs) noexcept
 i >= j More...
 
bool operator== (RAxisBase::const_iterator lhs, RAxisBase::const_iterator rhs) noexcept
 i == j More...
 
bool operator!= (RAxisBase::const_iterator lhs, RAxisBase::const_iterator rhs) noexcept
 i != j More...
 

Variables

constexpr std::size_t kColumnElementSizes []
 Lookup table for the element size in bytes for column types. More...
 
constexpr ColumnId_t kInvalidColumnId = -1
 
constexpr DescriptorId_t kInvalidDescriptorId = std::uint64_t(-1)
 
constexpr NTupleSize_t kInvalidNTupleIndex = std::uint64_t(-1)
 

Axis Compatibility

enum class  EAxisCompatibility { kIdentical , kContains , kSampling , kIncompatible }
 
EAxisCompatibility CanMap (RAxisEquidistant &target, RAxisEquidistant &source) noexcept
 Whether (and how) the source axis can be merged into the target axis. More...
 

Typedef Documentation

◆ CanvasCallback_t

using ROOT::Experimental::CanvasCallback_t = typedef std::function<void(bool)>

Definition at line 27 of file RVirtualCanvasPainter.hxx.

◆ ClusterSize_t

Definition at line 57 of file RNTupleUtil.hxx.

◆ ColumnId_t

using ROOT::Experimental::ColumnId_t = typedef std::int64_t

Uniquely identifies a physical column within the scope of the current process, used to tag pages.

Definition at line 61 of file RNTupleUtil.hxx.

◆ DescriptorId_t

using ROOT::Experimental::DescriptorId_t = typedef std::uint64_t

Distriniguishes elements of the same type within a descriptor, e.g. different fields.

Definition at line 65 of file RNTupleUtil.hxx.

◆ NTupleFlags_t

using ROOT::Experimental::NTupleFlags_t = typedef std::uint64_t

64 possible flags to apply to all versioned entities (so far unused).

Definition at line 70 of file RNTupleUtil.hxx.

◆ NTupleSize_t

using ROOT::Experimental::NTupleSize_t = typedef std::uint64_t

Integer type long enough to hold the maximum number of entries in a column.

Definition at line 44 of file RNTupleUtil.hxx.

◆ RH1C

using ROOT::Experimental::RH1C = typedef RHist<1, char, RHistStatContent>

Definition at line 287 of file RHist.hxx.

◆ RH1D

Definition at line 285 of file RHist.hxx.

◆ RH1F

Definition at line 286 of file RHist.hxx.

◆ RH1I

Definition at line 288 of file RHist.hxx.

◆ RH1LL

using ROOT::Experimental::RH1LL = typedef RHist<1, int64_t, RHistStatContent>

Definition at line 289 of file RHist.hxx.

◆ RH2C

using ROOT::Experimental::RH2C = typedef RHist<2, char, RHistStatContent>

Definition at line 293 of file RHist.hxx.

◆ RH2D

Definition at line 291 of file RHist.hxx.

◆ RH2F

Definition at line 292 of file RHist.hxx.

◆ RH2I

Definition at line 294 of file RHist.hxx.

◆ RH2LL

using ROOT::Experimental::RH2LL = typedef RHist<2, int64_t, RHistStatContent>

Definition at line 295 of file RHist.hxx.

◆ RH3C

using ROOT::Experimental::RH3C = typedef RHist<3, char, RHistStatContent>

Definition at line 299 of file RHist.hxx.

◆ RH3D

Definition at line 297 of file RHist.hxx.

◆ RH3F

Definition at line 298 of file RHist.hxx.

◆ RH3I

Definition at line 300 of file RHist.hxx.

◆ RH3LL

using ROOT::Experimental::RH3LL = typedef RHist<3, int64_t, RHistStatContent>

Definition at line 301 of file RHist.hxx.

Enumeration Type Documentation

◆ EAxisCompatibility

Enumerator
kIdentical 

Source and target axes are identical.

kContains 

The source is a subset of bins of the target axis.

kSampling 

The bins of the source axis have finer granularity, but the bin borders are compatible.

Example: source: 0., 1., 2., 3., 4., 5., 6.; target: 0., 2., 5., 6. Note that this is not a symmetrical property: only one of CanMerge(source, target), CanMap(target, source) can return kContains.

kIncompatible 

The source axis and target axis have different binning.

Example: source: 0., 1., 2., 3., 4., target: 0., 0.1, 0.2, 0.3, 0.4

Definition at line 906 of file RAxis.hxx.

◆ EColumnType

Enumerator
kUnknown 
kIndex 
kByte 
kReal64 
kReal32 
kReal16 
kReal8 
kInt64 
kInt32 
kInt16 

Definition at line 39 of file RColumnModel.hxx.

◆ EIOFeatures

Enumerator
kGenerateOffsetMap 
kSupported 

Definition at line 45 of file TIOFeatures.hxx.

◆ EIOUnsupportedFeatures

Enumerator
kUnsupported 

Definition at line 54 of file TIOFeatures.hxx.

◆ ELogLevel

enum class ROOT::Experimental::ELogLevel
strong

Kinds of diagnostics.

Enumerator
kDebug 

Debug information; only useful for developers.

kInfo 

Informational messages; used for instance for tracing.

kWarning 

Warnings about likely unexpected behavior.

kError 
kFatal 

Definition at line 32 of file RLogger.hxx.

◆ ENTupleInfo

Listing of the different options that can be returned by RNTupleReader::GetInfo()

Enumerator
kSummary 

Definition at line 77 of file RNTuple.hxx.

◆ ENTupleStructure

The fields in the ntuple model tree can carry different structural information about the type system.

Leaf fields contain just data, collection fields resolve to offset columns, record root fields have no materialization on the primitive column layer.

Enumerator
kLeaf 
kCollection 
kRecord 
kReference 
kOptional 
kVariant 

Definition at line 33 of file RNTupleUtil.hxx.

Function Documentation

◆ Add()

template<int DIMENSIONS, class PRECISION_TO , class PRECISION_FROM , template< int D_, class P_ > class... STAT_TO, template< int D_, class P_ > class... STAT_FROM>
void ROOT::Experimental::Add ( RHist< DIMENSIONS, PRECISION_TO, STAT_TO... > &  to,
const RHist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &  from 
)

Add two histograms.

This is the generic, inefficient version for now; it assumes no matching axes.

Definition at line 309 of file RHist.hxx.

◆ Async()

template<class Function , class... Args>
TFuture< typename std::result_of< typename std::decay< Function >::type(typename std::decay< Args >::type...)>::type > ROOT::Experimental::Async ( Function &&  f,
Args &&...  args 
)

Runs a function asynchronously potentially in a new thread and returns a ROOT TFuture that will hold the result.

Definition at line 152 of file TFuture.hxx.

◆ CanMap()

ROOT::Experimental::EAxisCompatibility ROOT::Experimental::CanMap ( RAxisEquidistant target,
RAxisEquidistant source 
)
noexcept

Whether (and how) the source axis can be merged into the target axis.

Definition at line 50 of file RAxis.cxx.

◆ FitTo()

template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
RFitResult ROOT::Experimental::FitTo ( const RHist< DIMENSIONS, PRECISION, STAT... > &  hist,
const RFunction< DIMENSIONS > &  func,
std::span< double >  paramInit 
)

Definition at line 39 of file RFit.hxx.

◆ FromAttributeString() [1/17]

ROOT::Experimental::RColor ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
RColor  
)

Initialize a RColor from a string value.

Colors can be specified as RGBA (red green blue alpha) or RRGGBBAA: fa7f ffa07bff # hash introduces a comment! For all predefined colors in RColor, colors can be specified as name without leading 'k', e.g. red for RColor::kRed. Prints an error and returns RColor::kBlack if the attribute string cannot be parsed or if the attribute has no entry in fAttrs.

Parameters
name- the attribute name (for diagnostic purposes).
strval- the attribute value as a string.

Definition at line 132 of file RColor.cxx.

◆ FromAttributeString() [2/17]

char ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
char *   
)

◆ FromAttributeString() [3/17]

double ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
double *   
)

Definition at line 99 of file RDrawingAttr.cxx.

◆ FromAttributeString() [4/17]

template<typename ENUM , class = typename std::enable_if<std::is_enum<ENUM>::value>::type>
ENUM ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
ENUM *   
)

Decode an enum value from its integer representation.

Definition at line 47 of file RDrawingAttr.hxx.

◆ FromAttributeString() [5/17]

float ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
float *   
)

Definition at line 94 of file RDrawingAttr.cxx.

◆ FromAttributeString() [6/17]

int ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
int *   
)

Definition at line 104 of file RDrawingAttr.cxx.

◆ FromAttributeString() [7/17]

long ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
long *   
)

◆ FromAttributeString() [8/17]

long long ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
long long *   
)

◆ FromAttributeString() [9/17]

short ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
short *   
)

◆ FromAttributeString() [10/17]

unsigned char ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
unsigned char *   
)

◆ FromAttributeString() [11/17]

unsigned int ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
unsigned int *   
)

◆ FromAttributeString() [12/17]

unsigned long ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
unsigned long *   
)

◆ FromAttributeString() [13/17]

unsigned long long ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
unsigned long long *   
)

◆ FromAttributeString() [14/17]

unsigned short ROOT::Experimental::FromAttributeString ( const std::string &  strval,
const std::string &  name,
unsigned short *   
)

◆ FromAttributeString() [15/17]

ROOT::Experimental::RPadExtent ROOT::Experimental::FromAttributeString ( const std::string &  val,
const std::string &  name,
RPadExtent  
)

Initialize a RPadExtent from a style string.

Syntax: X, Y where X and Y are a series of numbers separated by "+", where each number is followed by one of px, user, normal to specify an extent in pixel, user or normal coordinates. Spaces between any part is allowed. Example: 100 px + 0.1 user, 0.5 normal is a RPadExtent{100_px + 0.1_user, 0.5_normal}.

Definition at line 29 of file RPadExtent.cxx.

◆ FromAttributeString() [16/17]

ROOT::Experimental::RPadLength ROOT::Experimental::FromAttributeString ( const std::string &  val,
const std::string &  name,
RPadLength  
)

Definition at line 200 of file RPadLength.cxx.

◆ FromAttributeString() [17/17]

ROOT::Experimental::RPadPos ROOT::Experimental::FromAttributeString ( const std::string &  val,
const std::string &  name,
RPadPos  
)

Initialize a RPadPos from a style string.

Syntax: X, Y where X and Y are a series of numbers separated by "+", where each number is followed by one of px, user, normal to specify an extent in pixel, user or normal coordinates. Spaces between any part is allowed. Example: 100 px + 0.1 user, 0.5 normal is a RPadPos{100_px + 0.1_user, 0.5_normal}.

Definition at line 29 of file RPadPos.cxx.

◆ GetDrawable() [1/4]

template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
std::shared_ptr< RHistDrawable< DIMENSIONS > > ROOT::Experimental::GetDrawable ( const std::shared_ptr< RHist< DIMENSIONS, PRECISION, STAT... > > &  hist,
const RHistDrawingOpts< DIMENSIONS > &  opts = {} 
)

Interface to graphics taking a shared_ptr<RHist>.

Definition at line 117 of file RHistDrawable.hxx.

◆ GetDrawable() [2/4]

template<class... ARGS>
std::shared_ptr< RPadDrawable > ROOT::Experimental::GetDrawable ( const std::shared_ptr< RPad > &  pad,
ARGS...  args 
)
inline

Definition at line 307 of file RPad.hxx.

◆ GetDrawable() [3/4]

template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
std::shared_ptr< RHistDrawable< DIMENSIONS > > ROOT::Experimental::GetDrawable ( std::unique_ptr< RHist< DIMENSIONS, PRECISION, STAT... > > &&  hist,
const RHistDrawingOpts< DIMENSIONS > &  opts = {} 
)

Interface to graphics taking a unique_ptr<RHist>.

Definition at line 126 of file RHistDrawable.hxx.

◆ GetDrawable() [4/4]

template<class... ARGS>
std::shared_ptr< RPadDrawable > ROOT::Experimental::GetDrawable ( std::unique_ptr< RPad > &&  pad,
ARGS...  args 
)
inline

Definition at line 301 of file RPad.hxx.

◆ HistFromImpl() [1/2]

template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
class RHist< DIMENSIONS, PRECISION, STAT... > ROOT::Experimental::HistFromImpl ( std::unique_ptr< typename RHist< DIMENSIONS, PRECISION, STAT... >::ImplBase_t >  pHistImpl)

Adopt an external, stand-alone RHistImpl. The RHist will take ownership.

Definition at line 273 of file RHist.hxx.

◆ HistFromImpl() [2/2]

template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
RHist< DIMENSIONS, PRECISION, STAT... > ROOT::Experimental::HistFromImpl ( std::unique_ptr< typename RHist< DIMENSIONS, PRECISION, STAT... >::ImplBase_t >  pHistImpl)

Adopt an external, stand-alone RHistImpl. The RHist will take ownership.

Definition at line 273 of file RHist.hxx.

◆ kInvalidClusterIndex()

constexpr ClusterSize_t ROOT::Experimental::kInvalidClusterIndex ( std::uint32_t(-1)  )
constexpr

◆ MakeNTupleDataFrame()

RDataFrame ROOT::Experimental::MakeNTupleDataFrame ( std::string_view  ntupleName,
std::string_view  fileName 
)

Definition at line 123 of file RNTupleDS.cxx.

◆ operator!=()

i != j

Definition at line 287 of file RAxis.hxx.

◆ operator""_normal() [1/2]

RPadLength::Normal ROOT::Experimental::operator""_normal ( long double  val)
inline

User-defined literal for RPadLength::Normal

Use as

using namespace ROOT::Experimental;
RLine(0.1_normal, 0.0_normal, RLineExtent(0.2_normal, 0.5_normal));

Definition at line 174 of file RPadLength.hxx.

◆ operator""_normal() [2/2]

RPadLength::Normal ROOT::Experimental::operator""_normal ( unsigned long long int  val)
inline

Definition at line 178 of file RPadLength.hxx.

◆ operator""_px() [1/2]

RPadLength::Pixel ROOT::Experimental::operator""_px ( long double  val)
inline

User-defined literal for RPadLength::Pixel

Use as

using namespace ROOT::Experimental;
RLine(100_px, 0_px, RLineExtent(20_px, 50_px));

Definition at line 190 of file RPadLength.hxx.

◆ operator""_px() [2/2]

RPadLength::Pixel ROOT::Experimental::operator""_px ( unsigned long long int  val)
inline

Definition at line 194 of file RPadLength.hxx.

◆ operator""_user() [1/2]

RPadLength::User ROOT::Experimental::operator""_user ( long double  val)
inline

User-defined literal for RPadLength::User

Use as

using namespace ROOT::Experimental;
RLine(0.1_user, 0.0_user, RLineExtent(0.2_user, 0.5_user));

Definition at line 206 of file RPadLength.hxx.

◆ operator""_user() [2/2]

RPadLength::User ROOT::Experimental::operator""_user ( unsigned long long int  val)
inline

Definition at line 210 of file RPadLength.hxx.

◆ operator<()

bool ROOT::Experimental::operator< ( RAxisBase::const_iterator  lhs,
RAxisBase::const_iterator  rhs 
)
inlinenoexcept

i < j

Definition at line 257 of file RAxis.hxx.

◆ operator<=()

bool ROOT::Experimental::operator<= ( RAxisBase::const_iterator  lhs,
RAxisBase::const_iterator  rhs 
)
inlinenoexcept

i <= j

Definition at line 269 of file RAxis.hxx.

◆ operator==() [1/2]

bool ROOT::Experimental::operator== ( const RAxisEquidistant lhs,
const RAxisEquidistant rhs 
)
inlinenoexcept

Equality-compare two RAxisEquidistant.

Definition at line 513 of file RAxis.hxx.

◆ operator==() [2/2]

bool ROOT::Experimental::operator== ( RAxisBase::const_iterator  lhs,
RAxisBase::const_iterator  rhs 
)
inlinenoexcept

i == j

Definition at line 281 of file RAxis.hxx.

◆ operator>()

bool ROOT::Experimental::operator> ( RAxisBase::const_iterator  lhs,
RAxisBase::const_iterator  rhs 
)
inlinenoexcept

i > j

Definition at line 263 of file RAxis.hxx.

◆ operator>=()

bool ROOT::Experimental::operator>= ( RAxisBase::const_iterator  lhs,
RAxisBase::const_iterator  rhs 
)
inlinenoexcept

i >= j

Definition at line 275 of file RAxis.hxx.

◆ swap()

template<int DIMENSIONS, class PRECISION , template< int D_, class P_ > class... STAT>
void ROOT::Experimental::swap ( RHist< DIMENSIONS, PRECISION, STAT... > &  a,
RHist< DIMENSIONS, PRECISION, STAT... > &  b 
)
noexcept

Swap two histograms.

Very efficient; swaps the fImpl pointers.

Definition at line 191 of file RHist.hxx.

◆ ToAttributeString() [1/17]

std::string ROOT::Experimental::ToAttributeString ( char  val)

◆ ToAttributeString() [2/17]

std::string ROOT::Experimental::ToAttributeString ( const RColor val)

Return a std::string representation of a RColor, suitable as input to ColorFromString().

Parameters
val- the color to be "stringified".

Definition at line 144 of file RColor.cxx.

◆ ToAttributeString() [3/17]

std::string ROOT::Experimental::ToAttributeString ( const RPadExtent extent)

Convert a RPadExtent to a style string, matching what ExtentFromString can parse.

Definition at line 39 of file RPadExtent.cxx.

◆ ToAttributeString() [4/17]

std::string ROOT::Experimental::ToAttributeString ( const RPadLength len)

Definition at line 207 of file RPadLength.cxx.

◆ ToAttributeString() [5/17]

std::string ROOT::Experimental::ToAttributeString ( const RPadPos pos)

Convert a RPadPos to a std::string, suitable for PosFromString().

Convert a RPadPos to a style string, matching what PosFromString can parse.

Definition at line 39 of file RPadPos.cxx.

◆ ToAttributeString() [6/17]

std::string ROOT::Experimental::ToAttributeString ( double  val)

Definition at line 114 of file RDrawingAttr.cxx.

◆ ToAttributeString() [7/17]

template<typename ENUM , class = typename std::enable_if<std::is_enum<ENUM>::value>::type>
std::string ROOT::Experimental::ToAttributeString ( ENUM  val)

Stringify an enum value through its integer representation.

Definition at line 68 of file RDrawingAttr.hxx.

◆ ToAttributeString() [8/17]

std::string ROOT::Experimental::ToAttributeString ( float  val)

Definition at line 109 of file RDrawingAttr.cxx.

◆ ToAttributeString() [9/17]

std::string ROOT::Experimental::ToAttributeString ( int  val)

Definition at line 119 of file RDrawingAttr.cxx.

◆ ToAttributeString() [10/17]

std::string ROOT::Experimental::ToAttributeString ( long long  val)

◆ ToAttributeString() [11/17]

std::string ROOT::Experimental::ToAttributeString ( long  val)

◆ ToAttributeString() [12/17]

std::string ROOT::Experimental::ToAttributeString ( short  val)

◆ ToAttributeString() [13/17]

std::string ROOT::Experimental::ToAttributeString ( unsigned char  val)

◆ ToAttributeString() [14/17]

std::string ROOT::Experimental::ToAttributeString ( unsigned int  val)

◆ ToAttributeString() [15/17]

std::string ROOT::Experimental::ToAttributeString ( unsigned long long  val)

◆ ToAttributeString() [16/17]

std::string ROOT::Experimental::ToAttributeString ( unsigned long  val)

◆ ToAttributeString() [17/17]

std::string ROOT::Experimental::ToAttributeString ( unsigned short  val)

Variable Documentation

◆ kColumnElementSizes

constexpr std::size_t ROOT::Experimental::kColumnElementSizes[]
constexpr
Initial value:
=
{0 , 4 , 1 , 8 , 4 , 2 ,
1 , 8 , 4 , 2 }

Lookup table for the element size in bytes for column types.

The array has to correspond to EColumnTypes.

Definition at line 58 of file RColumnModel.hxx.

◆ kInvalidColumnId

constexpr ColumnId_t ROOT::Experimental::kInvalidColumnId = -1
constexpr

Definition at line 62 of file RNTupleUtil.hxx.

◆ kInvalidDescriptorId

constexpr DescriptorId_t ROOT::Experimental::kInvalidDescriptorId = std::uint64_t(-1)
constexpr

Definition at line 66 of file RNTupleUtil.hxx.

◆ kInvalidNTupleIndex

constexpr NTupleSize_t ROOT::Experimental::kInvalidNTupleIndex = std::uint64_t(-1)
constexpr

Definition at line 45 of file RNTupleUtil.hxx.