source: trunk/source/processes/hadronic/models/abla/src/G4AblaVirtualData.cc@ 1357

Last change on this file since 1357 was 1350, checked in by garnier, 15 years ago

update to last version 4.9.4

File size: 2.9 KB
RevLine 
[1350]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// $Id: G4AblaVirtualData.cc,v 1.1 2008/02/27 18:31:11 miheikki Exp $
27// Translation of INCL4.2/ABLA V3
28// Pekka Kaitaniemi, HIP (translation)
29// Christelle Schmidt, IPNL (fission code)
30// Alain Boudard, CEA (contact person INCL/ABLA)
31// Aatos Heikkinen, HIP (project coordination)
32
33#include "G4AblaVirtualData.hh"
34
35G4AblaVirtualData::G4AblaVirtualData()
36{
37
38}
39
40bool G4AblaVirtualData::setAlpha(int A, int Z, double value)
41{
42 alpha[A][Z] = value;
43
44 return true;
45}
46
47bool G4AblaVirtualData::setEcnz(int A, int Z, double value)
48{
49 ecnz[A][Z] = value;
50
51 return true;
52}
53
54bool G4AblaVirtualData::setVgsld(int A, int Z, double value)
55{
56 vgsld[A][Z] = value;
57
58 return true;
59}
60
61bool G4AblaVirtualData::setPace2(int A, int Z, double value)
62{
63 pace2[A][Z] = value;
64
65 return true;
66}
67
68double G4AblaVirtualData::getAlpha(int A, int Z)
69{
70 return alpha[A][Z];
71}
72
73double G4AblaVirtualData::getEcnz(int A, int Z)
74{
75 return ecnz[A][Z];
76}
77
78double G4AblaVirtualData::getVgsld(int A, int Z)
79{
80 return vgsld[A][Z];
81}
82
83double G4AblaVirtualData::getPace2(int A, int Z)
84{
85 return pace2[A][Z];
86}
87
88int G4AblaVirtualData::getAlphaRows()
89{
90 return alphaRows;
91}
92
93int G4AblaVirtualData::getAlphaCols()
94{
95 return alphaCols;
96}
97int G4AblaVirtualData::getPaceRows()
98{
99 return paceRows;
100}
101int G4AblaVirtualData::getPaceCols()
102{
103 return paceCols;
104}
Note: See TracBrowser for help on using the repository browser.