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