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
std::string
name
=
p
.getParameter<
std::string
>(
"ComponentName"
);
10
pset_
=
p
;
11
setWhatProduced
(
this
,
name
);
12
}
13
14
std::unique_ptr<SiStripRecHitMatcher>
SiStripRecHitMatcherESProducer::produce
(
const
TkStripCPERecord
& iRecord) {
15
return
std::make_unique<SiStripRecHitMatcher>(
pset_
);
16
}
ESHandle.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
TkStripCPERecord
Definition:
TkStripCPERecord.h:13
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
ESProducer.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripRecHitMatcherESProducer::pset_
edm::ParameterSet pset_
Definition:
SiStripRecHitMatcherESProducer.h:16
SiStripRecHitMatcherESProducer.h
SiStripRecHitMatcherESProducer::produce
std::unique_ptr< SiStripRecHitMatcher > produce(const TkStripCPERecord &)
Definition:
SiStripRecHitMatcherESProducer.cc:14
ModuleFactory.h
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
EventSetup.h
SiStripRecHitMatcherESProducer::SiStripRecHitMatcherESProducer
SiStripRecHitMatcherESProducer(const edm::ParameterSet &)
Definition:
SiStripRecHitMatcherESProducer.cc:8
Generated for CMSSW Reference Manual by
1.8.16