00001 #ifndef TrackingTools_TrackRefitter_TracksToTrajectories_H 00002 #define TrackingTools_TrackRefitter_TracksToTrajectories_H 00003 00014 #include "FWCore/Framework/interface/EDProducer.h" 00015 #include "FWCore/Utilities/interface/InputTag.h" 00016 00017 namespace edm {class ParameterSet; class Event; class EventSetup;} 00018 class TrackTransformerBase; 00019 00020 class TracksToTrajectories: public edm::EDProducer{ 00021 public: 00022 00024 TracksToTrajectories(const edm::ParameterSet&); 00025 00027 virtual ~TracksToTrajectories(); 00028 00029 // Operations 00030 void endJob(); 00031 00033 virtual void produce(edm::Event&, const edm::EventSetup&); 00034 00035 protected: 00036 00037 private: 00038 00039 edm::InputTag theTracksLabel; 00040 TrackTransformerBase *theTrackTransformer; 00041 00042 int theNTracks; 00043 int theNFailures; 00044 }; 00045 #endif 00046