Import Geant4 1.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4IeplusAnnihilation.cc,v 1.5.8.1 1999/12/07 20:50:59 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
// $Id: G4IeplusAnnihilation.cc,v 1.5.8.1.2.2 1999/12/09 16:18:04 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
//
|
||||
// $Id:
|
||||
// --------------------------------------------------------------
|
||||
@@ -43,9 +43,9 @@ G4IeplusAnnihilation::G4IeplusAnnihilation(const G4String& processName)
|
||||
NumbBinTable(100)
|
||||
{
|
||||
if (verboseLevel>0) {
|
||||
G4cout << GetProcessName() << " is created "<< endl;
|
||||
G4cout << GetProcessName() << " is created "<< G4endl;
|
||||
G4cout << "LowestEnergy: " << LowestEnergyLimit/keV << "keV ";
|
||||
G4cout << "HighestEnergy: " << HighestEnergyLimit/TeV << "TeV " << endl;
|
||||
G4cout << "HighestEnergy: " << HighestEnergyLimit/TeV << "TeV " << G4endl;
|
||||
}
|
||||
theCrossSectionTable = NULL;
|
||||
theMeanFreePathTable = NULL;
|
||||
@@ -209,21 +209,21 @@ void G4IeplusAnnihilation::TestOfInversion(
|
||||
G4Material::GetMaterialTable();
|
||||
G4int numOfMaterials = theMaterialTable->length() ;
|
||||
|
||||
G4cout.setf(ios::scientific, ios::floatfield) ;
|
||||
G4cout.setf(G4std::ios::scientific, G4std::ios::floatfield) ;
|
||||
if(printflag>1)
|
||||
{
|
||||
G4cout << endl;
|
||||
G4cout << " particle=" << aParticleType.GetParticleName() << endl;
|
||||
G4cout << "----------------------" << endl;
|
||||
G4cout << G4endl;
|
||||
G4cout << " particle=" << aParticleType.GetParticleName() << G4endl;
|
||||
G4cout << "----------------------" << G4endl;
|
||||
}
|
||||
for (G4int J=0; J<numOfMaterials; J++)
|
||||
{
|
||||
if(printflag>1)
|
||||
{
|
||||
G4cout << endl;
|
||||
G4cout << " material = " << (*theMaterialTable)[J]->GetName() << endl;
|
||||
G4cout << G4endl;
|
||||
G4cout << " material = " << (*theMaterialTable)[J]->GetName() << G4endl;
|
||||
G4cout << " mat.ind.=" << J << " T Nlambda Tprime"
|
||||
<< " (Tprime-T)/T(%)" << endl ;
|
||||
<< " (Tprime-T)/T(%)" << G4endl ;
|
||||
}
|
||||
|
||||
G4PhysicsLogVector* aVector ;
|
||||
@@ -257,28 +257,28 @@ void G4IeplusAnnihilation::TestOfInversion(
|
||||
}
|
||||
if(printflag>1)
|
||||
{
|
||||
G4cout << setw(18) << setprecision(6) << T << " " <<
|
||||
setw(14)<< setprecision(6) << Nlambda << " " <<
|
||||
setw(14) << setprecision(6) << Tprime << " " <<
|
||||
setw(12) << setprecision(3) << del << endl;
|
||||
G4cout << G4std::setw(18) << G4std::setprecision(6) << T << " " <<
|
||||
G4std::setw(14)<< G4std::setprecision(6) << Nlambda << " " <<
|
||||
G4std::setw(14) << G4std::setprecision(6) << Tprime << " " <<
|
||||
G4std::setw(12) << G4std::setprecision(3) << del << G4endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(printflag>0)
|
||||
{
|
||||
G4cout << endl;
|
||||
G4cout << "G4IeplusAnnihilation::TestOfInversion (T->Nlambda->Tprime) " << endl
|
||||
G4cout << G4endl;
|
||||
G4cout << "G4IeplusAnnihilation::TestOfInversion (T->Nlambda->Tprime) " << G4endl
|
||||
;
|
||||
G4cout << "particle= " << aParticleType.GetParticleName() <<
|
||||
" material= " << (*theMaterialTable)[J]->GetName() << endl ;
|
||||
G4cout << "max (Tprime-T)/T in % =" << setw(10) << setprecision(3) << delta ;
|
||||
G4cout << " at a kinetic energy " << setw(10) << setprecision(3) <<
|
||||
Tdelta/MeV << " MeV" << endl;
|
||||
" material= " << (*theMaterialTable)[J]->GetName() << G4endl ;
|
||||
G4cout << "max (Tprime-T)/T in % =" << G4std::setw(10) << G4std::setprecision(3) << delta ;
|
||||
G4cout << " at a kinetic energy " << G4std::setw(10) << G4std::setprecision(3) <<
|
||||
Tdelta/MeV << " MeV" << G4endl;
|
||||
delmean /= sum ;
|
||||
G4cout << "mean rel.diff. (Tprime-T)/T=" << setw(10) <<
|
||||
setprecision(3) << delmean <<
|
||||
" % (mean is calculated in abs. value)" << endl;
|
||||
G4cout << endl;
|
||||
G4cout << "mean rel.diff. (Tprime-T)/T=" << G4std::setw(10) <<
|
||||
G4std::setprecision(3) << delmean <<
|
||||
" % (mean is calculated in abs. value)" << G4endl;
|
||||
G4cout << G4endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -884,7 +884,7 @@ void G4IeplusAnnihilation::PrintInfoDefinition()
|
||||
G4String comments="Total cross section from Heitler formula (2 photon annihilation).\n";
|
||||
comments += " gamma energies sampled according Heitler";
|
||||
|
||||
G4cout << endl << GetProcessName() << ": " << comments
|
||||
G4cout << G4endl << GetProcessName() << ": " << comments
|
||||
<< "\n PhysicsTables from " << G4BestUnit(LowestEnergyLimit,"Energy")
|
||||
<< " to " << G4BestUnit(HighestEnergyLimit,"Energy")
|
||||
<< " in " << NumbBinTable << " bins. \n";
|
||||
|
||||
Reference in New Issue
Block a user