Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
MagneticField
UniformEngine
plugins
UniformMagneticFieldESProducer.h
Go to the documentation of this file.
1
#ifndef UniformMagneticFieldESProducer_h
2
#define UniformMagneticFieldESProducer_h
3
13
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
14
#include "
FWCore/Framework/interface/ESProducer.h
"
15
16
#include "
MagneticField/Engine/interface/MagneticField.h
"
17
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
18
19
class
IdealMagneticFieldRecord
;
20
21
namespace
magneticfield {
22
class
UniformMagneticFieldESProducer
:
public
edm::ESProducer
{
23
public
:
24
UniformMagneticFieldESProducer
(
const
edm::ParameterSet
& pset);
25
26
std::auto_ptr<MagneticField>
produce
(
const
IdealMagneticFieldRecord
&);
27
28
private
:
29
// forbid copy ctor and assignment op.
30
UniformMagneticFieldESProducer
(
const
UniformMagneticFieldESProducer
&);
31
const
UniformMagneticFieldESProducer
&
operator=
(
const
UniformMagneticFieldESProducer
&);
32
33
float
value
;
34
};
35
}
36
37
38
#endif
magneticfield::UniformMagneticFieldESProducer::produce
std::auto_ptr< MagneticField > produce(const IdealMagneticFieldRecord &)
Definition:
UniformMagneticFieldESProducer.cc:22
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
magneticfield::UniformMagneticFieldESProducer::operator=
const UniformMagneticFieldESProducer & operator=(const UniformMagneticFieldESProducer &)
edm::ESProducer
Definition:
ESProducer.h:97
MagneticField.h
ParameterSet.h
magneticfield::UniformMagneticFieldESProducer
Definition:
UniformMagneticFieldESProducer.h:22
magneticfield::UniformMagneticFieldESProducer::UniformMagneticFieldESProducer
UniformMagneticFieldESProducer(const edm::ParameterSet &pset)
Definition:
UniformMagneticFieldESProducer.cc:17
ESProducer.h
EventSetupRecordIntervalFinder.h
magneticfield::UniformMagneticFieldESProducer::value
float value
Definition:
UniformMagneticFieldESProducer.h:33
edm::ParameterSet
Definition:
ParameterSet.h:35
Generated for CMSSW Reference Manual by
1.8.5