ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4AblaVirtualData.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file 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 }