23 #include <boost/algorithm/string/split.hpp> 24 #include <boost/algorithm/string/classification.hpp> 25 #include <boost/lexical_cast.hpp> 30 VolumeBasedMagneticFieldESProducer::VolumeBasedMagneticFieldESProducer(
const edm::ParameterSet& iConfig) :
pset(iConfig)
46 iRecord.
get(
"magfield",cpv );
52 if (!conf.keys.empty()) {
57 if (!conf.gridFiles.empty()) {
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< MagneticField > produce(const IdealMagneticFieldRecord &iRecord)
std::vector< MagBLayer * > barrelLayers() const
Get barrel layers.
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::vector< MagVolume6Faces * > barrelVolumes() const
virtual void build(const DDCompactView &cpv)
void get(HolderT &iHolder) const
std::vector< MagESector * > endcapSectors() const
Get endcap layers.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void setScaling(const std::vector< int > &keys, const std::vector< double > &values)
std::vector< MagVolume6Faces * > endcapVolumes() const
T const * product() const
void setGridFiles(const magneticfield::TableFileMap &gridFiles)