TrackingTools
RecoGeometry
plugins
DetLayerGeometryESProducer.cc
Go to the documentation of this file.
1
#include "
TrackingTools/RecoGeometry/plugins/DetLayerGeometryESProducer.h
"
2
3
#include "
FWCore/Framework/interface/EventSetup.h
"
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
FWCore/Framework/interface/ModuleFactory.h
"
6
#include "
FWCore/Framework/interface/ESProducer.h
"
7
8
#include <memory>
9
#include <string>
10
11
using namespace
edm
;
12
13
DetLayerGeometryESProducer::DetLayerGeometryESProducer
(
const
edm::ParameterSet
&
p
) {
14
std::string
myName =
p
.getParameter<
std::string
>(
"ComponentName"
);
15
setWhatProduced(
this
, myName);
16
}
17
18
DetLayerGeometryESProducer::~DetLayerGeometryESProducer
() {}
19
20
std::unique_ptr<DetLayerGeometry>
DetLayerGeometryESProducer::produce
(
const
RecoGeometryRecord
& iRecord) {
21
return
std::make_unique<DetLayerGeometry>();
22
}
23
24
DEFINE_FWK_EVENTSETUP_MODULE
(
DetLayerGeometryESProducer
);
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
DetLayerGeometryESProducer::produce
std::unique_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
Definition:
DetLayerGeometryESProducer.cc:20
ESProducer.h
DetLayerGeometryESProducer
Definition:
DetLayerGeometryESProducer.h:10
DetLayerGeometryESProducer::~DetLayerGeometryESProducer
~DetLayerGeometryESProducer() override
Definition:
DetLayerGeometryESProducer.cc:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
RecoGeometryRecord
Definition:
RecoGeometryRecord.h:15
ModuleFactory.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
DetLayerGeometryESProducer::DetLayerGeometryESProducer
DetLayerGeometryESProducer(const edm::ParameterSet &p)
Definition:
DetLayerGeometryESProducer.cc:13
EventSetup.h
DetLayerGeometryESProducer.h
Generated for CMSSW Reference Manual by
1.8.16