00001 00008 #ifndef GGHEPEVTGENTOOL_H 00009 #define GGHEPEVTGENTOOL_H 00010 00011 #include "GaudiAlg/GaudiTool.h" 00012 #include "GenTools/IHepMCEventMutator.h" 00013 00014 class HepEvt2HepMC; 00015 class GtHepEvtGenTool : public GaudiTool, 00016 public IHepMCEventMutator 00017 { 00018 public: 00019 GtHepEvtGenTool(const std::string& type, 00020 const std::string& name, 00021 const IInterface* parent); 00022 virtual ~GtHepEvtGenTool(); 00023 00024 virtual StatusCode initialize(); 00025 virtual StatusCode finalize(); 00026 00027 virtual StatusCode mutate(HepMC::GenEvent& event); 00028 00029 private: 00030 00031 std::string m_source; 00032 HepEvt2HepMC* m_parser; 00033 00034 }; 00035 00036 #endif // GGHEPEVTGENTOOL_H