Geant4  10.02.p01
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 // Pekka Kaitaniemi, HIP (translation)
28 // Christelle Schmidt, IPNL (fission code)
29 // Davide Mancusi, CEA (contact person INCL/ABLA)
30 // Aatos Heikkinen, HIP (project coordination)
31 //
32 #define ABLAXX_IN_GEANT4_MODE 1
33 
34 #include "globals.hh"
35 
36 #include "G4AblaVirtualData.hh"
37 
38 #ifdef ABLAXX_IN_GEANT4_MODE
40 #else
42 #endif
44 
45 bool G4AblaVirtualData::setAlpha(int A, int Z, double value)
46 {
47  alpha[A][Z] = value;
48 
49  return true;
50 }
51 
52 bool G4AblaVirtualData::setEcnz(int A, int Z, double value)
53 {
54  ecnz[A][Z] = value;
55 
56  return true;
57 }
58 
59 bool G4AblaVirtualData::setVgsld(int A, int Z, double value)
60 {
61  vgsld[A][Z] = value;
62 
63  return true;
64 }
65 
66 bool G4AblaVirtualData::setPace2(int A, int Z, double value)
67 {
68  pace2[A][Z] = value;
69 
70  return true;
71 }
72 
73 double G4AblaVirtualData::getAlpha(int A, int Z)
74 {
75  return alpha[A][Z];
76 }
77 
78 double G4AblaVirtualData::getEcnz(int A, int Z)
79 {
80  return ecnz[A][Z];
81 }
82 
83 double G4AblaVirtualData::getVgsld(int A, int Z)
84 {
85  return vgsld[A][Z];
86 }
87 
88 double G4AblaVirtualData::getPace2(int A, int Z)
89 {
90  return pace2[A][Z];
91 }
92 
94 {
95  return alphaRows;
96 }
97 
99 {
100  return alphaCols;
101 }
103 {
104  return paceRows;
105 }
107 {
108  return paceCols;
109 }
The INCL configuration object.
Definition: G4INCLConfig.hh:60
G4bool setVgsld(G4int A, G4int Z, G4double value)
Set the value of Vgsld.
G4AblaVirtualData()
Constructor, destructor.
G4bool setPace2(G4int A, G4int Z, G4double value)
Set the value of Pace2.
G4double getVgsld(G4int A, G4int Z)
Get the value of Vgsld.
G4double getAlpha(G4int A, G4int Z)
G4double vgsld[alphaRows][alphaCols]
static const G4int paceRows
static const G4int paceCols
G4double alpha[alphaRows][alphaCols]
static const G4int alphaRows
double A(double temperature)
G4double ecnz[alphaRows][alphaCols]
static const G4int alphaCols
G4double pace2[paceRows][paceCols]
G4bool setEcnz(G4int A, G4int Z, G4double value)
Set the value of Ecnz.
G4bool setAlpha(G4int A, G4int Z, G4double value)
Set the value of Alpha.
virtual ~G4AblaVirtualData()
G4double getEcnz(G4int A, G4int Z)
Get the value of Alpha.
G4double getPace2(G4int A, G4int Z)
Get the value of Pace2.