File indexing completed on 2025-01-18 09:58:29
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
0034 #define INCLXX_IN_GEANT4_MODE 1
0035
0036 #include "globals.hh"
0037
0038 #ifndef G4INCLParticleTable_hh
0039 #define G4INCLParticleTable_hh 1
0040
0041 #include <string>
0042 #include <vector>
0043
0044
0045 #include "G4INCLParticleType.hh"
0046 #include "G4INCLParticleSpecies.hh"
0047 #include "G4INCLLogger.hh"
0048 #include "G4INCLConfig.hh"
0049 #include "G4INCLHFB.hh"
0050
0051 #ifdef INCLXX_IN_GEANT4_MODE
0052 #include "G4IonTable.hh"
0053 #include "G4ParticleTable.hh"
0054 #endif
0055 #include "G4INCLGlobals.hh"
0056 #include "G4INCLNaturalIsotopicDistributions.hh"
0057
0058 namespace G4INCL {
0059
0060 namespace ParticleTable {
0061
0062 const G4int maxClusterMass = 12;
0063 const G4int maxClusterCharge = 8;
0064
0065 const G4int clusterTableZSize = maxClusterCharge+1;
0066 const G4int clusterTableASize = maxClusterMass+1;
0067 const G4int clusterTableSSize = 4;
0068
0069 const G4double effectiveNucleonMass = 938.2796;
0070 const G4double effectiveNucleonMass2 = 8.8036860777616e5;
0071 const G4double effectiveDeltaMass = 1232.0;
0072 const G4double effectiveDeltaWidth = 130.0;
0073 const G4double effectivePionMass = 138.0;
0074 const G4double effectiveLambdaMass = 1115.683;
0075 const G4double effectiveSigmaMass = 1197.45;
0076 const G4double effectiveXiMass = 1321.71;
0077 const G4double effectiveKaonMass = 497.614;
0078 const G4double effectiveAntiKaonMass = 497.614;
0079 const G4double effectiveEtaMass = 547.862;
0080 const G4double effectiveOmegaMass = 782.65;
0081 const G4double effectiveEtaPrimeMass = 957.78;
0082 const G4double effectivePhotonMass = 0.0;
0083 extern G4ThreadLocal G4double minDeltaMass;
0084 extern G4ThreadLocal G4double minDeltaMass2;
0085 extern G4ThreadLocal G4double minDeltaMassRndm;
0086
0087
0088 void initialize(Config const * const theConfig = 0);
0089
0090
0091 G4int getIsospin(const ParticleType t);
0092
0093
0094 std::string getName(const ParticleType t);
0095
0096
0097 std::string getShortName(const ParticleType t);
0098
0099
0100 std::string getName(const ParticleSpecies &s);
0101
0102
0103 std::string getShortName(const ParticleSpecies &s);
0104
0105
0106 std::string getName(const G4int A, const G4int Z);
0107
0108
0109 std::string getName(const G4int A, const G4int Z, const G4int S);
0110
0111
0112 std::string getShortName(const G4int A, const G4int Z);
0113
0114
0115 G4double getINCLMass(const G4int A, const G4int Z, const G4int S);
0116
0117
0118 G4double getINCLMass(const ParticleType t);
0119
0120 #ifndef INCLXX_IN_GEANT4_MODE
0121
0122 G4double hasMassTable(const unsigned int A, const unsigned int Z);
0123
0124
0125
0126
0127
0128
0129
0130
0131
0132
0133 G4double getWeizsaeckerMass(const G4int A, const G4int Z);
0134 #endif
0135
0136
0137 G4double getRealMass(const G4INCL::ParticleType t);
0138
0139 G4double getRealMass(const G4int A, const G4int Z, const G4int S = 0);
0140
0141
0142
0143
0144
0145
0146
0147 G4double getTableQValue(const G4int A1, const G4int Z1, const G4int S1, const G4int A2, const G4int Z2, const G4int S2);
0148
0149
0150
0151
0152
0153
0154
0155 G4double getTableQValue(const G4int A1, const G4int Z1, const G4int S1, const G4int A2, const G4int Z2, const G4int S2, const G4int A3, const G4int Z3, const G4int S3);
0156
0157 G4double getTableSpeciesMass(const ParticleSpecies &p);
0158
0159
0160 G4int getMassNumber(const ParticleType t);
0161
0162
0163 G4int getChargeNumber(const ParticleType t);
0164
0165
0166 G4int getStrangenessNumber(const ParticleType t);
0167
0168 G4double getNuclearRadius(const ParticleType t, const G4int A, const G4int Z);
0169 G4double getLargestNuclearRadius(const G4int A, const G4int Z);
0170 G4double getRadiusParameter(const ParticleType t, const G4int A, const G4int Z);
0171 G4double getMaximumNuclearRadius(const ParticleType t, const G4int A, const G4int Z);
0172 G4double getSurfaceDiffuseness(const ParticleType t, const G4int A, const G4int Z);
0173
0174
0175 G4double getMomentumRMS(const G4int A, const G4int Z);
0176
0177
0178 G4double getSeparationEnergyINCL(const ParticleType t, const G4int , const G4int );
0179
0180
0181 G4double getSeparationEnergyReal(const ParticleType t, const G4int A, const G4int Z);
0182
0183
0184 G4double getSeparationEnergyRealForLight(const ParticleType t, const G4int A, const G4int Z);
0185
0186
0187 G4double getProtonSeparationEnergy();
0188
0189
0190 G4double getNeutronSeparationEnergy();
0191
0192
0193 void setProtonSeparationEnergy(const G4double s);
0194
0195
0196 void setNeutronSeparationEnergy(const G4double s);
0197
0198
0199 std::string getElementName(const G4int Z);
0200
0201
0202 std::string getIUPACElementName(const G4int Z);
0203
0204
0205 G4int parseElement(std::string pS);
0206
0207
0208
0209
0210
0211
0212
0213
0214 G4int parseIUPACElement(std::string const &pS);
0215
0216 IsotopicDistribution const &getNaturalIsotopicDistribution(const G4int Z);
0217
0218 G4int drawRandomNaturalIsotope(const G4int Z);
0219
0220
0221
0222 typedef G4double (*NuclearMassFn)(const G4int, const G4int, const G4int);
0223 typedef G4double (*ParticleMassFn)(const ParticleType);
0224
0225 extern G4ThreadLocal NuclearMassFn getTableMass;
0226
0227 extern G4ThreadLocal ParticleMassFn getTableParticleMass;
0228
0229
0230 typedef G4double (*SeparationEnergyFn)(const ParticleType, const G4int, const G4int);
0231
0232 extern G4ThreadLocal SeparationEnergyFn getSeparationEnergy;
0233
0234
0235 typedef G4double (*FermiMomentumFn)(const G4int, const G4int);
0236 extern G4ThreadLocal FermiMomentumFn getFermiMomentum;
0237
0238
0239 G4double getFermiMomentumConstant(const G4int , const G4int );
0240
0241
0242
0243
0244
0245
0246
0247
0248
0249 G4double getFermiMomentumConstantLight(const G4int A, const G4int Z);
0250
0251
0252
0253
0254
0255
0256
0257
0258
0259
0260
0261
0262
0263 G4double getFermiMomentumMassDependent(const G4int A, const G4int );
0264
0265
0266
0267
0268
0269
0270 G4double getRPCorrelationCoefficient(const ParticleType t);
0271
0272
0273 G4double getNeutronSkin();
0274
0275
0276 G4double getNeutronHalo();
0277
0278
0279 ParticleType getPionType(const G4int isosp);
0280
0281
0282 ParticleType getNucleonType(const G4int isosp);
0283
0284
0285 ParticleType getDeltaType(const G4int isosp);
0286
0287
0288 ParticleType getSigmaType(const G4int isosp);
0289
0290
0291 ParticleType getKaonType(const G4int isosp);
0292
0293
0294 ParticleType getAntiKaonType(const G4int isosp);
0295
0296
0297 ParticleType getXiType(const G4int isosp);
0298
0299
0300 ParticleType getAntiNucleonType(const G4int isosp);
0301
0302
0303 ParticleType getAntiXiType(const G4int isosp);
0304
0305
0306 ParticleType getAntiSigmaType(const G4int isosp);
0307
0308
0309 G4double getWidth(const ParticleType t);
0310 }
0311 }
0312
0313 #endif
0314