Skip to content

Standalone analysis test application

Bruce Joseph Gallop requested to merge devel_analysis_test into devel

This includes various other merge requests/branches that should be discussed/merged first.

The idea is that analysis and histogramming don't need access to the hardware, and hence both the HwController, Bookkeeper.

Once that's done though, it's relatively easy to make an application that loads in histograms generated by the HistogramArchiver analysis algorithm and loads them back in as histogram inputs to the analysis processors.

Usage is basically:

bin/analysis_test -c $FE_CONFIG_JSON -s $SCAN_JSON -y $FE_TYPE $LIST_OF_HISTOGRAM_JSON

I've only vaguely tested with one scan type with emulated data, so probably many bugs. Note that it only processes one front end at a time. This is partly due to trying to not use Bookkeeper, but also makes processing simpler.

The question is is this a useful direction. Other things that should be in smaller merge requests:

  • ScanLoopInfo class holds non-hardware related information about the scan loop. (now merged)
  • LoopActionBaseInfo class is similar for LoopActionBase. (now merged)
  • Using above in analyses (and making const), so clearer what can be used where.
  • Loading histograms, previously known as "HistoFromDisk", but code updated and moved to HistogramBase.cpp. (see !700 (merged))

Now added (brief) documentation.

Edited by Bruce Joseph Gallop

Merge request reports