Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ParticleHPJENDLHEData.cc File Reference
Include dependency graph for G4ParticleHPJENDLHEData.cc:

Go to the source code of this file.

Functions

 if (nIso!=0)
 
 for (G4int i1=0;i1< theStableOnes.GetNumberOfIsotopes(static_cast< G4int >(anE->GetZ()));i1++)
 

Variables

G4double
G4ParticleHPJENDLHEData::G4double 
result = 0
 
G4double ek = aP->GetKineticEnergy()
 
G4int nIso = anE->GetNumberOfIsotopes()
 
G4int Z = static_cast<G4int> ( anE->GetZ() )
 
 else
 
G4int first = theStableOnes.GetFirstIsotope( Z )
 

Function Documentation

for ( G4int  i1 = 0; i1 < theStableOnes.GetNumberOfIsotopes( static_cast<G4int>(anE->GetZ())

Definition at line 281 of file G4ParticleHPJENDLHEData.cc.

282  {
283 
284  G4int A = theStableOnes.GetIsotopeNucleonCount( first+i1 );
285  G4double frac = theStableOnes.GetAbundance( first+i1 )*perCent; // This case request "*perCent".
286 
287  result += frac * getXSfromThisIsotope( Z , A , ek );
288  //G4cout << reactionType << " XS in barn " << Z << " " << A << " " << frac << " " << getXSfromThisIsotope( Z , A , ek )/barn << G4endl;
289 
290  }
G4double G4ParticleHPJENDLHEData::G4double result
static constexpr double perCent
Definition: G4SIunits.hh:332
int G4int
Definition: G4Types.hh:78
double A(double temperature)
G4double ek
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:

if ( nIso!  = 0)

Definition at line 263 of file G4ParticleHPJENDLHEData.cc.

264  {
265  for ( G4int i1 = 0; i1 < nIso; i1++ )
266  {
267 
268  G4int A = anE->GetIsotope(i1)->GetN();
269  G4double frac = anE->GetRelativeAbundanceVector()[ i1 ]; // This case do NOT request "*perCent".
270 
271  result += frac * getXSfromThisIsotope( Z , A , ek );
272  //G4cout << reactionType << " XS in barn " << Z << " " << A << " " << frac << " " << getXSfromThisIsotope( Z , A , ek )/barn << G4endl;
273 
274  }
275  }
G4double G4ParticleHPJENDLHEData::G4double result
int G4int
Definition: G4Types.hh:78
double A(double temperature)
G4double ek
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

G4double ek = aP->GetKineticEnergy()

Definition at line 259 of file G4ParticleHPJENDLHEData.cc.

else
Initial value:

Definition at line 277 of file G4ParticleHPJENDLHEData.cc.

G4int first = theStableOnes.GetFirstIsotope( Z )

Definition at line 280 of file G4ParticleHPJENDLHEData.cc.

G4int nIso = anE->GetNumberOfIsotopes()

Definition at line 261 of file G4ParticleHPJENDLHEData.cc.

return result = 0

Definition at line 257 of file G4ParticleHPJENDLHEData.cc.

G4int Z = static_cast<G4int> ( anE->GetZ() )

Definition at line 262 of file G4ParticleHPJENDLHEData.cc.