Main Page
Namespaces
Classes
Package Documentation
RecoLocalTracker
SiStripRecHitConverter
plugins
SiStripRecHitMatcherESProducer.cc
Go to the documentation of this file.
1
#include "
RecoLocalTracker/SiStripRecHitConverter/plugins/SiStripRecHitMatcherESProducer.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
SiStripRecHitMatcherESProducer::SiStripRecHitMatcherESProducer
(
const
edm::ParameterSet
&
p
)
9
{
10
std::string
name
= p.
getParameter
<
std::string
>(
"ComponentName"
);
11
pset_
=
p
;
12
setWhatProduced
(
this
,name);
13
}
14
15
std::shared_ptr<SiStripRecHitMatcher>
SiStripRecHitMatcherESProducer::
16
produce
(
const
TkStripCPERecord
& iRecord)
17
{
18
matcher_
= std::make_shared<SiStripRecHitMatcher>(
pset_
);
19
return
matcher_
;
20
}
21
22
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
EventSetup.h
edm::ESProducer::setWhatProduced
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition:
ESProducer.h:115
SiStripRecHitMatcherESProducer::SiStripRecHitMatcherESProducer
SiStripRecHitMatcherESProducer(const edm::ParameterSet &)
Definition:
SiStripRecHitMatcherESProducer.cc:8
SiStripRecHitMatcherESProducer::produce
std::shared_ptr< SiStripRecHitMatcher > produce(const TkStripCPERecord &)
Definition:
SiStripRecHitMatcherESProducer.cc:16
SiStripRecHitMatcherESProducer::matcher_
std::shared_ptr< SiStripRecHitMatcher > matcher_
Definition:
SiStripRecHitMatcherESProducer.h:15
ESHandle.h
SiStripRecHitMatcherESProducer.h
SiStripRecHitMatcherESProducer::pset_
edm::ParameterSet pset_
Definition:
SiStripRecHitMatcherESProducer.h:16
ESProducer.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ModuleFactory.h
dataset.name
name
Definition:
dataset.py:45
TkStripCPERecord
Definition:
TkStripCPERecord.h:14
Generated for CMSSW Reference Manual by
1.8.11