File indexing completed on 2024-04-06 12:28:59
0001 #ifndef TrackProducer_h
0002 #define TrackProducer_h
0003
0004
0005
0006
0007
0008
0009
0010 #include "FWCore/Framework/interface/stream/EDProducer.h"
0011 #include "RecoTracker/TrackProducer/interface/KfTrackProducerBase.h"
0012 #include "RecoTracker/TrackProducer/interface/TrackProducerAlgorithm.h"
0013
0014 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
0015
0016 class TrackProducer : public KfTrackProducerBase, public edm::stream::EDProducer<> {
0017 public:
0018
0019 explicit TrackProducer(const edm::ParameterSet& iConfig);
0020
0021
0022 void produce(edm::Event&, const edm::EventSetup&) override;
0023
0024
0025 std::vector<reco::TransientTrack> getTransient(edm::Event&, const edm::EventSetup&);
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 private:
0036 TrackProducerAlgorithm<reco::Track> theAlgo;
0037 edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> theTTopoToken;
0038 };
0039
0040 #endif