File indexing completed on 2024-04-06 12:22:33
0001 #ifndef ParametrizedMagneticFieldProducer_h
0002 #define ParametrizedMagneticFieldProducer_h
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "FWCore/Framework/interface/ESProducer.h"
0012
0013 #include "MagneticField/Engine/interface/MagneticField.h"
0014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0015
0016 class IdealMagneticFieldRecord;
0017
0018 namespace magneticfield {
0019 class ParametrizedMagneticFieldProducer : public edm::ESProducer {
0020 public:
0021 ParametrizedMagneticFieldProducer(const edm::ParameterSet&);
0022 ~ParametrizedMagneticFieldProducer() override;
0023
0024 std::unique_ptr<MagneticField> produce(const IdealMagneticFieldRecord&);
0025 edm::ParameterSet pset;
0026 };
0027 }
0028
0029 #endif