23 if (
version ==
"OAE_1103l_071212") {
27 }
else if (
version ==
"PolyFit2D") {
31 }
else if (
version ==
"PolyFit3D") {
33 throw cms::Exception(
"InvalidParameter") <<
"PolyFit3D is not supported anymore";
34 }
else if (
version ==
"Parabolic") {
43 return std::unique_ptr<MagneticField>(
nullptr);
53 }
else if (
version ==
"OAE_1103l_071212") {
59 }
else if (
version ==
"PolyFit2D") {
65 }
else if (
version ==
"PolyFit3D") {
67 throw cms::Exception(
"InvalidParameter") <<
"PolyFit3D is not supported anymore";
68 }
else if (
version ==
"Parabolic") {
76 return std::unique_ptr<MagneticField>(
nullptr);