Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
+13 -6
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4SDManager.cc,v 1.4 2006/06/29 18:05:50 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
// $Id: G4SDManager.cc,v 1.4 2006-06-29 18:05:50 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
//
#include "G4SDManager.hh"
@@ -91,10 +91,17 @@ void G4SDManager::AddNewCollection(G4String SDname,G4String DCname)
G4int i = HCtable->Registor(SDname,DCname);
if(verboseLevel>0)
{
if(i<0) G4cerr << "G4SDManager::AddNewCollection : the collection <"
<< SDname << "/" << DCname << "> has already been reginstered." << G4endl;
else G4cout << "G4SDManager::AddNewCollection : the collection <"
<< SDname << "/" << DCname << "> is registered at " << i << G4endl;
if(i<0) {
G4ExceptionDescription ED;
ED << "G4SDManager::AddNewCollection : the collection <"
<< SDname << "/" << DCname << "> has already been reginstered." << G4endl;
G4Exception("G4SDManager::AddNewCollection","Det0001",JustWarning,ED);
}
else
{
G4cout << "G4SDManager::AddNewCollection : the collection <"
<< SDname << "/" << DCname << "> is registered at " << i << G4endl;
}
}
}