G4AblaVirtualData Class Reference

#include <G4AblaVirtualData.hh>


Public Member Functions

G4bool setAlpha (G4int A, G4int Z, G4double value)
G4bool setEcnz (G4int A, G4int Z, G4double value)
G4bool setVgsld (G4int A, G4int Z, G4double value)
G4bool setPace2 (G4int A, G4int Z, G4double value)
G4double getAlpha (G4int A, G4int Z)
G4double getEcnz (G4int A, G4int Z)
G4double getVgsld (G4int A, G4int Z)
G4double getPace2 (G4int A, G4int Z)
G4int getAlphaRows ()
G4int getAlphaCols ()
G4int getPaceRows ()
G4int getPaceCols ()
virtual G4bool readData ()=0

Protected Member Functions

 G4AblaVirtualData ()


Detailed Description

An interface to data used by INCL and ABLA. This interface allows us to abstract the actual source of data. Currently the data is read from datafiles by using class G4InclAblaDataFile.
See also:
G4InclAblaDataFile

Definition at line 45 of file G4AblaVirtualData.hh.


Constructor & Destructor Documentation

G4AblaVirtualData::G4AblaVirtualData (  )  [protected]

Constructor

Definition at line 35 of file G4AblaVirtualData.cc.

00036 {
00037         
00038 }


Member Function Documentation

double G4AblaVirtualData::getAlpha ( G4int  A,
G4int  Z 
)

Definition at line 68 of file G4AblaVirtualData.cc.

00069 {
00070   return alpha[A][Z];
00071 }

int G4AblaVirtualData::getAlphaCols (  ) 

Definition at line 93 of file G4AblaVirtualData.cc.

00094 {
00095   return alphaCols;
00096 }

int G4AblaVirtualData::getAlphaRows (  ) 

Definition at line 88 of file G4AblaVirtualData.cc.

00089 {
00090   return alphaRows;
00091 }

double G4AblaVirtualData::getEcnz ( G4int  A,
G4int  Z 
)

Get the value of Alpha.

Definition at line 73 of file G4AblaVirtualData.cc.

00074 {
00075   return ecnz[A][Z];
00076 }

double G4AblaVirtualData::getPace2 ( G4int  A,
G4int  Z 
)

Get the value of Pace2.

Definition at line 83 of file G4AblaVirtualData.cc.

00084 {
00085   return pace2[A][Z];
00086 }

int G4AblaVirtualData::getPaceCols (  ) 

Definition at line 101 of file G4AblaVirtualData.cc.

00102 {
00103   return paceCols;
00104 }

int G4AblaVirtualData::getPaceRows (  ) 

Definition at line 97 of file G4AblaVirtualData.cc.

00098 {
00099   return paceRows;
00100 }

double G4AblaVirtualData::getVgsld ( G4int  A,
G4int  Z 
)

Get the value of Vgsld.

Definition at line 78 of file G4AblaVirtualData.cc.

00079 {
00080   return vgsld[A][Z];
00081 }

virtual G4bool G4AblaVirtualData::readData (  )  [pure virtual]

bool G4AblaVirtualData::setAlpha ( G4int  A,
G4int  Z,
G4double  value 
)

Set the value of Alpha.

Definition at line 40 of file G4AblaVirtualData.cc.

00041 {
00042   alpha[A][Z] = value;
00043 
00044   return true;
00045 }

bool G4AblaVirtualData::setEcnz ( G4int  A,
G4int  Z,
G4double  value 
)

Set the value of Ecnz.

Definition at line 47 of file G4AblaVirtualData.cc.

00048 {
00049   ecnz[A][Z] = value;
00050 
00051   return true;
00052 }

bool G4AblaVirtualData::setPace2 ( G4int  A,
G4int  Z,
G4double  value 
)

Set the value of Pace2.

Definition at line 61 of file G4AblaVirtualData.cc.

00062 {
00063   pace2[A][Z] = value;
00064 
00065   return true;
00066 }

bool G4AblaVirtualData::setVgsld ( G4int  A,
G4int  Z,
G4double  value 
)

Set the value of Vgsld.

Definition at line 54 of file G4AblaVirtualData.cc.

00055 {
00056   vgsld[A][Z] = value;
00057 
00058   return true;
00059 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:24 2013 for Geant4 by  doxygen 1.4.7