#include <UniformMagneticFieldESProducer.h>
Public Member Functions | |
std::auto_ptr< MagneticField > | produce (const IdealMagneticFieldRecord &) |
UniformMagneticFieldESProducer (const edm::ParameterSet &pset) | |
Private Member Functions | |
const UniformMagneticFieldESProducer & | operator= (const UniformMagneticFieldESProducer &) |
UniformMagneticFieldESProducer (const UniformMagneticFieldESProducer &) | |
Private Attributes | |
float | value |
Definition at line 22 of file UniformMagneticFieldESProducer.h.
UniformMagneticFieldESProducer::UniformMagneticFieldESProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 17 of file UniformMagneticFieldESProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), and edm::ESProducer::setWhatProduced().
: value(pset.getParameter<double>("ZFieldInTesla")) { setWhatProduced(this, pset.getUntrackedParameter<std::string>("label","")); }
magneticfield::UniformMagneticFieldESProducer::UniformMagneticFieldESProducer | ( | const UniformMagneticFieldESProducer & | ) | [private] |
const UniformMagneticFieldESProducer& magneticfield::UniformMagneticFieldESProducer::operator= | ( | const UniformMagneticFieldESProducer & | ) | [private] |
std::auto_ptr< MagneticField > UniformMagneticFieldESProducer::produce | ( | const IdealMagneticFieldRecord & | iRecord | ) |
Definition at line 22 of file UniformMagneticFieldESProducer.cc.
References alignCSCRings::s, and value.
{ std::auto_ptr<MagneticField> s(new UniformMagneticField(value)); return s; }
float magneticfield::UniformMagneticFieldESProducer::value [private] |
Definition at line 33 of file UniformMagneticFieldESProducer.h.
Referenced by produce().