Geant4  10.02.p02
G4NeutronInelasticXS Class Reference

#include <G4NeutronInelasticXS.hh>

+ Inheritance diagram for G4NeutronInelasticXS:
+ Collaboration diagram for G4NeutronInelasticXS:

Public Member Functions

 G4NeutronInelasticXS ()
 
virtual ~G4NeutronInelasticXS ()
 
virtual G4bool IsElementApplicable (const G4DynamicParticle *, G4int Z, const G4Material *)
 
virtual G4bool IsIsoApplicable (const G4DynamicParticle *, G4int Z, G4int A, const G4Element *, const G4Material *)
 
virtual G4double GetElementCrossSection (const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
 
virtual G4double GetIsoCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso, const G4Element *elm, const G4Material *mat)
 
virtual G4IsotopeSelectIsotope (const G4Element *, G4double kinEnergy)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void CrossSectionDescription (std::ostream &) const
 
- Public Member Functions inherited from G4VCrossSectionDataSet
 G4VCrossSectionDataSet (const G4String &nam="")
 
virtual ~G4VCrossSectionDataSet ()
 
G4double GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
G4double ComputeCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *mat=0)
 
virtual void DumpPhysicsTable (const G4ParticleDefinition &)
 
virtual G4int GetVerboseLevel () const
 
virtual void SetVerboseLevel (G4int value)
 
G4double GetMinKinEnergy () const
 
void SetMinKinEnergy (G4double value)
 
G4double GetMaxKinEnergy () const
 
void SetMaxKinEnergy (G4double value)
 
const G4StringGetName () const
 

Static Public Member Functions

static const char * Default_Name ()
 

Private Member Functions

void Initialise (G4int Z, G4DynamicParticle *dp=0, const char *=0)
 
G4PhysicsVectorRetrieveVector (std::ostringstream &in, G4bool warn)
 
G4double IsoCrossSection (G4double ekin, G4int Z, G4int A)
 
G4NeutronInelasticXSoperator= (const G4NeutronInelasticXS &right)
 
 G4NeutronInelasticXS (const G4NeutronInelasticXS &)
 

Private Attributes

G4ComponentGGHadronNucleusXscggXsection
 
G4HadronNucleonXscfNucleon
 
const G4ParticleDefinitionproton
 
G4bool isMaster
 
std::vector< G4doubletemp
 

Static Private Attributes

static G4ElementDatadata = 0
 
static G4double coeff [MAXZINEL] = {1.0}
 
static const G4int amin [MAXZINEL]
 
static const G4int amax [MAXZINEL]
 

Additional Inherited Members

- Protected Member Functions inherited from G4VCrossSectionDataSet
void SetName (const G4String &)
 
- Protected Attributes inherited from G4VCrossSectionDataSet
G4int verboseLevel
 

Detailed Description

Definition at line 62 of file G4NeutronInelasticXS.hh.

Constructor & Destructor Documentation

G4NeutronInelasticXS::G4NeutronInelasticXS ( )
G4NeutronInelasticXS::~G4NeutronInelasticXS ( )
virtual

Definition at line 107 of file G4NeutronInelasticXS.cc.

References data, fNucleon, ggXsection, and isMaster.

G4NeutronInelasticXS::G4NeutronInelasticXS ( const G4NeutronInelasticXS )
private

Member Function Documentation

void G4NeutronInelasticXS::BuildPhysicsTable ( const G4ParticleDefinition p)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 279 of file G4NeutronInelasticXS.cc.

References data, FatalException, G4cout, G4endl, G4Exception(), G4lrint(), G4ElementData::GetElementData(), G4Element::GetElementTable(), G4Element::GetNumberOfElements(), G4ParticleDefinition::GetParticleName(), Initialise(), isMaster, MAXZINEL, G4Neutron::Neutron(), G4ElementData::SetName(), temp, and G4VCrossSectionDataSet::verboseLevel.

+ Here is the call graph for this function:

void G4NeutronInelasticXS::CrossSectionDescription ( std::ostream &  outFile) const
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 116 of file G4NeutronInelasticXS.cc.

