24 using namespace magneticfield;
39 cout <<
"VolumeBasedMagneticFieldESProducer::produce() " <<
pset.
getParameter<std::string>(
"version") << endl;
43 iRecord.
get(
"magfield",cpv );
52 if (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.
tuple VolumeBasedMagneticFieldESProducer
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
std::vector< MagVolume6Faces * > barrelVolumes() const
std::auto_ptr< MagneticField > produce(const IdealMagneticFieldRecord &iRecord)
virtual void build(const DDCompactView &cpv)
void get(HolderT &iHolder) const
void setScaling(std::vector< int > keys, std::vector< double > values)
std::vector< MagESector * > endcapSectors() const
Get endcap layers.
T const * product() const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::vector< MagVolume6Faces * > endcapVolumes() const