CMS 3D CMS Logo

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