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