test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParametrizedMagneticFieldProducer.cc
Go to the documentation of this file.
1 
8 
10 
14 
15 #include <string>
16 #include <iostream>
17 
18 using namespace std;
19 using namespace edm;
20 using namespace magneticfield;
21 
22 
25 }
26 
27 
29 
30 
31 std::auto_ptr<MagneticField>
33 {
34  string version = pset.getParameter<string>("version");
36 
37  return ParametrizedMagneticFieldFactory::get(version, parameters);
38 }
39 
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
static std::auto_ptr< MagneticField > get(std::string version, const edm::ParameterSet &parameters)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
std::auto_ptr< MagneticField > produce(const IdealMagneticFieldRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60