52   auto eventId = 
entry->GetPtr<std::uint32_t>(
"eventId");
 
   59      auto d = 
static_cast<double>(
gen()) / generator::max();
 
   60      *
rndm = 
static_cast<float>(
d);
 
   71      std::cout << 
"Thread #" << 
id << 
" wrote events #" << 
eventIdStart << 
" - #" 
   81   std::cout << 
" === Writing with staged cluster committing ===" << std::endl;
 
   85   model->MakeField<std::uint32_t>(
"eventId");
 
   86   model->MakeField<
float>(
"rndm");
 
   98   std::vector<std::thread> 
threads;
 
  123   auto eventId = 
entry->GetPtr<std::uint32_t>(
"eventId");
 
  126   auto rndm = 
entry->GetPtr<
float>(
"rndm");
 
  131      auto d = 
static_cast<double>(
gen()) / generator::max();
 
  132      *
rndm = 
static_cast<float>(
d);
 
  170   std::cout << 
"\n === ... with sequencing in blocks of " << 
kNEventsPerBlock << 
" events ===" << std::endl;
 
  174   model->MakeField<std::uint32_t>(
"eventId");
 
  175   model->MakeField<
float>(
"rndm");
 
  188   std::vector<std::thread> 
threads;
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
static std::unique_ptr< RNTupleModel > CreateBare()
Creates a "bare model", i.e. an RNTupleModel with no default entry.
 
A writer to fill an RNTuple from multiple contexts.
 
static std::unique_ptr< RNTupleParallelWriter > Recreate(std::unique_ptr< ROOT::RNTupleModel > model, std::string_view ntupleName, std::string_view storage, const ROOT::RNTupleWriteOptions &options=ROOT::RNTupleWriteOptions())
Recreate a new file and return a writer to write an RNTuple.
 
Common user-tunable settings for storing RNTuples.
 
void SetApproxZippedClusterSize(std::size_t val)
 
void FillData(BinData &dv, const TH1 *hist, TF1 *func=nullptr)
fill the data vector from a TH1.
 
std::uint64_t NTupleSize_t
Integer type long enough to hold the maximum number of entries in a column.