Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VRML1SceneHandler.cc,v 1.1.8.1 1999/12/07 20:53:46 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VRML1SceneHandler.cc,v 1.2 1999/12/15 14:54:16 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// G4VRML1SceneHandler.cc
// Yasuhide Sawada and Satoshi Tanaka
@@ -19,7 +19,7 @@
//#define DEBUG_FR_SCENE
#include <unistd.h>
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4VPhysicalVolume.hh"
@@ -56,7 +56,7 @@ G4VRML1SceneHandler::G4VRML1SceneHandler(G4VRML1& system, const G4String& name)
G4VRML1SceneHandler::~G4VRML1SceneHandler()
{
#if defined DEBUG_FR_SCENE
G4cerr << "***** ~G4VRML1SceneHandler" << endl;
G4cerr << "***** ~G4VRML1SceneHandler" << G4endl;
#endif
fSceneCount--;
}
@@ -79,12 +79,12 @@ void G4VRML1SceneHandler::connectPort(G4int max_trial)
// INET domain connection is established
G4cerr << "*** GEANT4 is connected to port ";
G4cerr << fDest.getPort();
G4cerr << " of server " << fSystem.getHostName() << endl;
G4cerr << " of server " << fSystem.getHostName() << G4endl;
break;
} else {
// Connection failed. Try the next port.
G4cerr << "*** GEANT4 incremented targeting port to ";
G4cerr << port << endl;
G4cerr << port << G4endl;
}
sleep (1);
@@ -92,17 +92,17 @@ void G4VRML1SceneHandler::connectPort(G4int max_trial)
} // for
if (!fDest.isConnected()) {
G4cerr << "*** INET Connection failed. " << endl;
G4cerr << " Maybe, you have not invoked viewer g4vrmlview yet, " << endl;
G4cerr << " or too many viewers are already running in the " << endl;
G4cerr << " server host(" << fSystem.getHostName() << "). " << endl;
G4cerr << "*** INET Connection failed. " << G4endl;
G4cerr << " Maybe, you have not invoked viewer g4vrmlview yet, " << G4endl;
G4cerr << " or too many viewers are already running in the " << G4endl;
G4cerr << " server host(" << fSystem.getHostName() << "). " << G4endl;
}
}
void G4VRML1SceneHandler::closePort()
{
fDest.close();
G4cerr << "*** INET Connection closed. " << endl;
G4cerr << "*** INET Connection closed. " << G4endl;
}