84 lines
2.9 KiB
C++
84 lines
2.9 KiB
C++
//
|
|
// ********************************************************************
|
|
// * DISCLAIMER *
|
|
// * *
|
|
// * The following disclaimer summarizes all the specific disclaimers *
|
|
// * of contributors to this software. The specific disclaimers,which *
|
|
// * govern, are listed with their locations in: *
|
|
// * http://cern.ch/geant4/license *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. *
|
|
// * *
|
|
// * 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.8 2002/12/12 19:18:04 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-05-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
|
|
//
|
|
|
|
// 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
|