File indexing completed on 2025-01-18 09:57:51
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 #define ABLAXX_IN_GEANT4_MODE 1
0034
0035 #include "globals.hh"
0036
0037 #ifndef G4AblaVirtualData_hh
0038 #define G4AblaVirtualData_hh 1
0039
0040 #ifdef ABLAXX_IN_GEANT4_MODE
0041 #include "globals.hh"
0042 #else
0043 #include "G4INCLGeant4Compat.hh"
0044 #include "G4INCLConfig.hh"
0045 #endif
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055 class G4AblaVirtualData {
0056 protected:
0057
0058
0059
0060
0061 #ifdef ABLAXX_IN_GEANT4_MODE
0062 G4AblaVirtualData();
0063 #else
0064 G4AblaVirtualData(G4INCL::Config *);
0065 #endif
0066 virtual ~G4AblaVirtualData();
0067
0068 public:
0069
0070
0071
0072 G4bool setAlpha(G4int A, G4int Z, G4double value);
0073
0074
0075
0076
0077 G4bool setEcnz(G4int A, G4int Z, G4double value);
0078
0079
0080
0081
0082 G4bool setVgsld(G4int A, G4int Z, G4double value);
0083
0084
0085
0086
0087 G4bool setPace2(G4int A, G4int Z, G4double value);
0088
0089
0090
0091
0092 G4bool setRms(G4int A, G4int Z, G4double value);
0093
0094
0095
0096
0097 G4bool setMexp(G4int A, G4int Z, G4double value);
0098
0099
0100
0101
0102 G4bool setMexpID(G4int A, G4int Z, G4int value);
0103
0104
0105
0106
0107 G4bool setBeta2(G4int A, G4int Z, G4double value);
0108
0109
0110
0111
0112 G4bool setBeta4(G4int A, G4int Z, G4double value);
0113
0114
0115
0116
0117
0118 G4double getAlpha(G4int A, G4int Z);
0119
0120
0121
0122
0123 G4double getEcnz(G4int A, G4int Z);
0124
0125
0126
0127
0128 G4double getVgsld(G4int A, G4int Z);
0129
0130
0131
0132
0133 G4double getPace2(G4int A, G4int Z);
0134
0135
0136
0137
0138 G4double getRms(G4int A, G4int Z);
0139
0140
0141
0142
0143 G4double getMexp(G4int A, G4int Z);
0144
0145
0146
0147
0148 G4int getMexpID(G4int A, G4int Z);
0149
0150
0151
0152
0153 G4double getBeta2(G4int A, G4int Z);
0154
0155
0156
0157
0158 G4double getBeta4(G4int A, G4int Z);
0159
0160 G4int getAlphaRows();
0161 G4int getAlphaCols();
0162
0163 G4int getPaceRows();
0164 G4int getPaceCols();
0165
0166 virtual G4bool readData() = 0;
0167
0168 private:
0169
0170 static const G4int alphaRows = 154;
0171 static const G4int alphaCols = 99;
0172
0173 static const G4int paceRows = 500;
0174 static const G4int paceCols = 500;
0175
0176 static const G4int rmsRows = 154;
0177 static const G4int rmsCols = 99;
0178
0179 static const G4int betaRows = 251;
0180 static const G4int betaCols = 137;
0181
0182 static const G4int massRows = 154;
0183 static const G4int massCols = 13;
0184
0185 G4double alpha[alphaRows][alphaCols];
0186 G4double ecnz[alphaRows][alphaCols];
0187 G4double vgsld[alphaRows][alphaCols];
0188 G4double pace2[paceRows][paceCols];
0189 G4double rms[rmsRows][rmsCols];
0190 G4double mexp[massRows][massCols];
0191 G4int mexpid[massRows][massCols];
0192 G4double beta2[betaRows][betaCols];
0193 G4double beta4[betaRows][betaCols];
0194 };
0195
0196 #endif