#include <G4PaulKxsModel.hh>
Definition at line 51 of file G4PaulKxsModel.hh.
◆ G4PaulKxsModel()
G4PaulKxsModel::G4PaulKxsModel |
( |
| ) |
|
Definition at line 56 of file G4PaulKxsModel.cc.
57{
58
59
61
62
63 for (
G4int i=4; i<93; i++) {
64 protonDataSetMap[i] =
new G4EMDataSet(i,interpolation);
65 protonDataSetMap[i]->LoadData("pixe/kpcsPaul/kcs-");
66 }
67 for (
G4int i=6; i<93; i++) {
68 alphaDataSetMap[i] =
new G4EMDataSet(i,interpolation);
69 alphaDataSetMap[i]->LoadData("pixe/kacsPaul/kacs-");
70 }
71
72
73
74
75}
◆ ~G4PaulKxsModel()
G4PaulKxsModel::~G4PaulKxsModel |
( |
| ) |
|
|
virtual |
Definition at line 77 of file G4PaulKxsModel.cc.
78{
79
80 protonDataSetMap.clear();
81 alphaDataSetMap.clear();
82 delete interpolation;
83
84}
◆ CalculateKCrossSection()
Definition at line 86 of file G4PaulKxsModel.cc.
87{
88
91
93
94 if (massIncident == aProtone->
GetPDGMass() && zTarget < 93 && zTarget > 3)
95 {
96
97
98
99
100 if (energyIncident > protonDataSetMap[zTarget]->GetEnergies(0).back() ||
101 energyIncident < protonDataSetMap[zTarget]->GetEnergies(0).front() )
102 {sigma = 0;}
103 else {
104 sigma = protonDataSetMap[zTarget]->FindValue(energyIncident/MeV);
105 }
106 }
107 else
108 {
109 if (massIncident == aAlpha->
GetPDGMass() && zTarget < 93 && zTarget > 5)
110 {
111 if (energyIncident > alphaDataSetMap[zTarget]->GetEnergies(0).back() ||
112 energyIncident < alphaDataSetMap[zTarget]->GetEnergies(0).front() )
113 {sigma = 0;}
114 else {
115 sigma = alphaDataSetMap[zTarget]->FindValue(energyIncident/MeV);
116 }
117 }
118 else
119 {
120
121
122 sigma = 0.;
123
124 }
125 }
126
127
128
129 return sigma;
130}
G4double GetPDGMass() const
static G4Proton * Proton()
Referenced by G4empCrossSection::CrossSection(), and G4empCrossSection::GetCrossSection().
The documentation for this class was generated from the following files: