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
387 ntrack = particleIndex + 1;
396 G4int baryonNumber = 0;
399 baryonNumber +=
avv[i];
411 energy += std::sqrt(std::pow(
plab[i], 2) + std::pow(
getMass(i), 2));
437 const G4double protonMass = 938.272;
438 const G4double neutronMass = 939.565;
442 if(
avv[particle] == 1 &&
zvv[particle] == 1) mass = protonMass;
443 if(
avv[particle] == 1 &&
zvv[particle] == 0) mass = neutronMass;
444 if(
avv[particle] == -1) mass = pionMass;
445 if(
avv[particle] > 1)
454 G4int nProton = 0, nNeutron = 0;
455 G4int nPiPlus = 0, nPiZero = 0, nPiMinus = 0;
456 G4int nH2 = 0, nHe3 = 0, nAlpha = 0;
458 G4int nFragments = 0;
459 G4int nParticles = 0;
462 if(
avv[i] == 1 &&
zvv[i] == 1) nProton++;
463 if(
avv[i] == 1 &&
zvv[i] == 0) nNeutron++;
464 if(
avv[i] == 0 &&
zvv[i] == 0) nGamma++;
465 if(
avv[i] == -1 &&
zvv[i] == 1) nPiPlus++;
466 if(
avv[i] == -1 &&
zvv[i] == 0) nPiZero++;
467 if(
avv[i] == -1 &&
zvv[i] == -1) nPiMinus++;
468 if(
avv[i] == 2 &&
zvv[i] == 1) nH2++;
469 if(
avv[i] == 3 &&
zvv[i] == 2) nHe3++;
470 if(
avv[i] == 4 &&
zvv[i] == 2) nAlpha++;
471 if(
zvv[i] > 2) nFragments++;