CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/MagneticField/ParametrizedEngine/plugins/ParametrizedMagneticFieldProducer.h

Go to the documentation of this file.
00001 #ifndef ParametrizedMagneticFieldProducer_h
00002 #define ParametrizedMagneticFieldProducer_h
00003 
00013 #include "FWCore/Framework/interface/ESProducer.h"
00014 
00015 #include "MagneticField/Engine/interface/MagneticField.h"
00016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00017 
00018 class IdealMagneticFieldRecord;
00019 
00020 namespace magneticfield {
00021   class ParametrizedMagneticFieldProducer : public edm::ESProducer
00022   {
00023   public:
00024     ParametrizedMagneticFieldProducer(const edm::ParameterSet&);
00025     ~ParametrizedMagneticFieldProducer();
00026     
00027     std::auto_ptr<MagneticField> produce(const IdealMagneticFieldRecord&);
00028     edm::ParameterSet pset;
00029   };
00030 }
00031 
00032 #endif