#include <G4ANSTOecpssrKxsModel.hh>
Definition at line 48 of file G4ANSTOecpssrKxsModel.hh.
◆ G4ANSTOecpssrKxsModel()
G4ANSTOecpssrKxsModel::G4ANSTOecpssrKxsModel |
( |
| ) |
|
Definition at line 54 of file G4ANSTOecpssrKxsModel.cc.
55{
56
58
60 for (
G4int i=6; i<93; i++)
61 {
62 protonDataSetMap[i] =
new G4EMDataSet(i,interpolation);
63 protonDataSetMap[i]->LoadData("pixe_ANSTO/proton/k-");
64 }
65
66 for (
G4int i=6; i<93; i++)
67 {
68 alphaDataSetMap[i] =
new G4EMDataSet(i,interpolation);
69 alphaDataSetMap[i]->LoadData("pixe_ANSTO/alpha/k-");
70 }
71
72}
G4GLOB_DLL std::ostream G4cout
◆ ~G4ANSTOecpssrKxsModel()
G4ANSTOecpssrKxsModel::~G4ANSTOecpssrKxsModel |
( |
| ) |
|
|
virtual |
Definition at line 76 of file G4ANSTOecpssrKxsModel.cc.
77{
78 protonDataSetMap.clear();
79 alphaDataSetMap.clear();
80 delete interpolation;
81}
◆ CalculateCrossSection()
Implements G4VecpssrKModel.
Definition at line 85 of file G4ANSTOecpssrKxsModel.cc.
86{
90
92 {
93 if (energyIncident > 0.2*MeV && energyIncident < 5.*MeV && zTarget < 93 && zTarget > 5) {
94
95 sigma = protonDataSetMap[zTarget]->FindValue(energyIncident/MeV);
96 if (sigma !=0 && energyIncident > protonDataSetMap[zTarget]->GetEnergies(0).back()*MeV) return 0.;
97 }
98 }
99
100 else if (massIncident == aAlpha->
GetPDGMass())
101 {
102 if (energyIncident > 0.2*MeV && energyIncident < 40.*MeV && zTarget < 93 && zTarget > 5) {
103
104 sigma = alphaDataSetMap[zTarget]->FindValue(energyIncident/MeV);
105 if (sigma !=0 && energyIncident > alphaDataSetMap[zTarget]->GetEnergies(0).back()*MeV) return 0.;
106 }
107 }
108
109 else
110 {
111 sigma = 0.;
112 }
113
114
115
116 return sigma;
117}
G4double GetPDGMass() const
static G4Proton * Proton()
The documentation for this class was generated from the following files: