CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MagFieldConfig.h
Go to the documentation of this file.
1 #ifndef MagFieldConfig_h
2 #define MagFieldConfig_h
3 
13 
14 #include <string>
15 #include <vector>
16 #include <map>
17 
18 namespace edm {
19  class ParameterSet;
20 }
21 
22 namespace magneticfield {
23  typedef std::map<int, std::pair<std::string, int> > TableFileMap;
24 }
25 
27 public:
29 
31  MagFieldConfig(const edm::ParameterSet& pset, bool debug = false);
32 
33  // Operations
34 public:
35  std::vector<unsigned> expandList(const std::string& list);
36 
39 
42 
45 
47  std::vector<int> keys;
48  std::vector<double> values;
49 
52 
56  std::vector<double> slaveFieldParameters;
57 
59 };
60 #endif
std::vector< double > values
magneticfield::TableFileMap gridFiles
Specification of which data table is to be used for each volume.
std::string slaveFieldVersion
Label or type of the tracker parametrization.
std::vector< int > keys
Scaling factors for the field in specific volumes.
#define debug
Definition: HDRShower.cc:19
std::string version
Version of the data tables to be used.
#define COND_SERIALIZABLE
Definition: Serializable.h:39
int geometryVersion
Version of the geometry to be used.
std::map< int, std::pair< std::string, int > > TableFileMap
std::vector< unsigned > expandList(const std::string &list)
std::vector< double > slaveFieldParameters