00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id$ 00027 // Translation of INCL4.2/ABLA V3 00028 // Pekka Kaitaniemi, HIP (translation) 00029 // Christelle Schmidt, IPNL (fission code) 00030 // Alain Boudard, CEA (contact person INCL/ABLA) 00031 // Aatos Heikkinen, HIP (project coordination) 00032 00033 #ifndef G4AblaVirtualData_hh 00034 #define G4AblaVirtualData_hh 1 00035 00036 #include "globals.hh" 00037 00045 class G4AblaVirtualData { 00046 protected: 00047 00051 G4AblaVirtualData(); 00052 00053 public: 00057 G4bool setAlpha(G4int A, G4int Z, G4double value); 00058 00062 G4bool setEcnz(G4int A, G4int Z, G4double value); 00063 00067 G4bool setVgsld(G4int A, G4int Z, G4double value); 00068 00072 G4bool setPace2(G4int A, G4int Z, G4double value); 00073 00074 G4double getAlpha(G4int A, G4int Z); 00075 00079 G4double getEcnz(G4int A, G4int Z); 00080 00084 G4double getVgsld(G4int A, G4int Z); 00085 00089 G4double getPace2(G4int A, G4int Z); 00090 00091 G4int getAlphaRows(); 00092 G4int getAlphaCols(); 00093 00094 G4int getPaceRows(); 00095 G4int getPaceCols(); 00096 00097 virtual G4bool readData() = 0; 00098 00099 private: 00100 00101 static const G4int alphaRows = 155; 00102 static const G4int alphaCols = 100; 00103 00104 static const G4int paceRows = 500; 00105 static const G4int paceCols = 500; 00106 00107 G4double alpha[alphaRows][alphaCols]; 00108 G4double ecnz[alphaRows][alphaCols]; 00109 G4double vgsld[alphaRows][alphaCols]; 00110 G4double pace2[paceRows][paceCols]; 00111 }; 00112 00113 #endif