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
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< MagneticField > produce(const IdealMagneticFieldRecord &iRecord)
std::vector< MagBLayer * > barrelLayers() const
Get barrel layers.
std::vector< MagVolume6Faces * > barrelVolumes() const
virtual void build(const DDCompactView &cpv)
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
bool get(HolderT &iHolder) const
void setGridFiles(const magneticfield::TableFileMap &gridFiles)