From a3f0b6f66bb10d7ebbd04070405858496f5f78a7 Mon Sep 17 00:00:00 2001 From: Javier Galan Date: Fri, 25 Mar 2022 21:58:11 +0100 Subject: [PATCH] Update TRestRun.cxx --- source/framework/core/src/TRestRun.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/framework/core/src/TRestRun.cxx b/source/framework/core/src/TRestRun.cxx index 688656beb..6aee7e41d 100644 --- a/source/framework/core/src/TRestRun.cxx +++ b/source/framework/core/src/TRestRun.cxx @@ -41,7 +41,7 @@ TRestRun::TRestRun() { Initialize(); } TRestRun::TRestRun(string filename) { if (filename.find(".root") == string::npos) { Initialize(); - OpenInputFile(rootfilename); + OpenInputFile(filename); } else if (filename.find(".rml") == string::npos) { Initialize(); LoadConfigFromFile(filename);