Files
geant4/source/processes/hadronic/models/low_energy/include/G4LCapture.hh
T
2016-06-08 15:28:20 +02:00

61 lines
1.4 KiB
C++

// 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.3.2.1 1999/12/07 20:52:15 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// 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
//
#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