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
+5 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4DCtable.cc,v 1.4.2.1 2001/06/28 19:15:18 gunter Exp $
// GEANT4 tag $Name: $
// $Id: G4DCtable.cc,v 1.6 2001/10/18 20:28:19 asaim Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#include "G4DCtable.hh"
@@ -33,7 +33,7 @@ G4DCtable::~G4DCtable() {;}
G4int G4DCtable::Registor(G4String DMname,G4String DCname)
{
for(int i=0;i<DClist.size();i++)
for(int i=0;i<int(DClist.size());i++)
{ if(DClist[i]==DCname && DMlist[i]==DMname) return -1; }
DClist.push_back(DCname);
DMlist.push_back(DMname);
@@ -45,7 +45,7 @@ G4int G4DCtable::GetCollectionID(G4String DCname)
G4int i = -1;
if(DCname.index("/")==G4std::string::npos) // DCname only
{
for(G4int j=0;j<DClist.size();j++)
for(int j=0;j<int(DClist.size());j++)
{
if(DClist[j]==DCname)
{
@@ -56,7 +56,7 @@ G4int G4DCtable::GetCollectionID(G4String DCname)
}
else
{
for(G4int j=0;j<DClist.size();j++)
for(int j=0;j<int(DClist.size());j++)
{
G4String tgt = DMlist[j];
tgt += "/";