#include <G4ecpssrFormFactorKxsModel.hh>
◆ G4ecpssrFormFactorKxsModel() [1/2]
G4ecpssrFormFactorKxsModel::G4ecpssrFormFactorKxsModel |
( |
| ) |
|
|
explicit |
Definition at line 53 of file G4ecpssrFormFactorKxsModel.cc.
54{
56
57 for (
G4int i=3; i<93; i++)
58 {
59 protonDataSetMap[i] =
new G4EMDataSet(i,interpolation);
60 protonDataSetMap[i]->LoadData("pixe/ecpssr/proton/k-i01m001c01-");
61 }
62
63 for (
G4int i=3; i<93; i++)
64 {
65 alphaDataSetMap[i] =
new G4EMDataSet(i,interpolation);
66 alphaDataSetMap[i]->LoadData("pixe/ecpssr/alpha/k-i02m004c02-");
67 }
68}
◆ ~G4ecpssrFormFactorKxsModel()
G4ecpssrFormFactorKxsModel::~G4ecpssrFormFactorKxsModel |
( |
| ) |
|
|
virtual |
◆ G4ecpssrFormFactorKxsModel() [2/2]
◆ CalculateCrossSection()
Implements G4VecpssrKModel.
Definition at line 81 of file G4ecpssrFormFactorKxsModel.cc.
82{
86
87 if (energyIncident > 0.1*MeV && energyIncident < 100.*MeV && zTarget < 93 && zTarget > 2) {
88
90 {
91 sigma = protonDataSetMap[zTarget]->FindValue(energyIncident/MeV);
92 if (sigma !=0 && energyIncident > protonDataSetMap[zTarget]->GetEnergies(0).back()*MeV) return 0.;
93 }
95 {
96 sigma = alphaDataSetMap[zTarget]->FindValue(energyIncident/MeV);
97 if (sigma !=0 && energyIncident > alphaDataSetMap[zTarget]->GetEnergies(0).back()*MeV) return 0.;
98 }
99 else
100 {
101 sigma = 0.;
102 }
103 }
104
105
106
107 return sigma;
108}
G4double GetPDGMass() const
static G4Proton * Proton()
◆ operator=()
The documentation for this class was generated from the following files: