Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisManMessDraw.cc,v 1.5 1999/12/15 14:54:27 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VisManMessDraw.cc,v 1.7 2001/02/23 15:43:29 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// GEANT4 Visualization Manager Messenger - John Allison 22nd July 1996.
@@ -60,7 +60,7 @@ void G4VisManMessenger::AddCommandDraw () {
param -> SetDefaultValue ("mm");
param -> SetGuidance ("mm, cm, or m.");
command -> SetParameter (param);
fCommandList.append (command);
fCommandList.push_back (command);
//////////////////////////////////// /vis~/draw/text /////
//draw \hline
@@ -98,7 +98,7 @@ void G4VisManMessenger::AddCommandDraw () {
param = new G4UIparameter ("text", 's', true);
param -> SetDefaultValue ("text");
command -> SetParameter (param);
fCommandList.append (command);
fCommandList.push_back (command);
//
//////////////////////////////////// /vis~/draw/ghosts /////
@@ -110,7 +110,7 @@ void G4VisManMessenger::AddCommandDraw () {
param = new G4UIparameter ("ParticleName", 's', true);
param -> SetDefaultValue ("all");
command -> SetParameter (param);
fCommandList.append (command);
fCommandList.push_back (command);
/******************************** UNDER DEVELOPMENT ?????????????
@@ -132,7 +132,7 @@ void G4VisManMessenger::AddCommandDraw () {
param = new G4UIparameter ("Physical volume name", 's', true);
param -> SetDefaultValue ("__none__");
command -> SetParameter (param);
fCommandList.append (command);
fCommandList.push_back (command);
**************************************************************/
}
@@ -209,7 +209,9 @@ void G4VisManMessenger::DoCommandDraw (const G4String& commandPath,
////////////////////////// /vis~/draw/volume /////
if (commandPath == "/vis~/draw/volume") {
// Find physical_volume.
G4VisManager::PrintCommandDeprecation
("Use \"/vis/scene/add/volume\" or \"/vis/drawVolume\".");
// Find physical_volume.
G4String name;
const char* aString = newValues;
G4std::istrstream is((char*) aString) ; is >> name;
@@ -220,6 +222,8 @@ void G4VisManMessenger::DoCommandDraw (const G4String& commandPath,
}
////////////////////////// /vis~/draw/ghosts /////
if (commandPath == "/vis~/draw/ghosts") {
G4VisManager::PrintCommandDeprecation
("Use \"/vis/scene/add/ghosts\".");
// preliminaries
G4VisManager* theVisManager;
if(!(theVisManager= G4VisManager::GetInstance())) {