Main Page
Namespaces
Classes
Package Documentation
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
9
#include <memory>
10
#include <string>
11
12
using namespace
edm
;
13
14
DetLayerGeometryESProducer::DetLayerGeometryESProducer
(
const
edm::ParameterSet
&
p
)
15
{
16
std::string
myName = p.
getParameter
<
std::string
>(
"ComponentName"
);
17
setWhatProduced(
this
,myName);
18
}
19
20
DetLayerGeometryESProducer::~DetLayerGeometryESProducer
() {}
21
22
std::unique_ptr<DetLayerGeometry>
23
DetLayerGeometryESProducer::produce
(
const
RecoGeometryRecord
& iRecord){
24
return
std::make_unique<DetLayerGeometry>();
25
}
26
27
28
DEFINE_FWK_EVENTSETUP_MODULE
(
DetLayerGeometryESProducer
);
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
DetLayerGeometryESProducer::produce
std::unique_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
Definition:
DetLayerGeometryESProducer.cc:23
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
EventSetup.h
DetLayerGeometryESProducer::~DetLayerGeometryESProducer
~DetLayerGeometryESProducer() override
Definition:
DetLayerGeometryESProducer.cc:20
DetLayerGeometryESProducer::DetLayerGeometryESProducer
DetLayerGeometryESProducer(const edm::ParameterSet &p)
Definition:
DetLayerGeometryESProducer.cc:14
RecoGeometryRecord
Definition:
RecoGeometryRecord.h:16
ESHandle.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
ESProducer.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
DetLayerGeometryESProducer
Definition:
DetLayerGeometryESProducer.h:10
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
DetLayerGeometryESProducer.h
Generated for CMSSW Reference Manual by
1.8.11