Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ecpssrFormFactorMixsModel Class Reference

#include <G4ecpssrFormFactorMixsModel.hh>

+ Inheritance diagram for G4ecpssrFormFactorMixsModel:

Public Member Functions

 G4ecpssrFormFactorMixsModel ()
 
virtual ~G4ecpssrFormFactorMixsModel ()
 
G4double CalculateM1CrossSection (G4int zTarget, G4double massIncident, G4double energyIncident) override
 
G4double CalculateM2CrossSection (G4int zTarget, G4double massIncident, G4double energyIncident) override
 
G4double CalculateM3CrossSection (G4int zTarget, G4double massIncident, G4double energyIncident) override
 
G4double CalculateM4CrossSection (G4int zTarget, G4double massIncident, G4double energyIncident) override
 
G4double CalculateM5CrossSection (G4int zTarget, G4double massIncident, G4double energyIncident) override
 
 G4ecpssrFormFactorMixsModel (const G4ecpssrFormFactorMixsModel &)=delete
 
G4ecpssrFormFactorMixsModeloperator= (const G4ecpssrFormFactorMixsModel &right)=delete
 
- Public Member Functions inherited from G4VecpssrMiModel
 G4VecpssrMiModel ()
 
virtual ~G4VecpssrMiModel ()
 

Detailed Description

Definition at line 48 of file G4ecpssrFormFactorMixsModel.hh.

Constructor & Destructor Documentation

◆ G4ecpssrFormFactorMixsModel() [1/2]

G4ecpssrFormFactorMixsModel::G4ecpssrFormFactorMixsModel ( )
explicit

Definition at line 50 of file G4ecpssrFormFactorMixsModel.cc.

51{
52 interpolation = new G4LinInterpolation();
53
54 for (G4int i=29; i<93; i++)
55 {
56 protonM1DataSetMap[i] = new G4EMDataSet(i,interpolation);
57 protonM1DataSetMap[i]->LoadData("pixe/ecpssr/proton/m1-i01m001c01-");
58
59 protonM2DataSetMap[i] = new G4EMDataSet(i,interpolation);
60 protonM2DataSetMap[i]->LoadData("pixe/ecpssr/proton/m2-i01m001c01-");
61
62 protonM3DataSetMap[i] = new G4EMDataSet(i,interpolation);
63 protonM3DataSetMap[i]->LoadData("pixe/ecpssr/proton/m3-i01m001c01-");
64
65 protonM4DataSetMap[i] = new G4EMDataSet(i,interpolation);
66 protonM4DataSetMap[i]->LoadData("pixe/ecpssr/proton/m4-i01m001c01-");
67
68 protonM5DataSetMap[i] = new G4EMDataSet(i,interpolation);
69 protonM5DataSetMap[i]->LoadData("pixe/ecpssr/proton/m5-i01m001c01-");
70 }
71
72 protonMiXsVector.push_back(protonM1DataSetMap);
73 protonMiXsVector.push_back(protonM2DataSetMap);
74 protonMiXsVector.push_back(protonM3DataSetMap);
75 protonMiXsVector.push_back(protonM4DataSetMap);
76 protonMiXsVector.push_back(protonM5DataSetMap);
77
78 for (G4int i=29; i<93; i++)
79 {
80 alphaM1DataSetMap[i] = new G4EMDataSet(i,interpolation);
81 alphaM1DataSetMap[i]->LoadData("pixe/ecpssr/alpha/m1-i02m004c02-");
82
83 alphaM2DataSetMap[i] = new G4EMDataSet(i,interpolation);
84 alphaM2DataSetMap[i]->LoadData("pixe/ecpssr/alpha/m2-i02m004c02-");
85
86 alphaM3DataSetMap[i] = new G4EMDataSet(i,interpolation);
87 alphaM3DataSetMap[i]->LoadData("pixe/ecpssr/alpha/m3-i02m004c02-");
88
89 alphaM4DataSetMap[i] = new G4EMDataSet(i,interpolation);
90 alphaM4DataSetMap[i]->LoadData("pixe/ecpssr/alpha/m4-i02m004c02-");
91
92 alphaM5DataSetMap[i] = new G4EMDataSet(i,interpolation);
93 alphaM5DataSetMap[i]->LoadData("pixe/ecpssr/alpha/m5-i02m004c02-");
94
95 }
96
97 alphaMiXsVector.push_back(alphaM1DataSetMap);
98 alphaMiXsVector.push_back(alphaM2DataSetMap);
99 alphaMiXsVector.push_back(alphaM3DataSetMap);
100 alphaMiXsVector.push_back(alphaM4DataSetMap);
101 alphaMiXsVector.push_back(alphaM5DataSetMap);
102}
int G4int
Definition G4Types.hh:85

