00001 //------------------------------------------------------------------------ 00002 // Final state of neutron captured by Gadolinium 00003 // 00004 // Modified class from original G4NeutronHPCaptureFS class to deexcite and 00005 // add correctly the secondary to the hadronic final state 00006 //------------------------------------------------------------------------- 00007 // Author: Liang Zhan, 2006/01/27 00008 // Modifed: bv@bnl.gov 2008/4/16 for DetSim 00009 //------------------------------------------------------------------------- 00010 00011 #ifndef DsG4GdNeutronHPCaptureFS_h 00012 #define DsG4GdNeutronHPCaptureFS_h 1 00013 00014 #include "globals.hh" 00015 #include "G4HadProjectile.hh" 00016 #include "G4HadFinalState.hh" 00017 #include "G4NeutronHPFinalState.hh" 00018 #include "G4ReactionProductVector.hh" 00019 #include "G4NeutronHPNames.hh" 00020 #include "G4NeutronHPPhotonDist.hh" 00021 #include "G4Nucleus.hh" 00022 #include "G4Fragment.hh" 00023 00024 // the emission gammas of neutron captured by Gd. 00025 #include "DsG4GdCaptureGammas.h" 00026 00028 00029 class DsG4GdNeutronHPCaptureFS : public G4NeutronHPFinalState 00030 { 00031 public: 00032 00033 DsG4GdNeutronHPCaptureFS(); 00034 00035 ~DsG4GdNeutronHPCaptureFS(); 00036 00037 void UpdateNucleus( const G4Fragment* , G4double ); 00038 void Init (G4double A, G4double Z, G4String & dirName, G4String & aFSType); 00039 00040 G4HadFinalState * ApplyYourself(const G4HadProjectile & theTrack); 00041 G4NeutronHPFinalState * New() { 00042 DsG4GdNeutronHPCaptureFS * theNew = new DsG4GdNeutronHPCaptureFS; 00043 return theNew; 00044 } 00045 00046 private: 00047 00048 G4Fragment * nucleus; 00049 00050 G4DynamicParticle * theTwo ; 00051 G4ReactionProduct theTarget; 00052 G4Nucleus aNucleus; 00053 G4ReactionProduct theNeutron; 00054 00055 G4double targetMass; 00056 00057 G4NeutronHPPhotonDist theFinalStatePhotons; 00058 DsG4GdCaptureGammas theFinalgammas; 00059 G4NeutronHPNames theNames; 00060 00061 G4double theCurrentA; 00062 G4double theCurrentZ; 00063 }; 00064 #endif