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
);
ModuleFactory.h
DetLayerGeometryESProducer::produce
std::unique_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
Definition:
DetLayerGeometryESProducer.cc:20
EventSetup.h
DetLayerGeometryESProducer::~DetLayerGeometryESProducer
~DetLayerGeometryESProducer() override
Definition:
DetLayerGeometryESProducer.cc:18
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ESProducer.h
DetLayerGeometryESProducer::DetLayerGeometryESProducer
DetLayerGeometryESProducer(const edm::ParameterSet &p)
Definition:
DetLayerGeometryESProducer.cc:13
RecoGeometryRecord
Definition:
RecoGeometryRecord.h:15
ESHandle.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:61
edm
HLT enums.
Definition:
AlignableModifier.h:19
DetLayerGeometryESProducer
Definition:
DetLayerGeometryESProducer.h:10
edm::ParameterSet
Definition:
ParameterSet.h:47
DetLayerGeometryESProducer.h
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14