// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: G4LCapture.hh,v 1.5 2000/12/14 09:12:43 hpw Exp $ // GEANT4 tag $Name: geant4-03-01 $ // // // G4 Low energy model: neutron capture -- header file // F.W. Jones, TRIUMF, 03-DEC-96 // // For further comments see G4LCapture.cc. // // use -scheme for elastic scattering: HPW, 20th June 1997 // most of the code comes from the old Low-energy Capture class // // Class Description // Final state production model for capture of neutral hadrons in nuclei; // To be used in your physics list in case you need this physics. // In this case you want to register an object of this class with // the corresponding process. // Class Description - End #ifndef G4LCapture_h #define G4LCapture_h 1 #include "globals.hh" #include "Randomize.hh" #include "G4Element.hh" #include "G4ElementVector.hh" #include "G4ElementTable.hh" #include "G4PhysicsTable.hh" #include "G4PhysicsVector.hh" #include "G4LPhysicsFreeVector.hh" #include "G4Gamma.hh" #include "G4Step.hh" #include "G4TrackStatus.hh" #include "G4LFission.hh" #include "G4HadronicInteraction.hh" class G4LCapture : public G4HadronicInteraction { public: G4LCapture(); ~G4LCapture(); G4VParticleChange* ApplyYourself(const G4Track& aTrack, G4Nucleus& targetNucleus); private: // Computes atomic mass in GeV using method from G4LFission inline G4double Atomas(const G4double A, const G4double Z) { return G4LFission::Atomas(A, Z)/GeV; } }; #endif