source: trunk/source/processes/hadronic/models/incl/include/G4InclAblaVirtualData.hh@ 1344

Last change on this file since 1344 was 1337, checked in by garnier, 15 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 3.5 KB
Line 
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: G4InclAblaVirtualData.hh,v 1.6 2010/06/14 16:10:01 gcosmo 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#ifndef G4InclAblaVirtualData_hh
34#define G4InclAblaVirtualData_hh 1
35
36#include "globals.hh"
37
38/**
39 * An interface to data used by INCL and ABLA. This interface allows
40 * us to abstract the actual source of data. Currently the data is
41 * read from datafiles by using class G4InclAblaDataFile. @see
42 * G4InclAblaDataFile
43 */
44
45class G4InclAblaVirtualData {
46protected:
47
48 /**
49 * Constructor, destructor
50 */
51 G4InclAblaVirtualData();
52 virtual ~G4InclAblaVirtualData();
53
54public:
55 /**
56 * Set the value of Alpha.
57 */
58 G4bool setAlpha(G4int A, G4int Z, G4double value);
59
60 /**
61 * Set the value of Ecnz.
62 */
63 G4bool setEcnz(G4int A, G4int Z, G4double value);
64
65 /**
66 * Set the value of Vgsld.
67 */
68 G4bool setVgsld(G4int A, G4int Z, G4double value);
69
70 /**
71 * Set the value of Pace2.
72 */
73 G4bool setPace2(G4int A, G4int Z, G4double value);
74
75 G4double getAlpha(G4int A, G4int Z);
76
77 /**
78 * Get the value of Alpha.
79 */
80 G4double getEcnz(G4int A, G4int Z);
81
82 /**
83 * Get the value of Vgsld.
84 */
85 G4double getVgsld(G4int A, G4int Z);
86
87 /**
88 * Get the value of Pace2.
89 */
90 G4double getPace2(G4int A, G4int Z);
91
92 G4int getAlphaRows();
93 G4int getAlphaCols();
94
95 G4int getPaceRows();
96 G4int getPaceCols();
97
98 virtual G4bool readData() = 0;
99
100private:
101
102 static const G4int alphaRows = 154;
103 static const G4int alphaCols = 99;
104
105 static const G4int paceRows = 500;
106 static const G4int paceCols = 500;
107
108 G4double alpha[alphaRows][alphaCols];
109 G4double ecnz[alphaRows][alphaCols];
110 G4double vgsld[alphaRows][alphaCols];
111 G4double pace2[paceRows][paceCols];
112};
113
114#endif
Note: See TracBrowser for help on using the repository browser.