From 94c18c67e7b7b6ebf193436f255de4b2a1a1b78e Mon Sep 17 00:00:00 2001 From: Birgit Stapf Date: Wed, 16 Oct 2024 10:33:27 +0200 Subject: [PATCH] fix writing sow to output tree --- python/run_fccanalysis.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/run_fccanalysis.py b/python/run_fccanalysis.py index b3139bae89..97dd0d73ac 100644 --- a/python/run_fccanalysis.py +++ b/python/run_fccanalysis.py @@ -632,6 +632,7 @@ def run_local(config: dict[str, any], param_sow = ROOT.TParameter(float)( 'SumOfWeights', sow_orig if sow_orig != 0 else in_sow ) + param_sow.Write() param_sow = ROOT.TParameter(float)('SumOfWeightsSelected', out_sow) # No of weighted, selected events param_sow.Write() outfile.Write()