Skip to content

Commit

Permalink
Change from int to StarMagField::EBField type
Browse files Browse the repository at this point in the history
  • Loading branch information
genevb committed Oct 13, 2023
1 parent 07909ba commit 0c54f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StRoot/StBFChain/StBFChain.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0c54f54

Please sign in to comment.