Main Page
Namespaces
Classes
Package Documentation
MagneticField
GeomBuilder
plugins
VolumeBasedMagneticFieldESProducer.h
Go to the documentation of this file.
1
#ifndef VolumeBasedMagneticFieldESProducer_h
2
#define VolumeBasedMagneticFieldESProducer_h
3
10
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
11
#include "
FWCore/Framework/interface/ESProducer.h
"
12
13
#include "
MagneticField/Engine/interface/MagneticField.h
"
14
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
17
#include <string>
18
#include <vector>
19
20
namespace
magneticfield
{
21
class
VolumeBasedMagneticFieldESProducer
:
public
edm::ESProducer
{
22
public
:
23
VolumeBasedMagneticFieldESProducer
(
const
edm::ParameterSet
& iConfig);
24
25
std::unique_ptr<MagneticField>
produce
(
const
IdealMagneticFieldRecord
& iRecord);
26
27
private
:
28
// forbid copy ctor and assignment op.
29
VolumeBasedMagneticFieldESProducer
(
const
VolumeBasedMagneticFieldESProducer
&) =
delete
;
30
const
VolumeBasedMagneticFieldESProducer
&
operator=
(
const
VolumeBasedMagneticFieldESProducer
&) =
delete
;
31
32
edm::ParameterSet
pset
;
33
};
34
}
35
36
37
#endif
magneticfield::VolumeBasedMagneticFieldESProducer::operator=
const VolumeBasedMagneticFieldESProducer & operator=(const VolumeBasedMagneticFieldESProducer &)=delete
magneticfield::VolumeBasedMagneticFieldESProducer::produce
std::unique_ptr< MagneticField > produce(const IdealMagneticFieldRecord &iRecord)
Definition:
VolumeBasedMagneticFieldESProducer.cc:36
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
edm::ESProducer
Definition:
ESProducer.h:98
MagneticField.h
ParameterSet.h
magneticfield::VolumeBasedMagneticFieldESProducer
Definition:
VolumeBasedMagneticFieldESProducer.h:21
magneticfield::VolumeBasedMagneticFieldESProducer::pset
edm::ParameterSet pset
Definition:
VolumeBasedMagneticFieldESProducer.h:32
magneticfield::VolumeBasedMagneticFieldESProducer::VolumeBasedMagneticFieldESProducer
VolumeBasedMagneticFieldESProducer(const edm::ParameterSet &iConfig)
Definition:
VolumeBasedMagneticFieldESProducer.cc:30
ESProducer.h
EventSetupRecordIntervalFinder.h
magneticfield
Definition:
MagFieldConfig.h:20
edm::ParameterSet
Definition:
ParameterSet.h:36
IdealMagneticFieldRecord.h
Generated for CMSSW Reference Manual by
1.8.11