◆ ~G4ecpssrFormFactorMixsModel()

G4ecpssrFormFactorMixsModel::~G4ecpssrFormFactorMixsModel ( )
virtual

Definition at line 106 of file G4ecpssrFormFactorMixsModel.cc.

107{
108 protonM1DataSetMap.clear();
109 alphaM1DataSetMap.clear();
110
111 protonM2DataSetMap.clear();
112 alphaM2DataSetMap.clear();
113
114 protonM3DataSetMap.clear();
115 alphaM3DataSetMap.clear();
116
117 protonM4DataSetMap.clear();
118 alphaM4DataSetMap.clear();
119
120 protonM5DataSetMap.clear();
121 alphaM5DataSetMap.clear();
122
123 delete interpolation;
124}

◆ G4ecpssrFormFactorMixsModel() [2/2]

G4ecpssrFormFactorMixsModel::G4ecpssrFormFactorMixsModel ( const G4ecpssrFormFactorMixsModel & )
delete

Member Function Documentation

◆ CalculateM1CrossSection()

G4double G4ecpssrFormFactorMixsModel::CalculateM1CrossSection ( G4int zTarget,
G4double massIncident,
G4double energyIncident )
overridevirtual

Implements G4VecpssrMiModel.

Definition at line 160 of file G4ecpssrFormFactorMixsModel.cc.

161{
162 // mShellId
163 return CalculateMiCrossSection (zTarget, massIncident, energyIncident, 1);
164}

◆ CalculateM2CrossSection()

G4double G4ecpssrFormFactorMixsModel::CalculateM2CrossSection ( G4int zTarget,
G4double massIncident,
G4double energyIncident )
overridevirtual

Implements G4VecpssrMiModel.

Definition at line 168 of file G4ecpssrFormFactorMixsModel.cc.

169{
170 // mShellId
171 return CalculateMiCrossSection (zTarget, massIncident, energyIncident, 2);
172}

◆ CalculateM3CrossSection()

G4double G4ecpssrFormFactorMixsModel::CalculateM3CrossSection ( G4int zTarget,
G4double massIncident,
G4double energyIncident )
overridevirtual

Implements G4VecpssrMiModel.

Definition at line 176 of file G4ecpssrFormFactorMixsModel.cc.

177{
178 return CalculateMiCrossSection (zTarget, massIncident, energyIncident, 3);
179}

◆ CalculateM4CrossSection()

G4double G4ecpssrFormFactorMixsModel::CalculateM4CrossSection ( G4int zTarget,
G4double massIncident,
G4double energyIncident )
overridevirtual

Implements G4VecpssrMiModel.

Definition at line 183 of file G4ecpssrFormFactorMixsModel.cc.

184{
185 return CalculateMiCrossSection (zTarget, massIncident, energyIncident, 4);
186}

◆ CalculateM5CrossSection()

G4double G4ecpssrFormFactorMixsModel::CalculateM5CrossSection ( G4int zTarget,
G4double massIncident,
G4double energyIncident )
overridevirtual

Implements G4VecpssrMiModel.

Definition at line 190 of file G4ecpssrFormFactorMixsModel.cc.

191{
192 return CalculateMiCrossSection (zTarget, massIncident, energyIncident, 5);
193}

◆ operator=()

G4ecpssrFormFactorMixsModel & G4ecpssrFormFactorMixsModel::operator= ( const G4ecpssrFormFactorMixsModel & right)
delete

The documentation for this class was generated from the following files: