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
+18 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VProcess.cc,v 1.6.2.1 2001/06/28 19:15:09 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4VProcess.cc,v 1.8 2001/07/11 10:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// --------------------------------------------------------------
@@ -174,6 +174,22 @@ void G4VProcess::DumpInfo() const
}
const G4String& G4VProcess::GetPhysicsTableFileName(G4ParticleDefinition* particle,
const G4String& directory,
const G4String& tableName,
G4bool ascii)
{
G4String thePhysicsTableFileExt;
if (ascii) thePhysicsTableFileExt = ".asc";
else thePhysicsTableFileExt = ".dat";
thePhysicsTableFileName = directory + "/";
thePhysicsTableFileName += tableName + "." + theProcessName + ".";
thePhysicsTableFileName += particle->GetParticleName() + thePhysicsTableFileExt;
return thePhysicsTableFileName;
}