Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AblaVirtualData Class Referenceabstract

#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::G4AblaVirtualData ( )
protected

Constructor

Definition at line 35 of file G4AblaVirtualData.cc.

36{
37
38}

Member Function Documentation

◆ getAlpha()

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

Definition at line 68 of file G4AblaVirtualData.cc.

69{
70 return alpha[A][Z];
71}

◆ getAlphaCols()

int G4AblaVirtualData::getAlphaCols ( )

Definition at line 93 of file G4AblaVirtualData.cc.

94{
95 return alphaCols;
96}

◆ getAlphaRows()

int G4AblaVirtualData::getAlphaRows ( )

Definition at line 88 of file G4AblaVirtualData.cc.

89{
90 return alphaRows;
91}

◆ getEcnz()

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

Get the value of Alpha.

Definition at line 73 of file G4AblaVirtualData.cc.

74{
75 return ecnz[A][Z];
76}

◆ getPace2()

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

Get the value of Pace2.

Definition at line 83 of file G4AblaVirtualData.cc.

84{
85 return pace2[A][Z];
86}

◆ getPaceCols()

int G4AblaVirtualData::getPaceCols ( )

Definition at line 101 of file G4AblaVirtualData.cc.

102{
103 return paceCols;
104}

◆ getPaceRows()

int G4AblaVirtualData::getPaceRows ( )

Definition at line 97 of file G4AblaVirtualData.cc.

98{
99 return paceRows;
100}

◆ getVgsld()

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

Get the value of Vgsld.

Definition at line 78 of file G4AblaVirtualData.cc.

79{
80 return vgsld[A][Z];
81}

◆ readData()

virtual G4bool G4AblaVirtualData::readData ( )
pure virtual

◆ setAlpha()

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

Set the value of Alpha.

Definition at line 40 of file G4AblaVirtualData.cc.

41{
42 alpha[A][Z] = value;
43
44 return true;
45}

◆ setEcnz()

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

Set the value of Ecnz.

Definition at line 47 of file G4AblaVirtualData.cc.

48{
49 ecnz[A][Z] = value;
50
51 return true;
52}

◆ setPace2()

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

Set the value of Pace2.

Definition at line 61 of file G4AblaVirtualData.cc.

62{
63 pace2[A][Z] = value;
64
65 return true;
66}

◆ setVgsld()

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

Set the value of Vgsld.

Definition at line 54 of file G4AblaVirtualData.cc.

55{
56 vgsld[A][Z] = value;
57
58 return true;
59}

The documentation for this class was generated from the following files: