Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
||||
verboseLevel = value;
|
||||
}
|
||||
|
||||
G4int GetVerboseLevel(G4int value)
|
||||
G4int GetVerboseLevel()
|
||||
{
|
||||
return verboseLevel;
|
||||
}
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ElectroNuclearCrossSection.hh,v 1.8 2002/12/12 19:16:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4ElectroNuclearCrossSection.hh,v 1.10 2003/06/16 17:03:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// GEANT4 physics class: G4ElectroNuclearCrossSection -- header file
|
||||
@@ -39,7 +39,7 @@
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4NucleiProperties.hh"
|
||||
#include "G4NucleiPropertiesTable.hh"
|
||||
#include "g4std/vector"
|
||||
#include <vector>
|
||||
#include "Randomize.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4Positron.hh"
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
|
||||
~G4ElectroNuclearCrossSection() {}
|
||||
|
||||
G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* anElement)
|
||||
G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* )
|
||||
{
|
||||
//return theHadronCrossSections->IsApplicable(aParticle, anElement);
|
||||
// Possible prototype
|
||||
@@ -139,7 +139,7 @@ inline G4double G4ElectroNuclearCrossSection::ThresholdEnergy(G4int Z, G4int N)
|
||||
return dN;
|
||||
}
|
||||
|
||||
inline G4double G4ElectroNuclearCrossSection::DFun(G4double x) // Original PhoNuc cross section
|
||||
inline G4double G4ElectroNuclearCrossSection::DFun(G4double /* x */) // Original PhoNuc cross section
|
||||
{
|
||||
static const G4double shd=1.0734; // HE PomShadowing(D)
|
||||
static const G4double poc=0.0375; // HE Pomeron coefficient
|
||||
@@ -151,7 +151,7 @@ inline G4double G4ElectroNuclearCrossSection::DFun(G4double x) // Original PhoNu
|
||||
return poc*(lE-pos)+shd*exp(-reg*lE);
|
||||
}
|
||||
|
||||
inline G4double G4ElectroNuclearCrossSection::Fun(G4double x) // Integrated PhoNuc cross section
|
||||
inline G4double G4ElectroNuclearCrossSection::Fun(G4double /* x */) // Integrated PhoNuc cross section
|
||||
{
|
||||
static const G4double mel=0.5109989; // Mass of electron in MeV
|
||||
static const G4double lmel=log(mel); // Log of electron mass
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
}
|
||||
|
||||
G4double GetCrossSection(const G4DynamicParticle* aParticle,
|
||||
const G4Element* anElement, G4double aTemperature)
|
||||
const G4Element* anElement, G4double )
|
||||
{
|
||||
return theHadronCrossSections->GetCaptureCrossSection(aParticle,
|
||||
anElement);
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4HadronCrossSections.hh,v 1.8 2002/12/12 19:16:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4HadronCrossSections.hh,v 1.9 2003/06/03 09:21:38 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// GEANT4 Hadron physics class -- header file
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
}
|
||||
|
||||
G4bool IsApplicable(const G4DynamicParticle* aParticle,
|
||||
const G4Element* anElement)
|
||||
const G4Element* )
|
||||
{
|
||||
return (GetParticleCode(aParticle) > 0);
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
}
|
||||
|
||||
G4double GetCrossSection(const G4DynamicParticle* aParticle,
|
||||
const G4Element* anElement, G4double aTemperature)
|
||||
const G4Element* anElement, G4double )
|
||||
{
|
||||
return theHadronCrossSections->GetElasticCrossSection(aParticle,
|
||||
anElement);
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
}
|
||||
|
||||
G4double GetCrossSection(const G4DynamicParticle* aParticle,
|
||||
const G4Element* anElement, G4double aTemperature)
|
||||
const G4Element* anElement, G4double )
|
||||
{
|
||||
return theHadronCrossSections->GetFissionCrossSection(aParticle,
|
||||
anElement);
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
}
|
||||
|
||||
G4double GetCrossSection(const G4DynamicParticle* aParticle,
|
||||
const G4Element* anElement, G4double aTemperature)
|
||||
const G4Element* anElement, G4double /*aTemperature*/)
|
||||
{
|
||||
return theHadronCrossSections->GetInelasticCrossSection(aParticle,
|
||||
anElement);
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PhotoNuclearCrossSection.hh,v 1.7 2002/12/12 19:16:49 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: G4PhotoNuclearCrossSection.hh,v 1.9 2003/06/16 17:03:01 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// GEANT4 physics class: G4PhotoNuclearCrossSection -- header file
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "G4ParticleTable.hh"
|
||||
#include "G4NucleiProperties.hh"
|
||||
#include "G4NucleiPropertiesTable.hh"
|
||||
#include "g4std/vector"
|
||||
#include <vector>
|
||||
|
||||
class G4PhotoNuclearCrossSection : public G4VCrossSectionDataSet
|
||||
{
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
|
||||
~G4PhotoNuclearCrossSection() {}
|
||||
|
||||
G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* anElement)
|
||||
G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* )
|
||||
{
|
||||
//return theHadronCrossSections->IsApplicable(aParticle, anElement);
|
||||
// Possible prototype
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
#ifndef G4PiData_h
|
||||
#define G4PiData_h
|
||||
|
||||
#include "g4std/vector"
|
||||
#include "g4std/algorithm"
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include "globals.hh"
|
||||
|
||||
class G4PiData : public G4std::vector<G4std::pair<G4double, G4std::pair<G4double, G4double > > >
|
||||
class G4PiData : public std::vector<std::pair<G4double, std::pair<G4double, G4double > > >
|
||||
{
|
||||
public:
|
||||
G4PiData(const G4double * aTotal, const G4double * aInelastic, const G4double * anEnergy, G4int nPoints);
|
||||
|
||||
@@ -127,9 +127,9 @@ static const G4double u_m_in[35];
|
||||
static const G4double u_p_t[30];
|
||||
static const G4double u_p_in[30];
|
||||
|
||||
G4std::vector<G4int> theZ;
|
||||
G4std::vector<G4PiData *> thePipData;
|
||||
G4std::vector<G4PiData *> thePimData;
|
||||
std::vector<G4int> theZ;
|
||||
std::vector<G4PiData *> thePipData;
|
||||
std::vector<G4PiData *> thePimData;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public: // Without Description
|
||||
verboseLevel = value;
|
||||
}
|
||||
|
||||
G4int GetVerboseLevel(G4int value)
|
||||
G4int GetVerboseLevel()
|
||||
{
|
||||
return verboseLevel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user