Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:43

0001 #include "TrackingTools/RecoGeometry/plugins/DetLayerGeometryESProducer.h"
0002 
0003 #include "FWCore/Framework/interface/EventSetup.h"
0004 #include "FWCore/Framework/interface/ESHandle.h"
0005 #include "FWCore/Framework/interface/ModuleFactory.h"
0006 #include "FWCore/Framework/interface/ESProducer.h"
0007 
0008 #include <memory>
0009 #include <string>
0010 
0011 using namespace edm;
0012 
0013 DetLayerGeometryESProducer::DetLayerGeometryESProducer(const edm::ParameterSet& p) {
0014   std::string myName = p.getParameter<std::string>("ComponentName");
0015   setWhatProduced(this, myName);
0016 }
0017 
0018 DetLayerGeometryESProducer::~DetLayerGeometryESProducer() {}
0019 
0020 std::unique_ptr<DetLayerGeometry> DetLayerGeometryESProducer::produce(const RecoGeometryRecord& iRecord) {
0021   return std::make_unique<DetLayerGeometry>();
0022 }
0023 
0024 DEFINE_FWK_EVENTSETUP_MODULE(DetLayerGeometryESProducer);