CMS 3D CMS Logo

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
edm
HLT enums.
Definition: AlignableModifier.h:19
MagFieldConfig::gridFiles
magneticfield::TableFileMap gridFiles
Specification of which data table is to be used for each volume.
Definition: MagFieldConfig.h:44
magneticfield
Definition: MagFieldConfig.h:22
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
MagFieldConfig::version
std::string version
Version of the data tables to be used.
Definition: MagFieldConfig.h:41
MagFieldConfig::geometryVersion
int geometryVersion
Version of the geometry to be used.
Definition: MagFieldConfig.h:38
MagFieldConfig::slaveFieldParameters
std::vector< double > slaveFieldParameters
Definition: MagFieldConfig.h:56
debug
#define debug
Definition: HDRShower.cc:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
MagFieldConfig::expandList
std::vector< unsigned > expandList(const std::string &list)
Definition: MagFieldConfig.cc:76
MagFieldConfig
Definition: MagFieldConfig.h:26
Serializable.h
MagFieldConfig::keys
std::vector< int > keys
Scaling factors for the field in specific volumes.
Definition: MagFieldConfig.h:47
MagFieldConfig::MagFieldConfig
MagFieldConfig()
Definition: MagFieldConfig.h:28
MagFieldConfig::values
std::vector< double > values
Definition: MagFieldConfig.h:48
magneticfield::TableFileMap
std::map< int, std::pair< std::string, int > > TableFileMap
Definition: MagFieldConfig.h:23
ParameterSet.h
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MagFieldConfig::slaveFieldVersion
std::string slaveFieldVersion
Label or type of the tracker parametrization.
Definition: MagFieldConfig.h:51