File indexing completed on 2024-04-06 12:11:23
0001 #ifndef FastSimulation_Tracking_ElectronSeedTrackRefFix_h
0002 #define FastSimulation_Tracking_ElectronSeedTrackRefFix_h
0003
0004 #include "DataFormats/Common/interface/ValueMap.h"
0005 #include "DataFormats/EgammaReco/interface/ElectronSeedFwd.h"
0006 #include "DataFormats/ParticleFlowReco/interface/PreIdFwd.h"
0007 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0008 #include "FWCore/Framework/interface/Frameworkfwd.h"
0009 #include "FWCore/Framework/interface/stream/EDProducer.h"
0010 #include <memory>
0011
0012 class ElectronSeedTrackRefFix : public edm::stream::EDProducer<> {
0013 public:
0014 explicit ElectronSeedTrackRefFix(const edm::ParameterSet&);
0015 ~ElectronSeedTrackRefFix() override;
0016
0017 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0018
0019 private:
0020 void produce(edm::Event&, const edm::EventSetup&) override;
0021
0022
0023
0024 edm::EDGetTokenT<reco::TrackCollection> newTracksToken_;
0025 edm::EDGetTokenT<reco::TrackCollection> oldTracksToken_;
0026 edm::EDGetTokenT<reco::ElectronSeedCollection> seedsToken_;
0027 std::vector<edm::EDGetTokenT<reco::PreIdCollection> > idsToken_;
0028 std::vector<edm::EDGetTokenT<edm::ValueMap<reco::PreIdRef> > > idMapToken_;
0029 std::string preidgsfLabel_;
0030 std::vector<std::string> preidLabel_;
0031 edm::InputTag oldTracksTag_;
0032 edm::InputTag newTracksTag_;
0033 edm::InputTag seedsTag_;
0034 std::vector<edm::InputTag> idsTag_;
0035 };
0036
0037 #endif