Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
// forbid copy ctor and assignment op.
24
UniformMagneticFieldESProducer
(
const
UniformMagneticFieldESProducer
&) =
delete
;
25
const
UniformMagneticFieldESProducer
&
operator=
(
const
UniformMagneticFieldESProducer
&) =
delete
;
26
27
std::unique_ptr<MagneticField>
produce
(
const
IdealMagneticFieldRecord
&);
28
29
private
:
30
float
value
;
31
};
32
}
// namespace magneticfield
33
34
#endif
magneticfield::UniformMagneticFieldESProducer::operator=
const UniformMagneticFieldESProducer & operator=(const UniformMagneticFieldESProducer &)=delete
magneticfield::UniformMagneticFieldESProducer::produce
std::unique_ptr< MagneticField > produce(const IdealMagneticFieldRecord &)
Definition:
UniformMagneticFieldESProducer.cc:20
TrackValidation_cff.pset
tuple pset
Definition:
TrackValidation_cff.py:591
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
edm::ESProducer
Definition:
ESProducer.h:104
MagneticField.h
ParameterSet.h
magneticfield::UniformMagneticFieldESProducer
Definition:
UniformMagneticFieldESProducer.h:20
magneticfield::UniformMagneticFieldESProducer::UniformMagneticFieldESProducer
UniformMagneticFieldESProducer(const edm::ParameterSet &pset)
Definition:
UniformMagneticFieldESProducer.cc:15
ESProducer.h
EventSetupRecordIntervalFinder.h
magneticfield::UniformMagneticFieldESProducer::value
float value
Definition:
UniformMagneticFieldESProducer.h:30
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.5