Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
boost::shared_ptr<DetLayerGeometry>
23
DetLayerGeometryESProducer::produce
(
const
RecoGeometryRecord
& iRecord){
24
25
26
geometry_ = boost::shared_ptr<DetLayerGeometry>(
new
DetLayerGeometry
());
27
return
geometry_;
28
}
29
30
31
DEFINE_FWK_EVENTSETUP_MODULE
(
DetLayerGeometryESProducer
);
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
EventSetup.h
DetLayerGeometryESProducer::~DetLayerGeometryESProducer
virtual ~DetLayerGeometryESProducer()
Definition:
DetLayerGeometryESProducer.cc:20
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DetLayerGeometry
Definition:
DetLayerGeometry.h:18
DetLayerGeometryESProducer::DetLayerGeometryESProducer
DetLayerGeometryESProducer(const edm::ParameterSet &p)
Definition:
DetLayerGeometryESProducer.cc:14
RecoGeometryRecord
Definition:
RecoGeometryRecord.h:15
DetLayerGeometryESProducer::produce
boost::shared_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
Definition:
DetLayerGeometryESProducer.cc:23
ESHandle.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
ESProducer.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
DetLayerGeometryESProducer
Definition:
DetLayerGeometryESProducer.h:10
edm::ParameterSet
Definition:
ParameterSet.h:35
ModuleFactory.h
DetLayerGeometryESProducer.h
Generated for CMSSW Reference Manual by
1.8.5