Import Geant4 10.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2017-12-08 12:52:30 +01:00
parent 98e455a940
commit fc6af9e721
2166 changed files with 276760 additions and 100873 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4eeToHadronsMultiModel.cc 97391 2016-06-02 10:08:45Z gcosmo $
// $Id: G4eeToHadronsMultiModel.cc 106715 2017-10-20 09:39:06Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -196,16 +196,24 @@ void G4eeToHadronsMultiModel::SampleSecondaries(
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
void G4eeToHadronsMultiModel::PrintInfo()
void G4eeToHadronsMultiModel::ModelDescription(std::ostream& outFile) const
{
ModelDescription(outFile, G4String("\n"));
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
void G4eeToHadronsMultiModel::ModelDescription(std::ostream& outFile,
G4String endOfLine) const
{
if(verbose > 0) {
G4double e1 = 0.5*thKineticEnergy*thKineticEnergy/electron_mass_c2
- 2.0*electron_mass_c2;
G4double e2 = 0.5*maxKineticEnergy*maxKineticEnergy/electron_mass_c2
- 2.0*electron_mass_c2;
G4cout << " e+ annihilation into hadrons active from "
<< e1/GeV << " GeV to " << e2/GeV << " GeV"
<< G4endl;
outFile << " e+ annihilation into hadrons active from "
<< e1/GeV << " GeV to " << e2/GeV << " GeV"
<< endOfLine;
}
}