Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -463,7 +463,7 @@ G4bool G4DNACrossSectionDataSet::SaveData(const G4String & argFileName) const
G4String G4DNACrossSectionDataSet::FullFileName(const G4String& argFileName) const
{
char* path = getenv("G4LEDATA");
char* path = std::getenv("G4LEDATA");
if (!path)
{
G4Exception("G4DNACrossSectionDataSet::FullFileName","em0006",
@@ -121,7 +121,7 @@ void G4VUserChemistryList::BuildPhysicsTable(G4MoleculeDefinition* moleculeDef)
<< moleculeDef->GetParticleName() << G4endl;
G4cout << " ProcessManager : " << pManager
<< " ProcessManagerShadow : " << pManagerShadow << G4endl;
for(G4int iv1=0;iv1<pVector->size();iv1++)
for(std::size_t iv1=0;iv1<pVector->size();++iv1)
{
G4cout << " " << iv1 << " - " << (*pVector)[iv1]->GetProcessName()
<< G4endl;
@@ -130,14 +130,14 @@ void G4VUserChemistryList::BuildPhysicsTable(G4MoleculeDefinition* moleculeDef)
<< G4endl;
G4ProcessVector* pVectorShadow = pManagerShadow->GetProcessList();
for(G4int iv2=0;iv2<pVectorShadow->size();iv2++)
for(std::size_t iv2=0;iv2<pVectorShadow->size();++iv2)
{
G4cout << " " << iv2 << " - " << (*pVectorShadow)[iv2]->GetProcessName()
<< G4endl;
}
}
#endif
for (G4int j = 0; j < pVector->size(); ++j)
for (std::size_t j = 0; j < pVector->size(); ++j)
{
//Andrea July 16th 2013 : migration to new interface...
//Infer if we are in a worker thread or master thread