33 #define ABLAXX_IN_GEANT4_MODE 1
39 #ifndef G4AblaDataDefs_hh
40 #define G4AblaDataDefs_hh 1
42 #ifdef ABLAXX_IN_GEANT4_MODE
61 #define PACESIZEROWS 500
62 #define PACESIZECOLS 500
77 #define MASSIZEROWS 154
78 #define MASSIZECOLS 13
92 #define EC2SUBROWS 154
135 #define ECLDROWSbeta 251
136 #define ECLDCOLSbeta 137
231 #define EENUCSIZE 2002
251 #define VOLANTSIZE 301
283 for(
G4int i = 0; i <=
iv; i++) {
291 G4double totA = 0.0, totZ = 0.0, totP = 0.0;
293 for(
G4int i = 0; i <=
iv; i++) {
294 if(i == 0 &&
acv[i] != 0) {
312 #define VARNTPSIZE 301
386 ntrack = particleIndex + 1;
395 G4int baryonNumber = 0;
398 baryonNumber +=
avv[i];
410 energy += std::sqrt(std::pow(
plab[i], 2) + std::pow(
getMass(i), 2));
436 const G4double protonMass = 938.272;
437 const G4double neutronMass = 939.565;
441 if(
avv[particle] == 1 &&
zvv[particle] == 1) mass = protonMass;
442 if(
avv[particle] == 1 &&
zvv[particle] == 0) mass = neutronMass;
443 if(
avv[particle] == -1) mass = pionMass;
444 if(
avv[particle] > 1)
445 mass =
avv[particle] * protonMass +
zvv[particle] * neutronMass;
453 G4int nProton = 0, nNeutron = 0;
454 G4int nPiPlus = 0, nPiZero = 0, nPiMinus = 0;
455 G4int nH2 = 0, nHe3 = 0, nAlpha = 0;
457 G4int nFragments = 0;
458 G4int nParticles = 0;
461 if(
avv[i] == 1 &&
zvv[i] == 1) nProton++;
462 if(
avv[i] == 1 &&
zvv[i] == 0) nNeutron++;
463 if(
avv[i] == 0 &&
zvv[i] == 0) nGamma++;
464 if(
avv[i] == -1 &&
zvv[i] == 1) nPiPlus++;
465 if(
avv[i] == -1 &&
zvv[i] == 0) nPiZero++;
466 if(
avv[i] == -1 &&
zvv[i] == -1) nPiMinus++;
467 if(
avv[i] == 2 &&
zvv[i] == 1) nH2++;
468 if(
avv[i] == 3 &&
zvv[i] == 2) nHe3++;
469 if(
avv[i] == 4 &&
zvv[i] == 2) nAlpha++;
470 if(
zvv[i] > 2) nFragments++;
G4double total(Particle const *const p1, Particle const *const p2)
G4double getMass(G4int particle)
G4double massexp[MASSIZEROWS][MASSIZECOLS]
G4double philab[VARNTPSIZE]
G4double plab[VARNTPSIZE]
G4double tetlab[VARNTPSIZE]
G4double beta2[ECLDROWSbeta][ECLDCOLSbeta]
G4double getTotalThreeMomentum()
G4double ecgnz[ECLDROWS][ECLDCOLS]
G4double enerj[VARNTPSIZE]
G4double pzlab[VARNTPSIZE]
G4double pylab[VARNTPSIZE]
G4double xhe[XHESIZE][EENUCSIZE]
G4bool copied[VOLANTSIZE]
G4double getTotalEnergy()
G4int itypcasc[VARNTPSIZE]
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
double A(double temperature)
G4double pxlab[VARNTPSIZE]
G4double alpha[ECLDROWS][ECLDCOLS]
G4double getMomentumSum()
G4double rms[ECLDROWS][ECLDCOLS]
G4double vgsld[ECLDROWS][ECLDCOLS]
G4double dm[PACESIZEROWS][PACESIZECOLS]
G4int getTotalBaryonNumber()
G4double efa[FBCOLS][FBROWS]
G4double ecfnz[ECLDROWS][ECLDCOLS]
G4double bind[MASSIZEROWS][MASSIZECOLS]
void addParticle(G4double A, G4double Z, G4double E, G4double P, G4double theta, G4double phi)
G4double zpcv[VOLANTSIZE]
G4int mexpiop[MASSIZEROWS][MASSIZECOLS]
G4double ecnz[EC2SUBROWS][EC2SUBCOLS]
G4double beta4[ECLDROWSbeta][ECLDCOLSbeta]