Import Geant4 1.0.0 source tree
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
#ifndef G4NeutronElementCrossSections_h
|
||||
#define G4NeutronElementCrossSections_h
|
||||
|
||||
class G4NeutronElementCrossSections
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
#endif
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
#ifndef G4NeutronElementIsoCrossSections_h
|
||||
#define G4NeutronElementIsoCrossSections_h
|
||||
|
||||
#include "G4NeutronIsoIsoCrossSections.hh"
|
||||
#include "G4StableIsotopes.hh"
|
||||
#include "G4IsoResult.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
class G4NeutronElementIsoCrossSections
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4NeutronElementIsoCrossSections();
|
||||
~G4NeutronElementIsoCrossSections();
|
||||
void Init(const G4Element * anElement);
|
||||
|
||||
G4double GetCrossSection(G4double anEnergy);
|
||||
G4IsoResult * GetProductIsotope(G4double anEnergy);
|
||||
|
||||
private:
|
||||
|
||||
G4NeutronIsoIsoCrossSections ** theData;
|
||||
G4int nIsotopes;
|
||||
G4StableIsotopes theStableOnes;
|
||||
G4double crossSectionBuffer;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
#ifndef G4NeutronIsoIsoCrossSections_h
|
||||
#define G4NeutronIsoIsoCrossSections_h
|
||||
|
||||
#include "G4NeutronHPVector.hh"
|
||||
#include "G4NeutronIsoProdCrossSections.hh"
|
||||
#include "G4NeutronHPNames.hh"
|
||||
|
||||
class G4NeutronIsoIsoCrossSections
|
||||
{
|
||||
|
||||
public:
|
||||
|
||||
G4NeutronIsoIsoCrossSections();
|
||||
~G4NeutronIsoIsoCrossSections();
|
||||
void Init(G4int A, G4int Z, G4double frac);
|
||||
G4double GetCrossSection(G4double anEnergy);
|
||||
G4String GetProductIsotope(G4double anEnergy);
|
||||
|
||||
G4int GetZ() { return theZ; }
|
||||
G4int GetA() { return theA; }
|
||||
|
||||
private:
|
||||
|
||||
G4int theNumberOfProducts;
|
||||
G4NeutronIsoProdCrossSections ** theProductionData;
|
||||
G4NeutronHPVector theCrossSection;
|
||||
G4NeutronHPNames theNames;
|
||||
G4bool hasData;
|
||||
G4int theA;
|
||||
G4int theZ;
|
||||
};
|
||||
|
||||
#endif
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
#ifndef G4NeutronIsoProdCrossSections_h
|
||||
#define G4NeutronIsoProdCrossSections_h
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4NeutronHPVector.hh"
|
||||
|
||||
class G4NeutronIsoProdCrossSections
|
||||
{
|
||||
public:
|
||||
G4NeutronIsoProdCrossSections(G4String aString)
|
||||
{ theProductName=aString; }
|
||||
void Init(ifstream & aDataSet);
|
||||
G4double GetProductionCrossSection(G4double anEnergy);
|
||||
G4String GetProductIsotope();
|
||||
|
||||
private:
|
||||
|
||||
G4String theProductName;
|
||||
G4NeutronHPVector theProductionCrossSections;
|
||||
};
|
||||
|
||||
#endif
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
#ifndef G4NeutronIsotopeProduction_h
|
||||
#define G4NeutronIsotopeProduction_h
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4VIsotopeProduction.hh"
|
||||
#include "G4NeutronElementIsoCrossSections.hh"
|
||||
#include "Randomize.hh"
|
||||
|
||||
class G4NeutronIsotopeProduction : public G4VIsotopeProduction
|
||||
{
|
||||
public:
|
||||
|
||||
G4NeutronIsotopeProduction();
|
||||
~G4NeutronIsotopeProduction();
|
||||
|
||||
G4IsoResult * GetIsotope(const G4Track & aTrack, const G4Nucleus & aNucleus);
|
||||
|
||||
private:
|
||||
|
||||
G4NeutronElementIsoCrossSections ** theData;
|
||||
G4int numberOfElements;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user