Main Page
Namespaces
Classes
Package Documentation
src
RecoMuon
TransientTrackingRecHit
plugins
MuonTransientTrackingRecHitBuilderESProducer.cc
Go to the documentation of this file.
1
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
2
#include "
TrackingTools/Records/interface/TransientRecHitRecord.h
"
3
4
#include "
RecoMuon/TransientTrackingRecHit/plugins/MuonTransientTrackingRecHitBuilderESProducer.h
"
5
#include "
RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHitBuilder.h
"
6
7
#include "
FWCore/Framework/interface/EventSetup.h
"
8
#include "
FWCore/Framework/interface/ESHandle.h
"
9
10
#include "
Geometry/Records/interface/GlobalTrackingGeometryRecord.h
"
11
#include "
Geometry/CommonDetUnit/interface/GlobalTrackingGeometry.h
"
12
#include "
TrackingTools/Records/interface/TransientRecHitRecord.h
"
13
14
#include<memory>
15
16
using namespace
edm
;
17
using namespace
std
;
18
19
MuonTransientTrackingRecHitBuilderESProducer::MuonTransientTrackingRecHitBuilderESProducer
(
const
ParameterSet
&
parameterSet
) {
20
21
setWhatProduced(
this
,parameterSet.
getParameter
<
string
>(
"ComponentName"
));
22
}
23
24
MuonTransientTrackingRecHitBuilderESProducer::~MuonTransientTrackingRecHitBuilderESProducer
() {}
25
26
27
std::shared_ptr<TransientTrackingRecHitBuilder>
28
MuonTransientTrackingRecHitBuilderESProducer::produce
(
const
TransientRecHitRecord
& iRecord){
29
30
31
ESHandle<GlobalTrackingGeometry>
trackingGeometry;
32
iRecord.
getRecord
<
GlobalTrackingGeometryRecord
>().
get
(trackingGeometry);
33
34
return
std::make_shared<MuonTransientTrackingRecHitBuilder>(trackingGeometry);
35
}
36
37
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
GlobalTrackingGeometryRecord.h
MuonTransientTrackingRecHitBuilderESProducer::MuonTransientTrackingRecHitBuilderESProducer
MuonTransientTrackingRecHitBuilderESProducer(const edm::ParameterSet &)
Constructor.
Definition:
MuonTransientTrackingRecHitBuilderESProducer.cc:19
EventSetup.h
MuonTransientTrackingRecHitBuilder.h
std
Definition:
JetResolutionObject.h:80
GlobalTrackingGeometryRecord
Definition:
GlobalTrackingGeometryRecord.h:17
MuonTransientTrackingRecHitBuilderESProducer::produce
std::shared_ptr< TransientTrackingRecHitBuilder > produce(const TransientRecHitRecord &)
Definition:
MuonTransientTrackingRecHitBuilderESProducer.cc:28
TransientRecHitRecord
Definition:
TransientRecHitRecord.h:14
ParameterSet.h
edm::eventsetup::DependentRecordImplementation::getRecord
const DepRecordT & getRecord() const
Definition:
DependentRecordImplementation.h:48
edm::ESHandle< GlobalTrackingGeometry >
MuonTransientTrackingRecHitBuilderESProducer.h
ESHandle.h
TransientRecHitRecord.h
edm
HLT enums.
Definition:
AlignableModifier.h:17
edm::ParameterSet
Definition:
ParameterSet.h:36
GlobalTrackingGeometry.h
MuonTransientTrackingRecHitBuilderESProducer::~MuonTransientTrackingRecHitBuilderESProducer
~MuonTransientTrackingRecHitBuilderESProducer() override
Destructor.
Definition:
MuonTransientTrackingRecHitBuilderESProducer.cc:24
edm::parameterSet
ParameterSet const & parameterSet(Provenance const &provenance)
Definition:
Provenance.cc:11
Generated for CMSSW Reference Manual by
1.8.11