|
Analysis-Utilities 26.9.9
C++/ROOT utilities for nuclear measurement data analysis
|
Initialization and file conversion utilities.
SetROOTPreferences(save_format, plots_dir, root_files_dir, enable_mt = kTRUE) — configure the ROOT environment, set the plot output base via PlottingUtils::SetPlotsBaseDir, and set the ROOT-files I/O base via IO::SetRootFilesBaseDir. With enable_mt (the default) it also calls IO::SetThreadSafe() and detaches new histograms from gDirectory (TH1::AddDirectory(kFALSE)), so parallel file processing is safe.
Path-aware ROOT file open helpers. Subpaths resolve against the base directory configured via IO::SetRootFilesBaseDir (or InitUtils::SetROOTPreferences); absolute paths pass through untouched. All filesystem operations use gSystem (no std::filesystem).