Snapshot, resetting, organising and generalising reading from mapping
Request: if you add histograms to a subsystem please let me know so I can add it to the other methods.
- AIDA: Small changes to log info. Some scalers are not resetting properly
Error in <TGraphPainter::PaintGraph>: illegal number of points (0)
will investigate when I got time. - bPlast: Added some spectra for threshold reading, neatened up many plot for 1-indexing and also also so that the histogram vector sizes are determined from the mapping. Still some hard coded tidbits, which I will get rid of eventually.
- Whiterabbit: looks sexy as hell, cleaned up folders and most spectra seem to be working.
In the three subsystems below things are either hard-coded or declared a couple times over. I fixed a couple of things.
- Fatima/vme: fixed snapshotting and resetting for both modules. They were both breaking for different reasons apparently. VME made so that it inits from the mapping. Fatima still has things they are technically hard-coded from the steering macro => it will break in the future.
- Germanium: Fixed snapshotting and resetting. similar to fatima with some hard-coded tidbits which I will probably discuss with
@jelarsso
about removing, but I am happy for him to look after Ge and Fatima :). - TimeMachine: this thing is a monster, i don't understand it and it breaks at any small change. I am confident that the correct number of unique pairs for n objects is n(n-1)/2 but for some reason it doesn't accept this :trollface:. I assume that things that are declare as 20 or 20 * 19 are just this is just non-unique pairs for 5 detector subsystems 5(5-1) = 20. This will take a bit more time but ok.
Final notes:
- Might consider getting rid of time spectra altogether unless someone can justify to keep them in. They only seem to make sense for online.
- I am looking for recommendations for the snapshotting method - either we dump the objects to lustre or the analysis PC, I am scared it might get too full -- or we use a 1 TB SSD.
- FRS spectra snapshots and resetting & beam monitor snap and reset.
- The TSubsystemConfiguration classes are awesome, thanks
@cej25.
Hopefully we can make the code depend only on mapping files soon™️ . - More bPlast spectra and renaming spectra of subsystems so the online looks cleaner :)