79 {
true,
false,
true,
true,
false,
false,
true,
true,
true,
80 false,
true,
true,
true,
false,
false};
82 {
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
83 "9",
"10",
"11",
"12",
"13",
"14"};
87 minPEEnergy(50*CLHEP::
keV),
89 minMMEnergy(100*CLHEP::
MeV),
158 G4cout <<
"G4GammaGeneralProcess::PreparePhysicsTable() for "
225 for(
size_t i=0; i<
nTables; ++i) {
230 for(
size_t j=0; j<numOfCouples; ++j) {
232 if (bld->GetFlag(j) && !vec) {
256 G4cout <<
"### G4VEmProcess::BuildPhysicsTable() for "
301 G4double sigComp(0.), sigPE(0.), sigConv(0.), sigR(0.),
302 sigN(0.), sigM(0.), val(0.);
304 for(
size_t i=0; i<numOfCouples; ++i) {
314 size_t nn = (*(tables[0]))[
idx]->GetVectorLength();
316 G4cout <<
"======= Zone 0 ======= N= " << nn
319 for(
size_t j=0; j<
nn; ++j) {
326 G4cout << j <<
". E= " << e <<
" xs= " << sum
327 <<
" compt= " << sigComp <<
" Rayl= " << sigR <<
G4endl;
329 (*(tables[0]))[
idx]->PutValue(j, sum);
331 val = (sum > 0.0) ? sigComp/sum : 0.0;
332 (*(tables[1]))[
idx]->PutValue(j, val);
337 nn = (*(tables[2]))[
idx]->GetVectorLength();
341 for(
size_t j=0; j<
nn; ++j) {
355 G4cout << j <<
". E= " << e <<
" xs= " << sum
356 <<
" compt= " << sigComp <<
" conv= " << sigConv
357 <<
" PE= " << sigPE <<
" Rayl= " << sigR
358 <<
" GN= " << sigN <<
G4endl;
360 (*(tables[2]))[
idx]->PutValue(j, sum);
361 val = (sum > 0.0) ? sigPE/sum : 0.0;
362 (*(tables[3]))[
idx]->PutValue(j, val);
364 val = (sum > 0.0) ? (sigComp + sigPE)/sum : 0.0;
365 (*(tables[4]))[
idx]->PutValue(j, val);
368 val = (sum > 0.0) ? (sigComp + sigPE + sigR)/sum : 0.0;
369 (*(tables[5]))[
idx]->PutValue(j, val);
374 nn = (*(tables[6]))[
idx]->GetVectorLength();
378 for(
size_t j=0; j<
nn; ++j) {
393 G4cout << j <<
". E= " << e <<
" xs= " << sum
394 <<
" compt= " << sigComp <<
" conv= " << sigConv
396 <<
" GN= " << sigN <<
G4endl;
398 (*(tables[6]))[
idx]->PutValue(j, sum);
399 val = (sum > 0.0) ? sigConv/sum : 0.0;
400 (*(tables[7]))[
idx]->PutValue(j, val);
401 val = (sum > 0.0) ? (sigConv + sigComp)/sum : 0.0;
402 (*(tables[8]))[
idx]->PutValue(j, val);
404 val = (sum > 0.0) ? (sigConv + sigComp + sigPE)/sum : 0.0;
405 (*(tables[9]))[
idx]->PutValue(j, val);
410 nn = (*(tables[10]))[
idx]->GetVectorLength();
412 G4cout <<
"======= Zone 3 ======= N= " << nn
415 for(
size_t j=0; j<
nn; ++j) {
431 sigM = (val <
DBL_MAX) ? 1./val : 0.0;
433 G4double sum = sigComp + sigConv + sigPE + sigN + sigM;
435 G4cout << j <<
". E= " << e <<
" xs= " << sum
436 <<
" compt= " << sigComp <<
" conv= " << sigConv
438 <<
" GN= " << sigN <<
G4endl;
440 (*(tables[10]))[
idx]->PutValue(j, sum);
441 val = (sum > 0.0) ? 1.0 - sigConv/sum : 1.0;
442 (*(tables[11]))[
idx]->PutValue(j, val);
443 val = (sum > 0.0) ? 1.0 - (sigConv + sigComp)/sum : 1.0;
444 (*(tables[12]))[
idx]->PutValue(j, val);
446 val = (sum > 0.0) ? 1.0 - (sigConv + sigComp + sigPE)/sum : 1.0;
447 (*(tables[13]))[
idx]->PutValue(j, val);
451 ? 1.0 - (sigConv + sigComp + sigPE + sigN)/sum : 1.0;
452 (*(tables[14]))[
idx]->PutValue(j, val);
457 (*(tables[
k]))[
idx]->FillSecondDerivatives();
466 G4cout <<
"### G4VEmProcess::BuildPhysicsTable() done for "
706 for(
size_t i=0; i<
nTables; ++i) {
708 G4String nam = (0==i || 2==i || 6==i || 10==i)
709 ?
"LambdaGeneral" +
nameT[i] :
"ProbGeneral" +
nameT[i];
725 G4cout <<
"G4GammaGeneralProcess::RetrievePhysicsTable() for "
743 for(
size_t i=0; i<
nTables; ++i) {
745 G4String nam = (0==i || 2==i || 6==i || 10==i)
746 ?
"LambdaGeneral" +
nameT[i] :
"ProbGeneral" +
nameT[i];