From 0c54f5473befab79de1ba1d5074b75d4b4569c13 Mon Sep 17 00:00:00 2001 From: Gene Van Buren Date: Fri, 13 Oct 2023 01:53:52 -0400 Subject: [PATCH] Change from int to StarMagField::EBField type --- StRoot/StBFChain/StBFChain.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StRoot/StBFChain/StBFChain.cxx b/StRoot/StBFChain/StBFChain.cxx index 008f2509850..2ad61649dd6 100644 --- a/StRoot/StBFChain/StBFChain.cxx +++ b/StRoot/StBFChain/StBFChain.cxx @@ -1918,7 +1918,7 @@ void StBFChain::SetDbOptions(StMaker *mk){ << "\",\"MagFactor\")" << endm; if ( gClassTable->GetID("StarMagField") >= 0) { TString cmd = - Form("if (!StarMagField::Instance()) new StarMagField( 2, %f, kTRUE);", + Form("if (!StarMagField::Instance()) new StarMagField( StarMagField::EBField::kMapped, %f, kTRUE);", FieldOptions[k].scale); ProcessLine(cmd); }