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 ( G4String  aString  )  [inline]

Definition at line 35 of file G4IsoProdCrossSections.hh.

References G4cout, and G4endl.

00035                                            {
00036     theProductName=aString;
00037     G4cout << "WARNING: G4IsoProdCrossSections is deprecated and will be removed with Geant4 version 10"
00038            << G4endl;
00039   }


Member Function Documentation

G4double G4IsoProdCrossSections::GetProductionCrossSection ( G4double  anEnergy  ) 

Definition at line 38 of file G4IsoProdCrossSection.cc.

References G4NeutronHPVector::GetY().

00039 {
00040   G4double result;
00041   result = theProductionCrossSections.GetY(anEnergy);
00042   return result;
00043 }

G4String G4IsoProdCrossSections::GetProductIsotope (  ) 

Definition at line 46 of file G4IsoProdCrossSection.cc.

Referenced by G4NeutronIsoIsoCrossSections::GetProductIsotope().

00047 {
00048   return theProductName;
00049 }

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

Definition at line 30 of file G4IsoProdCrossSection.cc.

References G4NeutronHPVector::Init().

Referenced by G4NeutronIsoIsoCrossSections::Init().

00031 {
00032   G4int aNumberOfPoints;
00033   aDataSet>>aNumberOfPoints;
00034   theProductionCrossSections.Init(aDataSet, aNumberOfPoints, eV);
00035 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:52:18 2013 for Geant4 by  doxygen 1.4.7