From 03d2850a196ed43f2fad18157e2bd56ca5fe7322 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Wed, 1 Feb 2023 11:41:42 -0500 Subject: [PATCH] bfc.C: Call Load() function unconditionally (#488) See discussion in #452 https://github.com/star-bnl/star-sw/pull/452#pullrequestreview-1203814837 --- StRoot/macros/bfc.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StRoot/macros/bfc.C b/StRoot/macros/bfc.C index 5082df03028..a874bff8829 100644 --- a/StRoot/macros/bfc.C +++ b/StRoot/macros/bfc.C @@ -140,7 +140,7 @@ void bfc(Int_t First, Int_t Last, // "-" sign before requiest means that this option is disallowed // Chain = "gstar" run GEANT on flight with 10 muons in range |eta| < 1 amd pT = 1GeV/c (default) // Dynamically link some shared libs - if (gClassTable->GetID("StBFChain") < 0) Load(Chain); + Load(Chain); chain = new StBFChain(); cout << "Create chain " << chain->GetName() << endl; TString tChain(Chain); chain->cd();