|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Where the active dataset lives, and where its output goes. More...
#include <Paths.hpp>
Static Public Member Functions | |
| static TString | DatasetDir () |
| Absolute path to the active dataset directory, analysis/<iso>. | |
| static TString | DatasetName () |
| The dataset's isotope name, e.g. | |
| static TString | ResultsDir () |
| Absolute path to the directory receiving generated output. | |
| static void | PrintLogo () |
| Print the project wordmark. | |
Where the active dataset lives, and where its output goes.
The two are deliberately different kinds of value. The dataset directory is baked in at build time, because a binary belongs to exactly one dataset. The results directory is read at run time, because where processed output lands is a per-machine deployment choice that should be redirectable without a rebuild.
|
static |
Absolute path to the active dataset directory, analysis/<iso>.
Read from MUSIC_DATASET_DIR, baked in at build time by the Makefile.
Definition at line 60 of file Paths.cpp.
Referenced by RemixSim::ControlDir(), ResultsDir(), CalibrateBeam::Run(), Pipeline::Run(), BeamEnergies::SimPath(), RemixSim::SimRootPath(), and WriteEresTomlRaw().
|
static |
The dataset's isotope name, e.g.
"37Cl".
Definition at line 22 of file Paths.cpp.
Referenced by RemixSim::TagFromControlFile(), and RemixSim::TracesName().
|
static |
Print the project wordmark.
Public so it can run ahead of the lazy banner that DatasetDir() prints, so that a log opens with the project name rather than with a GPU probe.
Definition at line 31 of file Paths.cpp.
Referenced by Pipeline::Run().
|
static |
Absolute path to the directory receiving generated output.
Covers root_files and plots. Read at run time from MUSIC_RESULTS_DIR, falling back to DatasetDir() when unset — so the default writes output in-repo.
Definition at line 24 of file Paths.cpp.
Referenced by RegionCutStore::Dir(), main(), TagEfficiencyStore::Path(), CalibrateBeam::Run(), Pipeline::Run(), and StripSumScatter::Run().