00001 #ifndef PhysicsTools_HepMCCandAlgos_PdgEntryReplacer_h 00002 #define PhysicsTools_HepMCCandAlgos_PdgEntryReplacer_h 00003 #include <string> 00004 00005 namespace edm { 00006 class EventSetup; 00007 } 00008 00009 class PdgEntryReplacer { 00010 public: 00011 explicit PdgEntryReplacer(const edm::EventSetup & es) : 00012 es_(& es) { } 00013 std::string replace(const std::string&) const; 00014 private: 00015 const edm::EventSetup * es_; 00016 }; 00017 00018 00019 #endif