CMS 3D CMS Logo

MuonTransientTrackingRecHitBuilderESProducer.cc
Go to the documentation of this file.
3 
6 
9 
13 
14 #include<memory>
15 
16 using namespace edm;
17 using namespace std;
18 
20 
21  setWhatProduced(this,parameterSet.getParameter<string>("ComponentName"));
22 }
23 
25 
26 
27 std::shared_ptr<TransientTrackingRecHitBuilder>
29 
30 
31  ESHandle<GlobalTrackingGeometry> trackingGeometry;
32  iRecord.getRecord<GlobalTrackingGeometryRecord>().get(trackingGeometry);
33 
34  return std::make_shared<MuonTransientTrackingRecHitBuilder>(trackingGeometry);
35 }
36 
37 
T getParameter(std::string const &) const
MuonTransientTrackingRecHitBuilderESProducer(const edm::ParameterSet &)
Constructor.
std::shared_ptr< TransientTrackingRecHitBuilder > produce(const TransientRecHitRecord &)
HLT enums.
ParameterSet const & parameterSet(Provenance const &provenance)
Definition: Provenance.cc:11