Fixes to cut bookkeeping in master
This MR contains various fixes with cut bookkeeping in master:
- Rename default BookkeeperTool instance to 'BookkeeperTool' (helps with MP).
- Do not flush the in-memory cache on file transition, only on
MetaDataStop
. - Make sure input systematic variations are also copied over.
- Make sure
IncompleteCutBookkeepers
are always written out for nominal variation, even if empty (simplifies analysis usage). - Tests default to two input files to test file transitions.
- Add a test with shared writer.
- Fix BookkeeperDumperTool to also print sum of squares of weights.
After this MR I get the same output running serial, with MT or MP with shared writer on multiple files.
/cc @tsulaia (for general metadata), @lheinric + @alister (for AMG), @jcatmore (for derivations), @gemmeren + @amete (for shared writer)