FastSimulation
ParticlePropagator
plugins
MagneticFieldMapESProducer.h
Go to the documentation of this file.
1
#ifndef FastSimulation_ParticlePropagator_MagneticFieldMapESProducer_H
2
#define FastSimulation_ParticlePropagator_MagneticFieldMapESProducer_H
3
4
#include "
FWCore/Framework/interface/ESProducer.h
"
5
#include "
FWCore/Utilities/interface/ESGetToken.h
"
6
#include "
FastSimulation/ParticlePropagator/interface/MagneticFieldMapRecord.h
"
7
#include "
FastSimulation/ParticlePropagator/interface/MagneticFieldMap.h
"
8
#include "
FastSimulation/TrackerSetup/interface/TrackerInteractionGeometryRecord.h
"
9
#include "
MagneticField/Records/interface/IdealMagneticFieldRecord.h
"
10
#include <string>
11
12
class
MagneticFieldMapESProducer
:
public
edm::ESProducer
{
13
public
:
14
MagneticFieldMapESProducer
(
const
edm::ParameterSet
&
p
);
15
~MagneticFieldMapESProducer
()
override
=
default
;
16
std::unique_ptr<MagneticFieldMap>
produce
(
const
MagneticFieldMapRecord
&);
17
18
private
:
19
const
std::string
label_
;
20
edm::ESGetToken<TrackerInteractionGeometry, TrackerInteractionGeometryRecord>
tokenGeom_
;
21
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
tokenBField_
;
22
};
23
24
#endif
MagneticFieldMapESProducer::tokenGeom_
edm::ESGetToken< TrackerInteractionGeometry, TrackerInteractionGeometryRecord > tokenGeom_
Definition:
MagneticFieldMapESProducer.h:20
MagneticFieldMap.h
MagneticFieldMapESProducer::~MagneticFieldMapESProducer
~MagneticFieldMapESProducer() override=default
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
MagneticFieldMapESProducer::tokenBField_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > tokenBField_
Definition:
MagneticFieldMapESProducer.h:21
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
edm::ESGetToken< TrackerInteractionGeometry, TrackerInteractionGeometryRecord >
MagneticFieldMapESProducer::label_
const std::string label_
Definition:
MagneticFieldMapESProducer.h:19
MagneticFieldMapRecord
Definition:
MagneticFieldMapRecord.h:27
MagneticFieldMapRecord.h
MagneticFieldMapESProducer::MagneticFieldMapESProducer
MagneticFieldMapESProducer(const edm::ParameterSet &p)
Definition:
MagneticFieldMapESProducer.cc:7
MagneticFieldMapESProducer::produce
std::unique_ptr< MagneticFieldMap > produce(const MagneticFieldMapRecord &)
Definition:
MagneticFieldMapESProducer.cc:14
edm::ParameterSet
Definition:
ParameterSet.h:47
MagneticFieldMapESProducer
Definition:
MagneticFieldMapESProducer.h:12
TrackerInteractionGeometryRecord.h
ESGetToken.h
IdealMagneticFieldRecord.h
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14