00001 #ifndef INEUTRONCAPTUREINFO_H 00002 #define INEUTRONCAPTUREINFO_H 00003 00004 #include "GaudiKernel/IAlgTool.h" 00005 #include "G4DataHelpers/G4DhNeutronCapture.h" 00006 00007 /* the interface of the tool to access neutron capture information 00008 --- Wei Wang, Aug 13, 2008 00009 */ 00010 00011 class INeutronCaptureInfo : virtual public IAlgTool 00012 { 00013 public: 00014 00015 static const InterfaceID& interfaceID(); 00016 00017 // Add capture information in 00018 virtual void addCapture(const G4DhNeutronCapture& capture) = 0; 00019 00020 // Access the last captures 00021 virtual G4DhNeutronCapture& getCapture() = 0; 00022 00023 protected: 00024 00025 virtual ~INeutronCaptureInfo(); 00026 00027 }; 00028 00029 #endif