Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Internal::RDF::RBranchData::FundamentalType Struct Reference

Stores variations of a fundamental type.

The bytes hold anything up to double or 64-bit numbers, and are cleared for every event. This allows for binding the branches directly to these bytes.

Definition at line 106 of file SnapshotHelpers.hxx.

Public Member Functions

 FundamentalType (unsigned short size)
 

Public Attributes

std::array< std::byte, fNBytesfBytes {std::byte{0}}
 
unsigned short fSize = 0
 

Static Public Attributes

static constexpr std::size_t fNBytes = 8
 

#include <ROOT/RDF/SnapshotHelpers.hxx>

Constructor & Destructor Documentation

◆ FundamentalType()

ROOT::Internal::RDF::RBranchData::FundamentalType::FundamentalType ( unsigned short size)
inline

Definition at line 110 of file SnapshotHelpers.hxx.

Member Data Documentation

◆ fBytes

std::array<std::byte, fNBytes> ROOT::Internal::RDF::RBranchData::FundamentalType::fBytes {std::byte{0}}

Definition at line 108 of file SnapshotHelpers.hxx.

◆ fNBytes

constexpr std::size_t ROOT::Internal::RDF::RBranchData::FundamentalType::fNBytes = 8
staticconstexpr

Definition at line 107 of file SnapshotHelpers.hxx.

◆ fSize

unsigned short ROOT::Internal::RDF::RBranchData::FundamentalType::fSize = 0

Definition at line 109 of file SnapshotHelpers.hxx.

Collaboration diagram for ROOT::Internal::RDF::RBranchData::FundamentalType:
[legend]

The documentation for this struct was generated from the following file: