66 lines
2.6 KiB
C++
66 lines
2.6 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: G4NeutronHPInelasticData.hh,v 1.7 2002/12/12 19:18:13 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-05-00 $
|
|
//
|
|
#ifndef G4NeutronHPInelasticData_h
|
|
#define G4NeutronHPInelasticData_h 1
|
|
|
|
// Class Description
|
|
// Cross-section data set for a high precision (based on evaluated data
|
|
// libraries) description of neutron inelastic scattering below 20 MeV;
|
|
// 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
|
|
|
|
#include "G4VCrossSectionDataSet.hh"
|
|
#include "G4DynamicParticle.hh"
|
|
#include "G4Element.hh"
|
|
#include "G4ParticleDefinition.hh"
|
|
#include "G4PhysicsTable.hh"
|
|
|
|
class G4NeutronHPInelasticData : public G4VCrossSectionDataSet
|
|
{
|
|
public:
|
|
|
|
G4NeutronHPInelasticData();
|
|
|
|
~G4NeutronHPInelasticData();
|
|
|
|
G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
|
|
|
|
G4double GetCrossSection(const G4DynamicParticle*, const G4Element*, G4double aT);
|
|
|
|
void BuildPhysicsTable(const G4ParticleDefinition&);
|
|
|
|
void DumpPhysicsTable(const G4ParticleDefinition&);
|
|
|
|
private:
|
|
|
|
G4PhysicsTable * theCrossSections;
|
|
};
|
|
|
|
#endif
|