00001 00013 #ifndef SIMPRUNETOOL 00014 #define SIMPRUNETOOL 00015 00016 #include "DybKernel/IRegSeqVisitor.h" 00017 #include "Event/RegistrationSequence.h" 00018 00019 #include "GaudiAlg/GaudiTool.h" 00020 00021 #include <string> 00022 00023 class SimPruneTool : public GaudiTool , 00024 virtual public IRegSeqVisitor 00025 { 00026 public: 00027 SimPruneTool(const std::string& type, 00028 const std::string& name, 00029 const IInterface* parent); 00030 virtual ~SimPruneTool(); 00031 00032 // Tool interface 00033 //virtual StatusCode initialize(); 00034 //virtual StatusCode finalize(); 00035 // don't need it. 00036 00037 // RegSeqVisitor interface 00038 virtual StatusCode visit(DayaBay::RegistrationSequence& rs); 00039 00040 private: 00043 std::string m_location; 00044 }; 00045 00046 #endif // SIMPRUNETOOL