Import Geant4 5.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:15:15 +02:00
parent 37fff30d2e
commit fbd4999cf7
4396 changed files with 56662 additions and 52446 deletions
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4eBremsstrahlungSpectrum.hh,v 1.3 2002/05/28 09:15:26 pia Exp $
// GEANT4 tag $Name: geant4-05-00 $
// $Id: G4eBremsstrahlungSpectrum.hh,v 1.5 2003/02/28 08:41:47 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-01 $
//
// -------------------------------------------------------------------
//
@@ -31,17 +31,19 @@
// File name: G4EBremsstrahlungSpectrum
//
// Author: V.Ivanchenko (Vladimir.Ivantchenko@cern.ch)
//
//
// Creation date: 27 September 2001
//
// Modifications:
// Modifications:
// 10.10.01 MGP Revision to improve code quality and consistency with design
// 29.11.01 V.Ivanchenko Parametrisation is updated
// 21.02.03 V.Ivanchenko Energy bins are defined in the constructor
// 28.02.03 V.Ivanchenko Filename is defined in the constructor
//
// -------------------------------------------------------------------
// Class Description:
// Provides various integration over gamma spectrum of e- Bremsstrahlung.
// Class Description:
// Provides various integration over gamma spectrum of e- Bremsstrahlung.
// Parametrisation is described in Physics Reference Manual based on
// data from EEDL database.
// Further documentation available from http://www.ge.infn.it/geant4/lowE
@@ -53,7 +55,7 @@
#include "globals.hh"
#include "G4DataVector.hh"
#include "G4VEnergySpectrum.hh"
#include "G4VEnergySpectrum.hh"
class G4BremsstrahlungParameters;
@@ -61,51 +63,51 @@ class G4eBremsstrahlungSpectrum : public G4VEnergySpectrum
{
public:
G4eBremsstrahlungSpectrum();
G4eBremsstrahlungSpectrum(const G4DataVector& bins,const G4String& name);
~G4eBremsstrahlungSpectrum();
G4double Probability(G4int Z,
G4double tMin,
G4double tMax,
G4double kineticEnergy,
G4int shell=0,
G4double Probability(G4int Z,
G4double tMin,
G4double tMax,
G4double kineticEnergy,
G4int shell=0,
const G4ParticleDefinition* pd=0) const;
G4double AverageEnergy(G4int Z,
G4double tMin,
G4double AverageEnergy(G4int Z,
G4double tMin,
G4double tMax,
G4double kineticEnergy,
G4int shell=0,
G4int shell=0,
const G4ParticleDefinition* pd=0) const;
G4double SampleEnergy(G4int Z,
G4double tMin,
G4double SampleEnergy(G4int Z,
G4double tMin,
G4double tMax,
G4double kineticEnergy,
G4int shell=0,
G4int shell=0,
const G4ParticleDefinition* pd=0) const;
G4double MaxEnergyOfSecondaries(G4double kineticEnergy,
G4int Z = 0,
const G4ParticleDefinition* pd=0) const;
G4double Excitation(G4int Z, G4double kineticEnergy) const;
G4double Excitation(G4int Z, G4double kineticEnergy) const;
void PrintData() const;
private:
G4double IntSpectrum(G4double xMin, G4double xMax,
const G4DataVector& p) const;
const G4DataVector& p) const;
G4double AverageValue(G4double xMin, G4double xMax,
const G4DataVector& p) const;
G4double Function(G4double x, const G4DataVector& p) const;
const G4DataVector& p) const;
G4double Function(G4double x, const G4DataVector& p) const;
// Hide copy constructor and assignment operator
// Hide copy constructor and assignment operator
G4eBremsstrahlungSpectrum(const G4eBremsstrahlungSpectrum&);
G4eBremsstrahlungSpectrum & operator = (const G4eBremsstrahlungSpectrum &right);
@@ -113,7 +115,7 @@ private:
G4double lowestE;
size_t length;
G4int verbose;
G4DataVector xp;
const G4DataVector& xp;
};
#endif