Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
@@ -134,12 +134,12 @@ private:
// Minimum and maximum Z in EADL table containing identities and binding
// energies of shells
G4int zMin = 1;
G4int zMax = 100;
G4int zMax = 104;
// Minimum and maximum Z in EADL table containing identities, transition
// energies and transition probabilities of shells
G4int infTableLimit = 6;
G4int supTableLimit = 100;
G4int supTableLimit = 104;
G4int verboseLevel;
G4bool isInitialized;
};
@@ -52,7 +52,7 @@ class G4AugerData
public:
explicit G4AugerData();
~G4AugerData();
~G4AugerData() = default;
/// The method returns the number of shells in wich a
/// vacancy can be filled by a NON-radiative transition, given the atomic number
@@ -87,7 +87,7 @@ public:
virtual void AddComponent(G4VEMDataSet* /* dataSet */) {}
virtual size_t NumberOfComponents(void) const { return 0; }
virtual std::size_t NumberOfComponents(void) const { return 0; }
virtual const G4DataVector& GetEnergies(G4int /* componentId */) const { return *energies; }
virtual const G4DataVector& GetData(G4int /* componentId */) const { return *data; }
@@ -112,8 +112,8 @@ public:
private:
size_t FindLowerBound(G4double energy) const;
size_t FindLowerBound(G4double x, G4DataVector* values) const;
std::size_t FindLowerBound(G4double energy) const;
std::size_t FindLowerBound(G4double x, G4DataVector* values) const;
G4double IntegrationFunction(G4double x);
virtual void BuildPdf();
@@ -58,14 +58,14 @@ public:
/// The method returns the number of shells in wich a
/// vacancy can be filled by a radiative transition
size_t NumberOfVacancies() const;
std::size_t NumberOfVacancies() const;
/// Given the index of the vacancy returns its identity
G4int VacancyId(G4int vacancyIndex) const;
/// Given the index of a vacancy returns the number of
/// shells starting from wich an electrons can fill the vacancy
size_t NumberOfTransitions(G4int vacancyIndex) const;
std::size_t NumberOfTransitions(G4int vacancyIndex) const;
/// Given the indexes of the starting and final shells for the
/// transition, returns the identity of the starting one
@@ -82,7 +82,7 @@ public:
G4JAEAElasticScatteringModel(const G4JAEAElasticScatteringModel&) = delete;
private:
void ReadData(size_t Z, const char* path = 0);
void ReadData(std::size_t Z, const char* path = 0);
static const G4int maxZ = 99;
static G4PhysicsFreeVector* dataCS[maxZ+1];
@@ -79,7 +79,7 @@ public:
G4JAEAPolarizedElasticScatteringModel(const G4JAEAPolarizedElasticScatteringModel&) = delete;
private:
void ReadData(size_t Z, const char* path = 0);
void ReadData(std::size_t Z, const char* path = 0);
G4double GeneratePolarizedPhi(G4double Sigma_para,G4double Sigma_perp, G4double initial_Pol_Plane);
static const G4int maxZ = 99;
@@ -84,8 +84,8 @@ public:
G4int GetVerbosityLevel(){return fVerboseLevel;};
//testing purposes
size_t GetNumberOfShellXS(G4int);
G4double GetShellCrossSection(G4int Z,size_t shellID,G4double energy);
std::size_t GetNumberOfShellXS(G4int);
G4double GetShellCrossSection(G4int Z,std::size_t shellID,G4double energy);
G4PenelopePhotoElectricModel & operator=(const G4PenelopePhotoElectricModel &right) = delete;
G4PenelopePhotoElectricModel(const G4PenelopePhotoElectricModel&) = delete;
@@ -98,8 +98,8 @@ private:
void SetParticle(const G4ParticleDefinition*);
G4double SampleElectronDirection(G4double energy);
void ReadDataFile(G4int Z);
size_t SelectRandomShell(G4int Z,G4double energy);
G4String WriteTargetShell(size_t shellID);
std::size_t SelectRandomShell(G4int Z,G4double energy);
G4String WriteTargetShell(std::size_t shellID);
//For each Z, the PhysicsTable contains nShell+1 physics vectors
//with log(E) vs. log(XS)
@@ -54,7 +54,7 @@ public:
explicit G4ShellData(G4int minZ = 1, G4int maxZ = 100, G4bool isOccupancy = false);
~G4ShellData();
size_t NumberOfShells(G4int Z) const;
std::size_t NumberOfShells(G4int Z) const;
G4int ShellId(G4int Z, G4int shellIndex) const;
G4double ShellOccupancyProbability(G4int Z, G4int shellIndex) const;
const std::vector<G4double>& ShellIdVector(G4int Z) const;