Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef TrackingTools_RecoGeometry_GlobalDetLayerGeometryESProducer_H
0002 #define TrackingTools_RecoGeometry_GlobalDetLayerGeometryESProducer_H
0003 
0004 #include "FWCore/Framework/interface/ESProducer.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "TrackingTools/RecoGeometry/interface/RecoGeometryRecord.h"
0007 #include "TrackingTools/RecoGeometry/interface/GlobalDetLayerGeometry.h"
0008 #include <memory>
0009 
0010 class GlobalDetLayerGeometryESProducer : public edm::ESProducer {
0011 public:
0012   GlobalDetLayerGeometryESProducer(const edm::ParameterSet &p);
0013   ~GlobalDetLayerGeometryESProducer() override;
0014   std::unique_ptr<DetLayerGeometry> produce(const RecoGeometryRecord &);
0015 
0016 private:
0017   edm::ESGetToken<GeometricSearchTracker, TrackerRecoGeometryRecord> trackerToken_;
0018   edm::ESGetToken<MuonDetLayerGeometry, MuonRecoGeometryRecord> muonToken_;
0019   edm::ESGetToken<MTDDetLayerGeometry, MTDRecoGeometryRecord> mtdToken_;
0020 };
0021 
0022 #endif