G4double G4NeutronInelasticXS::GetIsoCrossSection ( const G4DynamicParticle aParticle,
G4int  Z,
G4int  A,
const G4Isotope iso,
const G4Element elm,
const G4Material mat 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 185 of file G4NeutronInelasticXS.cc.

References A(), G4DynamicParticle::GetKineticEnergy(), IsoCrossSection(), and MAXZINEL.

+ Here is the call graph for this function:

void G4NeutronInelasticXS::Initialise ( G4int  Z,
G4DynamicParticle dp = 0,
const char *  p = 0 
)
private
G4bool G4NeutronInelasticXS::IsElementApplicable ( const G4DynamicParticle ,
G4int  Z,
const G4Material  
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 127 of file G4NeutronInelasticXS.cc.

G4bool G4NeutronInelasticXS::IsIsoApplicable ( const G4DynamicParticle ,
G4int  Z,
G4int  A,
const G4Element ,
const G4Material  
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 134 of file G4NeutronInelasticXS.cc.

G4double G4NeutronInelasticXS::IsoCrossSection ( G4double  ekin,
G4int  Z,
G4int  A 
)
private

Definition at line 198 of file G4NeutronInelasticXS.cc.

References amax, amin, data, G4PhysicsVector::Energy(), G4cout, G4endl, G4ElementData::GetComponentDataByIndex(), G4ElementData::GetElementData(), Initialise(), G4PhysicsVector::Value(), and G4VCrossSectionDataSet::verboseLevel.

Referenced by GetIsoCrossSection(), and SelectIsotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4NeutronInelasticXS& G4NeutronInelasticXS::operator= ( const G4NeutronInelasticXS right)
private
G4PhysicsVector * G4NeutronInelasticXS::RetrieveVector ( std::ostringstream &  in,
G4bool  warn 
)
private

Definition at line 395 of file G4NeutronInelasticXS.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4PhysicsLogVector::Retrieve(), and G4VCrossSectionDataSet::verboseLevel.

Referenced by Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Isotope * G4NeutronInelasticXS::SelectIsotope ( const G4Element anElement,
G4double  kinEnergy 
)
virtual

Reimplemented from G4VCrossSectionDataSet.

Definition at line 224 of file G4NeutronInelasticXS.cc.

References amin, data, G4lrint(), G4UniformRand, G4ElementData::GetElementData(), G4Element::GetIsotopeVector(), G4Element::GetNumberOfIsotopes(), G4Element::GetRelativeAbundanceVector(), G4Element::GetZ(), Initialise(), IsoCrossSection(), MAXZINEL, G4InuclParticleNames::nn, and temp.

+ Here is the call graph for this function:

Member Data Documentation

const G4int G4NeutronInelasticXS::amax
staticprivate
Initial value:
= {
0,
0, 0, 7, 0,11,13,15,18, 0, 0,
0, 0, 0,30, 0, 0, 0,40, 0,48,
0, 0, 0, 0, 0,58, 0,64,65,70,
0,76, 0, 0, 0, 0, 0, 0, 0,96,
0, 0, 0, 0, 0, 0,109,116, 0,124,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0,186, 0, 0, 0, 0, 0, 0,
0,208, 0, 0, 0, 0, 0, 0, 0, 0,
0,238}

Definition at line 121 of file G4NeutronInelasticXS.hh.

Referenced by Initialise(), and IsoCrossSection().

const G4int G4NeutronInelasticXS::amin
staticprivate
Initial value:
= {
0,
0, 0, 6, 0,10,12,14,16, 0, 0,
0, 0, 0,28, 0, 0, 0,36, 0,40,
0, 0, 0, 0, 0,54, 0,58,63,64,
0,70, 0, 0, 0, 0, 0, 0, 0,90,
0, 0, 0, 0, 0, 0,107,106, 0,112,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0,180, 0, 0, 0, 0, 0, 0,
0,204, 0, 0, 0, 0, 0, 0, 0, 0,
0,235}

Definition at line 120 of file G4NeutronInelasticXS.hh.

Referenced by Initialise(), IsoCrossSection(), and SelectIsotope().

G4double G4NeutronInelasticXS::coeff = {1.0}
staticprivate

Definition at line 118 of file G4NeutronInelasticXS.hh.

Referenced by GetElementCrossSection(), and Initialise().

G4ElementData * G4NeutronInelasticXS::data = 0
staticprivate
G4HadronNucleonXsc* G4NeutronInelasticXS::fNucleon
private
G4ComponentGGHadronNucleusXsc* G4NeutronInelasticXS::ggXsection
private
G4bool G4NeutronInelasticXS::isMaster
private
const G4ParticleDefinition* G4NeutronInelasticXS::proton
private

Definition at line 111 of file G4NeutronInelasticXS.hh.

Referenced by GetElementCrossSection(), and Initialise().

std::vector<G4double> G4NeutronInelasticXS::temp
private

Definition at line 116 of file G4NeutronInelasticXS.hh.

Referenced by BuildPhysicsTable(), and SelectIsotope().


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