Geant4-11
G4AblaVirtualData.cc
Go to the documentation of this file.
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
47bool G4AblaVirtualData::setAlpha(int A, int Z, double value)
48{
49 alpha[A][Z] = value;
50
51 return true;
52}
53
54bool G4AblaVirtualData::setEcnz(int A, int Z, double value)
55{
56 ecnz[A][Z] = value;
57
58 return true;
59}
60
61bool G4AblaVirtualData::setVgsld(int A, int Z, double value)
62{
63 vgsld[A][Z] = value;
64
65 return true;
66}
67
68bool G4AblaVirtualData::setPace2(int A, int Z, double value)
69{
70 pace2[A][Z] = value;
71
72 return true;
73}
74
75bool G4AblaVirtualData::setRms(int A, int Z, double value)
76{
77 rms[A][Z] = value;
78
79 return true;
80}
81
82bool G4AblaVirtualData::setMexp(int A, int Z, double value)
83{
84 mexp[A][Z] = value;
85
86 return true;
87}
88
89bool G4AblaVirtualData::setMexpID(int A, int Z, int value)
90{
91 mexpid[A][Z] = value;
92
93 return true;
94}
95
96bool G4AblaVirtualData::setBeta2(int A, int Z, double value)
97{
98 beta2[A][Z] = value;
99
100 return true;
101}
102
103bool 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
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}
const G4int Z[17]
const G4double A[17]
static const G4int paceCols
G4bool setVgsld(G4int A, G4int Z, G4double value)
G4double ecnz[alphaRows][alphaCols]
G4double getMexp(G4int A, G4int Z)
G4double getPace2(G4int A, G4int Z)
static const G4int paceRows
G4double beta4[betaRows][betaCols]
G4bool setMexp(G4int A, G4int Z, G4double value)
virtual ~G4AblaVirtualData()
G4double vgsld[alphaRows][alphaCols]
G4int mexpid[massRows][massCols]
G4double getAlpha(G4int A, G4int Z)
G4double pace2[paceRows][paceCols]
G4bool setEcnz(G4int A, G4int Z, G4double value)
static const G4int alphaCols
G4bool setPace2(G4int A, G4int Z, G4double value)
G4bool setRms(G4int A, G4int Z, G4double value)
G4double rms[rmsRows][rmsCols]
G4double getBeta2(G4int A, G4int Z)
G4double getRms(G4int A, G4int Z)
G4double getVgsld(G4int A, G4int Z)
G4bool setMexpID(G4int A, G4int Z, G4int value)
G4bool setAlpha(G4int A, G4int Z, G4double value)
G4bool setBeta2(G4int A, G4int Z, G4double value)
G4double getBeta4(G4int A, G4int Z)
G4bool setBeta4(G4int A, G4int Z, G4double value)
G4double alpha[alphaRows][alphaCols]
G4double getEcnz(G4int A, G4int Z)
G4double mexp[massRows][massCols]
G4double beta2[betaRows][betaCols]
G4int getMexpID(G4int A, G4int Z)
static const G4int alphaRows