Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4EmConfigurator.cc 66241 2012-12-13 18:34:42Z gunter $
// $Id: G4EmConfigurator.cc 86129 2014-11-07 11:16:37Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -91,9 +91,11 @@ void G4EmConfigurator::SetExtraEmModel(const G4String& particleName,
<< " Emax(MeV)= " << emax/MeV
<< G4endl;
}
if(mod || fm) {
if(mod) {
models.push_back(mod);
flucModels.push_back(fm);
emax = std::min(emax, mod->HighEnergyLimit());
mod->SetActivationHighEnergyLimit(emax);
} else {
models.push_back(new G4DummyModel());
flucModels.push_back(0);