|
MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
|
Locating and naming the simulated data for a dataset's reactions. More...
#include <RemixSim.hpp>
Classes | |
| struct | SimFileSpec |
| One simulated dataset, identified by its tag. More... | |
Static Public Member Functions | |
| static TString | ControlDir () |
| Absolute path to the control directory, <dataset>/control. | |
| static TString | TagFromControlFile (const TString &filepath) |
| Extract the simulation tag from a control file. | |
| static std::vector< SimFileSpec > | BuildFileSpecs () |
| Every simulation this dataset defines. | |
| static TString | TracesName (const SimFileSpec &s) |
| On-disk basename, traces_<iso>_<tag>, with no directory or extension. | |
| static TString | SimRootPath (const SimFileSpec &s) |
| Absolute path to a simulation's ROOT file. | |
| static Int_t | ReactionStripOf (const TString &tag) |
| Which strip a simulated reaction occurs on. | |
| static TString | TagWithoutStrip (const TString &tag) |
| The tag with any trailing _s<N> reaction-strip token removed. | |
| static Bool_t | IsEresTag (const TString &tag) |
| Whether a tag denotes an energy-resolution simulation. | |
Locating and naming the simulated data for a dataset's reactions.
Simulations come from Remix-MUSIC-Sim, driven by the TOML control files in <dataset>/control. Each control file that writes a traces_<iso>_ output contributes one simulation to compare against.
Definition at line 22 of file RemixSim.hpp.
|
static |
Every simulation this dataset defines.
Definition at line 35 of file RemixSim.cpp.
|
static |
Absolute path to the control directory, <dataset>/control.
Definition at line 8 of file RemixSim.cpp.
Referenced by BuildFileSpecs().
|
static |
Whether a tag denotes an energy-resolution simulation.
| tag | Simulation tag. |
Definition at line 91 of file RemixSim.cpp.
|
static |
Which strip a simulated reaction occurs on.
| tag | Simulation tag. |
Definition at line 71 of file RemixSim.cpp.
Referenced by TagWithoutStrip().
|
static |
Absolute path to a simulation's ROOT file.
| s | Simulation to locate. |
Definition at line 67 of file RemixSim.cpp.
|
static |
Extract the simulation tag from a control file.
Reads the output = ".../traces_<iso>_<tag>.root" line.
| filepath | Control file to read. |
Definition at line 10 of file RemixSim.cpp.
Referenced by BuildFileSpecs().
|
static |
The tag with any trailing _s<N> reaction-strip token removed.
| tag | Simulation tag; one without a suffix passes through unchanged. |
Definition at line 84 of file RemixSim.cpp.
Referenced by IsEresTag().
|
static |
On-disk basename, traces_<iso>_<tag>, with no directory or extension.
| s | Simulation to name. |
Definition at line 63 of file RemixSim.cpp.
Referenced by SimRootPath().