test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParametrizedMagneticFieldFactory.h
Go to the documentation of this file.
1 #ifndef ParametrizedMagneticFieldFactory_h
2 #define ParametrizedMagneticFieldFactory_h
3 
13 #include <vector>
14 #include <string>
15 #include <memory>
16 
17 namespace edm{
18  class ParameterSet;
19 }
20 
21 namespace magneticfield{
25 }
26 
28  public:
31 
32  private:
36 
37  // Get map configured from pset (deprecated)
38  std::auto_ptr<MagneticField>
39  static get(std::string version, const edm::ParameterSet& parameters);
40 
41  // Get map configured from type name and numerical parameters
42  std::auto_ptr<MagneticField>
43  static get(std::string version, std::vector<double> parameters);
44 
45 };
46 #endif
47