Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
+9 -10
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4IonTable.cc,v 1.28.2.2 2001/06/28 20:19:11 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4IonTable.cc,v 1.30 2001/10/15 09:58:34 kurasige Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -472,7 +472,8 @@ void G4IonTable::AddProcessManager(const G4String& name)
// retreive /control/verbose
G4UImanager::GetUIpointer()->SetVerboseLevel(tempVerboseLevel);
}
#include "g4std/vector"
/////////////////
void G4IonTable::SetCuts(G4ParticleDefinition* ion)
{
@@ -483,13 +484,11 @@ void G4IonTable::SetCuts(G4ParticleDefinition* ion)
}
if (genericIon->GetEnergyCuts() != 0) {
ion->SetCuts( genericIon->GetLengthCuts());
#ifdef G4VERBOSE
if (GetVerboseLevel()> 1) {
G4cout << "G4IonTable::GetIon() : cut value =";
G4cout << genericIon->GetLengthCuts()/mm << "[mm]" <<G4endl;
}
#endif
G4std::vector<G4double> cuts;
for (size_t j=0; j<G4Material::GetNumberOfMaterials(); j +=1) {
cuts.push_back( (genericIon->GetLengthCuts())[j] );
}
ion->SetRangeCutVector(cuts);
G4String name = ion->GetParticleName();