From 4acca352076b4cff512b5e345a75a2853401b4a4 Mon Sep 17 00:00:00 2001 From: Jonas Rembser <jonas.rembser@cern.ch> Date: Sat, 21 May 2022 19:15:24 +0200 Subject: [PATCH] [RF] Use BatchMode also in RooMCStudy tests in `stressRooFit_tests` With some recent updates to the RooFit BatchMode, it can now also be activated for the RooMCStudies in `stressRooFit_tests` as the fit results are the same. --- test/stressRooFit_tests.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/stressRooFit_tests.h b/test/stressRooFit_tests.h index cd011de5b2f..f77d460e53b 100644 --- a/test/stressRooFit_tests.h +++ b/test/stressRooFit_tests.h @@ -6079,7 +6079,7 @@ public: // to speed up the study at the expemse of some precision RooMCStudy* mcstudy = new RooMCStudy(model,x,Binned(kTRUE),Silence(),Extended(), - FitOptions(Save(kTRUE),PrintEvalErrors(0))) ; + FitOptions(Save(kTRUE),PrintEvalErrors(0),BatchMode(_batchMode))) ; // G e n e r a t e a n d f i t e v e n t s @@ -6299,7 +6299,7 @@ public: // Configure manager to perform binned extended likelihood fits (Binned(),Extended()) on data generated // with a Poisson fluctuation on Nobs (Extended()) RooMCStudy* mcs = new RooMCStudy(model,mjjj,Binned(),Silence(),Extended(kTRUE), - FitOptions(Extended(kTRUE),PrintEvalErrors(-1))) ; + FitOptions(Extended(kTRUE),PrintEvalErrors(-1),BatchMode(_batchMode))) ; -- GitLab