22 using namespace magneticfield;
35 std::auto_ptr<MagneticField>
41 if (version==
"OAE_85l_030919") {
45 }
else if (version==
"OAE_1103l_071212") {
49 }
else if (version==
"PolyFit2D") {
53 }
else if (version==
"PolyFit3D") {
55 throw cms::Exception(
"InvalidParameter")<<
"PolyFit3D is not supported anymore";
56 }
else if (version==
"Parabolic"){
62 return std::auto_ptr<MagneticField>(0);
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
tuple ParametrizedMagneticFieldProducer
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
~ParametrizedMagneticFieldProducer()
std::auto_ptr< MagneticField > produce(const IdealMagneticFieldRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)