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: G4EmModelManager.cc 76957 2013-11-19 15:07:20Z gcosmo $
// $Id: G4EmModelManager.cc 84398 2014-10-15 07:20:18Z gcosmo $
//
// -------------------------------------------------------------------
//
@@ -109,12 +109,11 @@ G4RegionModels::~G4RegionModels()
#include "G4Step.hh"
#include "G4ParticleDefinition.hh"
#include "G4PhysicsVector.hh"
#include "G4Gamma.hh"
#include "G4Positron.hh"
#include "G4MaterialCutsCouple.hh"
#include "G4ProductionCutsTable.hh"
#include "G4RegionStore.hh"
#include "G4Gamma.hh"
#include "G4Electron.hh"
#include "G4Positron.hh"
#include "G4UnitsTable.hh"
#include "G4DataVector.hh"
@@ -447,7 +446,9 @@ G4EmModelManager::Initialise(const G4ParticleDefinition* p,
size_t idx = 1;
if(secondaryParticle) {
if( secondaryParticle == G4Gamma::Gamma() ) { idx = 0; }
else if( secondaryParticle == G4Electron::Electron()) { idx = 1; }
else if( secondaryParticle == G4Positron::Positron()) { idx = 2; }
else { idx = 3; }
}
theCuts =
@@ -659,8 +660,10 @@ void G4EmModelManager::FillLambdaVector(G4PhysicsVector* aVector,
<< " in " << couple->GetMaterial()->GetName()
<< " Emin(MeV)= " << aVector->Energy(0)
<< " Emax(MeV)= " << aVector->GetMaxEnergy()
<< " cut= " << cut
<< " Type " << tType
<< " nmod= " << nmod
<< " theSubCuts " << theSubCuts
<< G4endl;
}