Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4GammaNuclearXS.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26//
27// -------------------------------------------------------------------
28//
29// GEANT4 Class header file
30//
31//
32// File name: G4GammaNuclearXS
33//
34// Authors V.Ivantchenko, Geant4, 20 October 2020
35// B.Kutsenko, BINP/NSU, 10 August 2021
36//
37//
38// Class Description:
39// This is a base class for gamma-nuclear cross section based on
40// data files from IAEA Evaluated Photonuclear Data Library (IAEA/PD-2019)
41// https://www-nds.iaea.org/photonuclear/
42// Database review:
43// https://www.sciencedirect.com/science/article/pii/S0090375219300699?via%3Dihub
44//
45
46#ifndef G4GammaNuclearXS_h
47#define G4GammaNuclearXS_h 1
48
50#include "globals.hh"
51#include <vector>
52
55class G4Element;
56class G4ElementData;
57class G4PhysicsVector;
58
60{
61public:
62
64
65 ~G4GammaNuclearXS() override = default;
66
67 static const char* Default_Name() { return "GammaNuclearXS"; }
68
70 G4int Z, const G4Material*) final;
71
73 const G4Element*, const G4Material* mat) final;
74
76 G4int Z,
77 const G4Material* mat = nullptr) final;
78
80 const G4Isotope* iso = nullptr,
81 const G4Element* elm = nullptr,
82 const G4Material* mat = nullptr) final;
83
84 const G4Isotope* SelectIsotope(const G4Element*,
85 G4double kinEnergy, G4double logE) final;
86
87 void BuildPhysicsTable(const G4ParticleDefinition&) final;
88
90
92
94
95 void CrossSectionDescription(std::ostream&) const final;
96
97 G4GammaNuclearXS & operator=(const G4GammaNuclearXS &right) = delete;
99
100private:
101
102 void Initialise(G4int Z);
103
104 const G4String& FindDirectoryPath();
105
106 G4PhysicsVector* RetrieveVector(std::ostringstream& in, G4bool warn, G4int Z);
107
108 G4VCrossSectionDataSet* ggXsection = nullptr;
109 const G4ParticleDefinition* gamma;
110
111 // Cache
112 G4double fXS = 0.0;
113 G4double fEkin = 0.0;
114 G4int fZ = 0;
115
116 static const G4int MAXZGAMMAXS = 95;
117 static const G4int MAXNFREE = 11;
118 static G4ElementData* data;
119 // Upper limit of the linear transition between IAEA database and CHIPS model
120 static const G4double eTransitionBound;
121 // The list of elements with non-linear parametrisation for better precision
122 static const G4int freeVectorException[MAXNFREE];
123 // CHIPS photonuclear model had a problem with high energy parametrisation
124 // for isotopes of H and He, coefficient is needed to connect isotope cross
125 // section with element cross-section on high energies.
126 static G4double coeff[3][3];
127 static G4double xs150[MAXZGAMMAXS];
128 static G4String gDataDirectory;
129
130 std::vector<G4double> temp;
131};
132
133#endif
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
int G4int
Definition G4Types.hh:85
const G4double A[17]
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=nullptr, const G4Element *elm=nullptr, const G4Material *mat=nullptr) final
static const char * Default_Name()
void BuildPhysicsTable(const G4ParticleDefinition &) final
G4double LowEnergyCrossSection(G4double ekin, G4int Z)
G4double ElementCrossSection(G4double ekin, G4int Z)
G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *, const G4Material *mat) final
G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat=nullptr) final
void CrossSectionDescription(std::ostream &) const final
G4double IsoCrossSection(G4double ekin, G4int Z, G4int A)
~G4GammaNuclearXS() override=default
const G4Isotope * SelectIsotope(const G4Element *, G4double kinEnergy, G4double logE) final
G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *) final