CMS 3D CMS Logo

ParametrizedMagneticFieldProducer.cc
Go to the documentation of this file.
1 
8 
10 
14 
15 #include <string>
16 #include <iostream>
17 
18 using namespace std;
19 using namespace edm;
20 using namespace magneticfield;
21 
24 }
25 
27 
28 std::unique_ptr<MagneticField> ParametrizedMagneticFieldProducer::produce(const IdealMagneticFieldRecord& iRecord) {
29  string version = pset.getParameter<string>("version");
31 
33 }
34 
BeamSpotPI::parameters
parameters
Definition: BeamSpotPayloadInspectorHelper.h:30
magneticfield::ParametrizedMagneticFieldProducer::pset
edm::ParameterSet pset
Definition: ParametrizedMagneticFieldProducer.h:25
ParametrizedMagneticFieldFactory::get
static std::unique_ptr< MagneticField > get(std::string version, const edm::ParameterSet &parameters)
ESHandle.h
edm
HLT enums.
Definition: AlignableModifier.h:19
magneticfield::ParametrizedMagneticFieldProducer::~ParametrizedMagneticFieldProducer
~ParametrizedMagneticFieldProducer() override
Definition: ParametrizedMagneticFieldProducer.cc:26
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
magneticfield
Definition: MagFieldConfig.h:22
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
magneticfield::ParametrizedMagneticFieldProducer
Definition: ParametrizedMagneticFieldProducer.h:19
IdealMagneticFieldRecord.h
edm::ParameterSet
Definition: ParameterSet.h:47
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ModuleFactory.h
std
Definition: JetResolutionObject.h:76
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
ParametrizedMagneticFieldProducer.h
volumeBasedMagneticField_160812_cfi.ParametrizedMagneticFieldProducer
ParametrizedMagneticFieldProducer
Definition: volumeBasedMagneticField_160812_cfi.py:25
EventSetup.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ParameterSet.h
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
magneticfield::ParametrizedMagneticFieldProducer::produce
std::unique_ptr< MagneticField > produce(const IdealMagneticFieldRecord &)
Definition: ParametrizedMagneticFieldProducer.cc:28
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
ParametrizedMagneticFieldFactory.h