Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:46:10

0001 #ifndef FastSimulation_Tracking_PixelTracksProducer_H
0002 #define FastSimulation_Tracking_PixelTracksProducer_H
0003 
0004 #include "FWCore/Framework/interface/FrameworkfwdMostUsed.h"
0005 #include "FWCore/Framework/interface/stream/EDProducer.h"
0006 #include "FWCore/Utilities/interface/InputTag.h"
0007 
0008 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
0009 
0010 #include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
0011 #include "Geometry/Records/interface/TrackerTopologyRcd.h"
0012 
0013 #include <string>
0014 
0015 class PixelFitter;
0016 class PixelTrackFilter;
0017 class TrackingRegionProducer;
0018 
0019 class PixelTracksProducer : public edm::stream::EDProducer<> {
0020 public:
0021   explicit PixelTracksProducer(const edm::ParameterSet& conf);
0022 
0023   ~PixelTracksProducer() override;
0024 
0025   void produce(edm::Event& ev, const edm::EventSetup& es) override;
0026 
0027 private:
0028   edm::EDGetTokenT<PixelFitter> fitterToken;
0029   std::unique_ptr<TrackingRegionProducer> theRegionProducer;
0030 
0031   edm::EDGetTokenT<TrajectorySeedCollection> seedProducerToken;
0032   edm::EDGetTokenT<PixelTrackFilter> filterToken;
0033   edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> ttopoToken;
0034 };
0035 #endif