MagneticField
UniformEngine
plugins
UniformMagneticFieldESProducer.h
Go to the documentation of this file.
1
#ifndef UniformMagneticFieldESProducer_h
2
#define UniformMagneticFieldESProducer_h
3
11
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
12
#include "
FWCore/Framework/interface/ESProducer.h
"
13
14
#include "
MagneticField/Engine/interface/MagneticField.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
class
IdealMagneticFieldRecord
;
18
19
namespace
magneticfield
{
20
class
UniformMagneticFieldESProducer
:
public
edm::ESProducer
{
21
public
:
22
UniformMagneticFieldESProducer
(
const
edm::ParameterSet
&
pset
);
23
24
std::unique_ptr<MagneticField>
produce
(
const
IdealMagneticFieldRecord
&);
25
26
private
:
27
// forbid copy ctor and assignment op.
28
UniformMagneticFieldESProducer
(
const
UniformMagneticFieldESProducer
&) =
delete
;
29
const
UniformMagneticFieldESProducer
&
operator=
(
const
UniformMagneticFieldESProducer
&) =
delete
;
30
31
float
value
;
32
};
33
}
// namespace magneticfield
34
35
#endif
magneticfield::UniformMagneticFieldESProducer
Definition:
UniformMagneticFieldESProducer.h:20
magneticfield
Definition:
MagFieldConfig.h:22
ESProducer.h
magneticfield::UniformMagneticFieldESProducer::value
float value
Definition:
UniformMagneticFieldESProducer.h:31
magneticfield::UniformMagneticFieldESProducer::operator=
const UniformMagneticFieldESProducer & operator=(const UniformMagneticFieldESProducer &)=delete
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
magneticfield::UniformMagneticFieldESProducer::produce
std::unique_ptr< MagneticField > produce(const IdealMagneticFieldRecord &)
Definition:
UniformMagneticFieldESProducer.cc:20
magneticfield::UniformMagneticFieldESProducer::UniformMagneticFieldESProducer
UniformMagneticFieldESProducer(const edm::ParameterSet &pset)
Definition:
UniformMagneticFieldESProducer.cc:15
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
MagneticField.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
Generated for CMSSW Reference Manual by
1.8.16