Go to the documentation of this file.00001 #ifndef FastSimulation_ParticlePropagator_MagneticFieldMapESProducer_H
00002 #define FastSimulation_ParticlePropagator_MagneticFieldMapESProducer_H
00003
00004 #include "FWCore/Framework/interface/ESProducer.h"
00005 #include "FastSimulation/ParticlePropagator/interface/MagneticFieldMapRecord.h"
00006 #include "FastSimulation/ParticlePropagator/interface/MagneticFieldMap.h"
00007 #include <boost/shared_ptr.hpp>
00008 #include <string>
00009
00010 class MagneticFieldMapESProducer: public edm::ESProducer{
00011 public:
00012 MagneticFieldMapESProducer(const edm::ParameterSet & p);
00013 virtual ~MagneticFieldMapESProducer();
00014 boost::shared_ptr<MagneticFieldMap> produce(const MagneticFieldMapRecord &);
00015 private:
00016 boost::shared_ptr<MagneticFieldMap> _map;
00017 std::string _label;
00018 };
00019
00020
00021 #endif
00022
00023
00024
00025