File indexing completed on 2024-04-06 12:28:29
0001 #ifndef RecoTracker_PixelLowPtUtilities_plugins_PixelVertexProducerClusters_h
0002 #define RecoTracker_PixelLowPtUtilities_plugins_PixelVertexProducerClusters_h
0003
0004 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
0005 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
0006 #include "FWCore/Framework/interface/global/EDProducer.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0008 #include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHitCollection.h"
0009
0010 namespace edm {
0011 class Run;
0012 class Event;
0013 class EventSetup;
0014 }
0015
0016 class TrackerGeometry;
0017
0018 class PixelVertexProducerClusters : public edm::global::EDProducer<> {
0019 public:
0020 explicit PixelVertexProducerClusters(const edm::ParameterSet& ps);
0021 ~PixelVertexProducerClusters() override;
0022 void produce(edm::StreamID, edm::Event& ev, const edm::EventSetup& es) const override;
0023
0024 private:
0025 const edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> geomToken_;
0026 edm::EDGetTokenT<SiPixelRecHitCollection> pixelToken_;
0027 };
0028 #endif