Celeritas 0.6.0-129+develop.846910afa
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::RootExporter Class Reference

Write an ImportData object to a ROOT file. More...

#include <RootExporter.hh>

Public Member Functions

 RootExporter (char const *filename)
 Construct from path to ROOT file.
 
void operator() (ImportData const &data)
 Write data to the ROOT file.
 

Detailed Description

Write an ImportData object to a ROOT file.

RootExporter export("/path/to/root_file.root");
export(my_import_data);
Write an ImportData object to a ROOT file.
Definition RootExporter.hh:32

Member Function Documentation

◆ operator()()

void celeritas::RootExporter::operator() ( ImportData const import_data)
inline

Write data to the ROOT file.

Splitting is prevented in order to reduce the file size. The default buffer size (32 KB) is used.


The documentation for this class was generated from the following files: