23 #include <boost/algorithm/string/split.hpp>
24 #include <boost/algorithm/string/classification.hpp>
25 #include <boost/lexical_cast.hpp>
28 using namespace magneticfield;
46 iRecord.
get(
"magfield",cpv );
52 if (conf.
keys.size() != 0) {
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< MagBLayer * > barrelLayers() const
Get barrel layers.
std::vector< double > values
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
magneticfield::TableFileMap gridFiles
Specification of which data table is to be used for each volume.
std::vector< MagVolume6Faces * > barrelVolumes() const
std::auto_ptr< MagneticField > produce(const IdealMagneticFieldRecord &iRecord)
virtual void build(const DDCompactView &cpv)
void get(HolderT &iHolder) const
std::vector< MagESector * > endcapSectors() const
Get endcap layers.
std::vector< int > keys
Scaling factors for the field in specific volumes.
std::string version
Version of the data tables to be used.
T const * product() const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setScaling(const std::vector< int > &keys, const std::vector< double > &values)
std::vector< MagVolume6Faces * > endcapVolumes() const
int geometryVersion
Version of the geometry to be used.
tuple VolumeBasedMagneticFieldESProducer
void setGridFiles(const magneticfield::TableFileMap &gridFiles)