00001 //----------------------------------------------------------------------------- 00002 // neutron capture model 00003 // 00004 // Modified class from original G4NeutronHPCapture to include the final state 00005 // (the gammas spectrum) of neutron captured by Gadolinium. 00006 //--------------------------------------------------------------------------- 00007 // Author: Liang Zhan, 2006/01/27 00008 // Modified for DetSim, bv@bnl.gov 2008/4/16 00009 //--------------------------------------------------------------------------- 00010 00011 #ifndef DsG4NeutronHPCapture_h 00012 #define DsG4NeutronHPCapture_h 1 00013 00014 #include "globals.hh" 00015 #include "G4HadronicInteraction.hh" 00016 00017 #include "G4DataHelpers/INeutronCaptureInfo.h" 00018 #include "G4DataHelpers/G4DhNeutronCapture.h" 00019 00020 class G4NeutronHPChannel; 00021 00023 00024 class DsG4NeutronHPCapture : public G4HadronicInteraction 00025 { 00026 public: 00027 00028 DsG4NeutronHPCapture(); 00029 00030 virtual ~DsG4NeutronHPCapture(); 00031 00032 G4HadFinalState * ApplyYourself(const G4HadProjectile& aTrack, G4Nucleus& aTargetNucleus); 00033 00034 G4bool DebugMe ; //djaffe 00035 00036 void passNeutronCaptureInfoTool(INeutronCaptureInfo*); 00037 00038 private: 00039 00040 G4double * xSec; 00041 G4NeutronHPChannel * theCapture; 00042 G4String dirName; 00043 G4int numEle; 00044 G4int it; 00045 00046 G4HadFinalState theResult; 00047 G4HadFinalState * result; 00048 00049 /* Neutron capture information recorder and messenger. 00050 --- Wei Wang Aug 2008 00051 */ 00052 INeutronCaptureInfo* m_capinfo; 00053 G4DhNeutronCapture nCapture; 00054 }; 00055 00056 #endif