Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4AblaVirtualData.cc
이 파일의 문서화 페이지로 가기
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // ABLAXX statistical de-excitation model
27 // Jose Luis Rodriguez, GSI (translation from ABLA07 and contact person)
28 // Pekka Kaitaniemi, HIP (initial translation of ablav3p)
29 // Aleksandra Kelic, GSI (ABLA07 code)
30 // Davide Mancusi, CEA (contact person INCL)
31 // Aatos Heikkinen, HIP (project coordination)
32 //
33 
34 #define ABLAXX_IN_GEANT4_MODE 1
35 
36 #include "globals.hh"
37 
38 #include "G4AblaVirtualData.hh"
39 
40 #ifdef ABLAXX_IN_GEANT4_MODE
42 #else
44 #endif
46 
47 bool G4AblaVirtualData::setAlpha(int A, int Z, double value)
48 {
49  alpha[A][Z] = value;
50 
51  return true;
52 }
53 
54 bool G4AblaVirtualData::setEcnz(int A, int Z, double value)
55 {
56  ecnz[A][Z] = value;
57 
58  return true;
59 }
60 
61 bool G4AblaVirtualData::setVgsld(int A, int Z, double value)
62 {
63  vgsld[A][Z] = value;
64 
65  return true;
66 }
67 
68 bool G4AblaVirtualData::setPace2(int A, int Z, double value)
69 {
70  pace2[A][Z] = value;
71 
72  return true;
73 }
74 
75 bool G4AblaVirtualData::setRms(int A, int Z, double value)
76 {
77  rms[A][Z] = value;
78 
79  return true;
80 }
81 
82 bool G4AblaVirtualData::setMexp(int A, int Z, double value)
83 {
84  mexp[A][Z] = value;
85 
86  return true;
87 }
88 
90 {
91  mexpid[A][Z] = value;
92 
93  return true;
94 }
95 
96 bool G4AblaVirtualData::setBeta2(int A, int Z, double value)
97 {
98  beta2[A][Z] = value;
99 
100  return true;
101 }
102 
103 bool G4AblaVirtualData::setBeta4(int A, int Z, double value)
104 {
105  beta4[A][Z] = value;
106 
107  return true;
108 }
109 
110 
112 {
113  return alpha[A][Z];
114 }
115 
117 {
118  return ecnz[A][Z];
119 }
120 
122 {
123  return vgsld[A][Z];
124 }
125 
127 {
128  return pace2[A][Z];
129 }
130 
131 double G4AblaVirtualData::getRms(int A, int Z)
132 {
133  return rms[A][Z];
134 }
135 
137 {
138  return mexp[A][Z];
139 }
140 
142 {
143  return mexpid[A][Z];
144 }
145 
147 {
148  return beta2[A][Z];
149 }
150 
152 {
153  return beta4[A][Z];
154 }
155 
157 {
158  return alphaRows;
159 }
160 
162 {
163  return alphaCols;
164 }
166 {
167  return paceRows;
168 }
170 {
171  return paceCols;
172 }
G4bool setMexpID(G4int A, G4int Z, G4int value)
G4bool setRms(G4int A, G4int Z, G4double value)
G4bool setVgsld(G4int A, G4int Z, G4double value)
G4bool setPace2(G4int A, G4int Z, G4double value)
G4double getMexp(G4int A, G4int Z)
G4double mexp[massRows][massCols]
G4double ecnz[alphaRows][alphaCols]
G4int mexpid[massRows][massCols]
G4double getEcnz(G4int A, G4int Z)
static const G4int paceRows
static const G4int paceCols
Float_t Z
G4bool setEcnz(G4int A, G4int Z, G4double value)
virtual ~G4AblaVirtualData()
G4double vgsld[alphaRows][alphaCols]
G4bool setMexp(G4int A, G4int Z, G4double value)
G4int getMexpID(G4int A, G4int Z)
G4double getAlpha(G4int A, G4int Z)
const XML_Char int const XML_Char * value
Definition: expat.h:331
static const G4int alphaRows
G4double getBeta2(G4int A, G4int Z)
double A(double temperature)
G4bool setBeta2(G4int A, G4int Z, G4double value)
G4double getRms(G4int A, G4int Z)
static const G4int alphaCols
G4double getBeta4(G4int A, G4int Z)
G4double rms[rmsRows][rmsCols]
G4bool setAlpha(G4int A, G4int Z, G4double value)
G4double getPace2(G4int A, G4int Z)
G4double alpha[alphaRows][alphaCols]
G4bool setBeta4(G4int A, G4int Z, G4double value)
G4double pace2[paceRows][paceCols]
G4double getVgsld(G4int A, G4int Z)
G4double beta2[betaRows][betaCols]
G4double beta4[betaRows][betaCols]