145 static Long64_t
SampleStride(Long64_t n_total, Long64_t max_points);
std::mutex g_plot_mutex
Serialises all plotting and canvas work.
std::mutex g_log_mutex
Serialises multi-line progress logging from worker threads.
Discovering input files and naming the artefacts derived from them.
static TString EventsName(const FileSpec &s)
Filename of the built-events ROOT file for a subfile.
static std::vector< FileSpec > BuildFileSpecs()
Every raw input subfile for the configured runs.
static std::vector< TString > DiscoverSolRunSuffixes(Int_t run)
Subfile suffixes present on disk for a SOLARIS run.
static GateGroups GroupEventsForGating()
Build the gate groups; see GateGroups.
static TString FileLabel(const FileSpec &s)
Human-readable label identifying a subfile.
static TString CompassBinPath(const FileSpec &s)
Path to a CoMPASS binary subfile.
static std::vector< FileSpec > BuildRawOrProcessedFileSpecs()
The union of raw and processed subfiles, without duplicates.
static FileSpec ResolveFileSpec(const TString &file_label)
Recover the FileSpec behind a label from FileLabel().
static TString SolBinPath(const FileSpec &s)
Path to a SOLARIS .sol subfile.
static std::vector< FileSpec > BuildProcessedFileSpecs()
Every subfile that already has processed output.
static std::vector< TString > DiscoverRunSuffixes(Int_t run)
Subfile suffixes present on disk for a CoMPASS run.
static Long64_t SampleStride(Long64_t n_total, Long64_t max_points)
Stride that visits at most max_points of n_total entries.
static std::vector< TString > DiscoverProcessedRunSuffixes(Int_t run)
Subfile suffixes for which processed output already exists.
The events files grouped into the units the beam gates are fitted on.
std::map< Int_t, TChain * > chain
Chain per key. Caller owns..
std::map< TString, Int_t > key_of
Group key per EventsName().
std::map< Int_t, TString > label
Label per key, for logs and plots.
std::vector< Int_t > order
Group keys in processing order.
One input file: a run number and the subfile suffix within it.
TString suffix
Subfile suffix, empty for the first subfile.