|
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... | |
| struct | Event |
| One entry of a simulation's events_MeV tree. More... | |
Static Public Member Functions | |
| static TString | ControlDir () |
| Absolute path to the control directory, <dataset>/sim_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. | |
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>/sim_control. Each control file that writes a traces_<iso>_ output contributes one simulation to compare against.
Definition at line 24 of file RemixSim.hpp.
|
static |
Every simulation this dataset defines.
Definition at line 70 of file RemixSim.cpp.
Referenced by StripSumScatter::SimTagReport().
|
static |
Absolute path to the control directory, <dataset>/sim_control.
Definition at line 43 of file RemixSim.cpp.
Referenced by BuildFileSpecs().
|
static |
Which strip a simulated reaction occurs on.
| tag | Simulation tag. |
Definition at line 117 of file RemixSim.cpp.
Referenced by BuildFileSpecs(), StripSumScatter::SimTagReport(), and TagWithoutStrip().
|
static |
Absolute path to a simulation's ROOT file.
| s | Simulation to locate. |
Definition at line 113 of file RemixSim.cpp.
Referenced by StripSumScatter::SimTagReport().
|
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 45 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 130 of file RemixSim.cpp.
Referenced by BuildFileSpecs(), and StripSumScatter::SimTagReport().
|
static |
On-disk basename, traces_<iso>_<tag>, with no directory or extension.
| s | Simulation to name. |
Definition at line 109 of file RemixSim.cpp.
Referenced by SimRootPath().