Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4IsoProdCrossSections Class Reference

#include <G4IsoProdCrossSections.hh>

Public Member Functions

 G4IsoProdCrossSections (G4String aString)
 
void Init (std::ifstream &aDataSet)
 
G4double GetProductionCrossSection (G4double anEnergy)
 
G4String GetProductIsotope ()
 

Detailed Description

Definition at line 32 of file G4IsoProdCrossSections.hh.

Constructor & Destructor Documentation

◆ G4IsoProdCrossSections()

G4IsoProdCrossSections::G4IsoProdCrossSections ( G4String  aString)
inline

Definition at line 35 of file G4IsoProdCrossSections.hh.

35 {
36 theProductName=aString;
37 G4cout << "WARNING: G4IsoProdCrossSections is deprecated and will be removed with Geant4 version 10"
38 << G4endl;
39 }
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

Member Function Documentation

◆ GetProductionCrossSection()

G4double G4IsoProdCrossSections::GetProductionCrossSection ( G4double  anEnergy)

Definition at line 37 of file G4IsoProdCrossSection.cc.

39{
40 G4double result;
41 result = theProductionCrossSections.GetY(anEnergy);
42 return result;
43}
double G4double
Definition: G4Types.hh:64
G4double GetY(G4double x)

Referenced by G4NeutronIsoIsoCrossSections::GetProductIsotope().

◆ GetProductIsotope()

G4String G4IsoProdCrossSections::GetProductIsotope ( )

Definition at line 45 of file G4IsoProdCrossSection.cc.

47{
48 return theProductName;
49}

Referenced by G4NeutronIsoIsoCrossSections::GetProductIsotope().

◆ Init()

void G4IsoProdCrossSections::Init ( std::ifstream &  aDataSet)

Definition at line 29 of file G4IsoProdCrossSection.cc.

31{
32 G4int aNumberOfPoints;
33 aDataSet>>aNumberOfPoints;
34 theProductionCrossSections.Init(aDataSet, aNumberOfPoints, eV);
35}
int G4int
Definition: G4Types.hh:66
void Init(std::ifstream &aDataFile, G4int total, G4double ux=1., G4double uy=1.)

Referenced by G4NeutronIsoIsoCrossSections::Init().


The documentation for this class was generated from the following files: