00001 //------------------------------------------------------- 00002 // Generate emission gamma energy and direction based on NNDC data. 00003 //------------------------------------------------------- 00004 // Author: Kevin Kuns, 2009/07/27 00005 //------------------------------------------------------- 00006 00007 #ifndef DsG4NNDCCaptureGammas_hh 00008 #define DsG4NNDCCaptureGammas_hh 00009 00010 #include "G4ReactionProductVector.hh" 00011 #include <vector> 00012 00014 00015 class DsG4NNDCCaptureGammas 00016 { 00017 public: 00018 00019 DsG4NNDCCaptureGammas(); 00020 ~DsG4NNDCCaptureGammas(); 00021 void Init(int A, int Z); 00022 G4ReactionProductVector * GetGammas (); 00023 std::vector<double> GetEnergy (); 00024 bool hasData(){ return m_hasData; } 00025 00026 private: 00027 00028 bool m_hasData; 00029 std::vector<double> m_probabilities; 00030 std::vector< std::vector<double> > m_gammaEnergies; 00031 }; 00032 00033 #endif // DsG4NNDCCaptureGammas_hh