#include <G4NeutronHPElementData.hh>
|
| G4NeutronHPElementData () |
|
| ~G4NeutronHPElementData () |
|
void | Init (G4Element *theElement) |
|
void | UpdateData (G4int A, G4int Z, G4int index, G4double abundance) |
|
void | UpdateData (G4int A, G4int Z, G4int M, G4int index, G4double abundance) |
|
void | Harmonise (G4NeutronHPVector *&theStore, G4NeutronHPVector *theNew) |
|
G4NeutronHPVector * | GetData (G4NeutronHPFissionData *) |
|
G4NeutronHPVector * | GetData (G4NeutronHPCaptureData *) |
|
G4NeutronHPVector * | GetData (G4NeutronHPElasticData *) |
|
G4NeutronHPVector * | GetData (G4NeutronHPInelasticData *) |
|
G4NeutronHPVector * | MakePhysicsVector (G4Element *theElement, G4ParticleDefinition *theP, G4NeutronHPFissionData *theSet) |
|
G4NeutronHPVector * | MakePhysicsVector (G4Element *theElement, G4ParticleDefinition *theP, G4NeutronHPCaptureData *theSet) |
|
G4NeutronHPVector * | MakePhysicsVector (G4Element *theElement, G4ParticleDefinition *theP, G4NeutronHPElasticData *theSet) |
|
G4NeutronHPVector * | MakePhysicsVector (G4Element *theElement, G4ParticleDefinition *theP, G4NeutronHPInelasticData *theSet) |
|
| G4HadronCrossSections () |
|
| ~G4HadronCrossSections () |
|
G4bool | IsApplicable (const G4DynamicParticle *aParticle) |
|
G4double | GetElasticCrossSection (const G4DynamicParticle *, G4int, G4int) |
|
G4double | GetInelasticCrossSection (const G4DynamicParticle *, G4int, G4int) |
|
G4double | GetCaptureCrossSection (const G4DynamicParticle *, G4int) |
|
G4double | GetFissionCrossSection (const G4DynamicParticle *, G4int, G4int) |
|
void | SetVerboseLevel (G4int value) |
|
G4int | GetVerboseLevel () |
|
Definition at line 53 of file G4NeutronHPElementData.hh.
◆ G4NeutronHPElementData()
G4NeutronHPElementData::G4NeutronHPElementData |
( |
| ) |
|
◆ ~G4NeutronHPElementData()
G4NeutronHPElementData::~G4NeutronHPElementData |
( |
| ) |
|
Definition at line 45 of file G4NeutronHPElementData.cc.
46 {
47 delete theFissionData;
48 delete theCaptureData;
49 delete theElasticData;
50 delete theInelasticData;
51 delete [] theIsotopeWiseData;
52 }
◆ GetData() [1/4]
◆ GetData() [2/4]
◆ GetData() [3/4]
◆ GetData() [4/4]
◆ Harmonise()
Definition at line 141 of file G4NeutronHPElementData.cc.
142 {
143 if(theNew == 0) { return; }
144 G4int s_tmp = 0,
n=0, m_tmp=0;
146
147 while ( theStore->
GetEnergy(s_tmp)<theNew->
GetEnergy(0)&&s_tmp<theStore->GetVectorLength() )
148 {
150 s_tmp++;
151 }
155 G4int a = s_tmp, p =
n, t;
156
157 while (a<active->GetVectorLength()&&p<passive->GetVectorLength())
158 {
160 {
165 m_tmp++;
166 a++;
167 } else {
168
169 tmp = active; t=a;
170 active = passive; a=p;
171 passive = tmp; p=t;
172 }
173 }
174
176 {
178 a++;
179 }
180
182 {
183
184
188 p++;
189 }
190
191 delete theStore;
192 theStore = theMerge;
193
194 }
G4int GetVectorLength() const
G4double GetEnergy(G4int i) const
G4double GetXsec(G4int i)
void SetData(G4int i, G4double x, G4double y)
Referenced by UpdateData().
◆ Init()
void G4NeutronHPElementData::Init |
( |
G4Element * |
theElement | ) |
|
Definition at line 54 of file G4NeutronHPElementData.cc.
55 {
57 if(count == 0) count +=
60
61 count = 0;
64
65 if(nIso!=0)
66 {
67 for (
G4int i1=0; i1<nIso; i1++)
68 {
69
73
75 }
76 }else{
77
79
82 i1++)
83 {
84
87
89 }
90 }
91 theElasticData->
ThinOut(precision);
92 theInelasticData->
ThinOut(precision);
93 theCaptureData->
ThinOut(precision);
94 theFissionData->
ThinOut(precision);
95 }
G4double * GetRelativeAbundanceVector() const
const G4Isotope * GetIsotope(G4int iso) const
size_t GetNumberOfIsotopes() const
void UpdateData(G4int A, G4int Z, G4int index, G4double abundance)
void ThinOut(G4double precision)
G4double GetAbundance(G4int number)
G4int GetFirstIsotope(G4int Z)
G4int GetNumberOfIsotopes(G4int Z)
G4int GetIsotopeNucleonCount(G4int number)
Referenced by G4NeutronHPorLEInelasticData::BuildPhysicsTable(), and MakePhysicsVector().
◆ MakePhysicsVector() [1/4]
Definition at line 204 of file G4NeutronHPElementData.cc.
207 {
211 }
void Init(G4Element *theElement)
G4NeutronHPVector * GetData(G4NeutronHPFissionData *)
static G4Neutron * Neutron()
◆ MakePhysicsVector() [2/4]
◆ MakePhysicsVector() [3/4]
◆ MakePhysicsVector() [4/4]
◆ UpdateData() [1/2]
◆ UpdateData() [2/2]
Definition at line 98 of file G4NeutronHPElementData.cc.
99 {
100
101
102
103 theIsotopeWiseData[index].
Init(A, Z, M, abundance);
104
105
107
108
110
111
112 delete theBuffer;
113
115
116
118
119
120 delete theBuffer;
121
123
124
126
127
128 delete theBuffer;
129
131
132
134
135
136 delete theBuffer;
137
138
139 }
void Harmonise(G4NeutronHPVector *&theStore, G4NeutronHPVector *theNew)
G4NeutronHPVector * MakeFissionData()
G4NeutronHPVector * MakeElasticData()
G4bool Init(G4int A, G4int Z, G4double abun, G4String dirName, G4String aFSType)
G4NeutronHPVector * MakeCaptureData()
G4NeutronHPVector * MakeInelasticData()
The documentation for this class was generated from the following files: