Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
using namespace
edm;
15
using namespace
std;
16
17
MuonTransientTrackingRecHitBuilderESProducer::MuonTransientTrackingRecHitBuilderESProducer
(
const
ParameterSet
&
parameterSet
) {
18
19
setWhatProduced(
this
,parameterSet.
getParameter
<
string
>(
"ComponentName"
));
20
}
21
22
MuonTransientTrackingRecHitBuilderESProducer::~MuonTransientTrackingRecHitBuilderESProducer
() {}
23
24
25
boost::shared_ptr<TransientTrackingRecHitBuilder>
26
MuonTransientTrackingRecHitBuilderESProducer::produce
(
const
TransientRecHitRecord
& iRecord){
27
28
29
ESHandle<GlobalTrackingGeometry>
trackingGeometry;
30
iRecord.
getRecord
<
GlobalTrackingGeometryRecord
>().
get
(trackingGeometry);
31
32
return
boost::shared_ptr<TransientTrackingRecHitBuilder>(
new
MuonTransientTrackingRecHitBuilder
(trackingGeometry));
33
}
34
35
MuonTransientTrackingRecHitBuilder
Definition:
MuonTransientTrackingRecHitBuilder.h:12
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
GlobalTrackingGeometryRecord.h
MuonTransientTrackingRecHitBuilderESProducer::MuonTransientTrackingRecHitBuilderESProducer
MuonTransientTrackingRecHitBuilderESProducer(const edm::ParameterSet &)
Constructor.
Definition:
MuonTransientTrackingRecHitBuilderESProducer.cc:17
EventSetup.h
MuonTransientTrackingRecHitBuilderESProducer::~MuonTransientTrackingRecHitBuilderESProducer
virtual ~MuonTransientTrackingRecHitBuilderESProducer()
Destructor.
Definition:
MuonTransientTrackingRecHitBuilderESProducer.cc:22
MuonTransientTrackingRecHitBuilder.h
GlobalTrackingGeometryRecord
Definition:
GlobalTrackingGeometryRecord.h:17
TransientRecHitRecord
Definition:
TransientRecHitRecord.h:14
ParameterSet.h
edm::eventsetup::DependentRecordImplementation::getRecord
const DepRecordT & getRecord() const
Definition:
DependentRecordImplementation.h:46
edm::ESHandle< GlobalTrackingGeometry >
MuonTransientTrackingRecHitBuilderESProducer.h
ESHandle.h
TransientRecHitRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:35
GlobalTrackingGeometry.h
MuonTransientTrackingRecHitBuilderESProducer::produce
boost::shared_ptr< TransientTrackingRecHitBuilder > produce(const TransientRecHitRecord &)
Definition:
MuonTransientTrackingRecHitBuilderESProducer.cc:26
edm::parameterSet
ParameterSet const & parameterSet(Provenance const &provenance)
Definition:
Provenance.cc:11
Generated for CMSSW Reference Manual by
1.8.5