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
+22 -22
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4UIxvt.cc,v 1.2.8.1 1999/12/07 20:49:06 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4UIxvt.cc,v 1.2.8.1.2.1 1999/12/08 17:34:03 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifdef G4UI_BUILD_XVT_SESSION
@@ -195,7 +195,7 @@ G4UIsession* G4UIxvt::SessionStart(void)
fillArrayEntries(comTree, 0);
G4cout << " --------- List of Array Entries ---------- " << endl;
G4cout << " --------- List of Array Entries ---------- " << G4endl;
listCommandArray();
briefListCommands();
@@ -326,7 +326,7 @@ void G4UIxvt::writeGeantToXvt(const G4String& theString)
int write_check = write(fd_GeantToXvt, theString, number);
if(write_check == -1)
G4cout << "ERROR WITH WRITE!!" << endl;
G4cout << "ERROR WITH WRITE!!" << G4endl;
}
@@ -341,7 +341,7 @@ void G4UIxvt::writeGeantToXvt(const G4String& theString)
///////////////////////////////////////////////////////////////////////////////
void G4UIxvt::errorHandler(const G4String& theError)
{
G4cout << "Error with " << theError << endl;
G4cout << "Error with " << theError << G4endl;
}
@@ -410,7 +410,7 @@ G4String G4UIxvt::GetCommand()
}
if( newCommand(0) != '/' )
G4cerr << "IT GOT THERE!!!!" << endl;
G4cerr << "IT GOT THERE!!!!" << G4endl;
// If you ever see the error message in the output something has gone
// wrong.
@@ -690,7 +690,7 @@ void G4UIxvt::fillArrayEntries(G4UIcommandTree * tree, int level)
if(level==0)
{
// --- This code shouldn't ever get executed --- //
G4cout << "Printing command Path" << commandPath << endl;
G4cout << "Printing command Path" << commandPath << G4endl;
}
else
{
@@ -772,11 +772,11 @@ void G4UIxvt::listCommandArray(void)
{
for(int i = 0; i < currentPosition; i++)
{
G4cout << "CommandArray, Entry-> " << i << endl
<< "Flag-> " << commandArray[i].flag << endl
<< "Name-> " << commandArray[i].name << endl
<< "Guidance-> " << commandArray[i].guidance << endl
<< "Number of Parameters-> " << commandArray[i].numOfParameters << endl;
G4cout << "CommandArray, Entry-> " << i << G4endl
<< "Flag-> " << commandArray[i].flag << G4endl
<< "Name-> " << commandArray[i].name << G4endl
<< "Guidance-> " << commandArray[i].guidance << G4endl
<< "Number of Parameters-> " << commandArray[i].numOfParameters << G4endl;
int numParam = commandArray[i].numOfParameters;
@@ -784,19 +784,19 @@ void G4UIxvt::listCommandArray(void)
{
for(int x = 0; x < numParam; x++)
{
G4cout << "Parameters for this command: " << endl << endl
<< "Parameter Name-> " << commandArray[i].parameters[x].name << endl
<< "Parameter Guidance-> " << commandArray[i].parameters[x].guidance << endl
<< "Parameter Default Value-> " << commandArray[i].parameters[x].defaultValue << endl
<< "Parameter Range-> " << commandArray[i].parameters[x].range << endl
<< "Parameter Candidate-> " << commandArray[i].parameters[x].candidate << endl
<< "Parameter Type-> " << commandArray[i].parameters[x].type << endl
<< "Parameter Omittable-> " << commandArray[i].parameters[x].omittable << endl
<< endl << endl;
G4cout << "Parameters for this command: " << G4endl << G4endl
<< "Parameter Name-> " << commandArray[i].parameters[x].name << G4endl
<< "Parameter Guidance-> " << commandArray[i].parameters[x].guidance << G4endl
<< "Parameter Default Value-> " << commandArray[i].parameters[x].defaultValue << G4endl
<< "Parameter Range-> " << commandArray[i].parameters[x].range << G4endl
<< "Parameter Candidate-> " << commandArray[i].parameters[x].candidate << G4endl
<< "Parameter Type-> " << commandArray[i].parameters[x].type << G4endl
<< "Parameter Omittable-> " << commandArray[i].parameters[x].omittable << G4endl
<< G4endl << G4endl;
}
}
G4cout << "Number-> " << commandArray[i].commandNumber << endl << endl;
G4cout << "Number-> " << commandArray[i].commandNumber << G4endl << G4endl;
}
}
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4UIxvtMessenger.cc,v 1.2.8.1 1999/12/07 20:49:07 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4UIxvtMessenger.cc,v 1.2.8.1.2.1 1999/12/08 17:34:03 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifdef G4UI_BUILD_XVT_SESSION
@@ -60,7 +60,7 @@ void G4UIxvtMessenger::SetNewValue(G4UIcommand * command,G4String newValue)
if(newValue=="EndOfEvent") id=2;
if(newValue=="endOfRun") id=3;
if(id<0)
{ G4cout << "Unknown break point <" << newValue << "> ignored." << endl; }
{ G4cout << "Unknown break point <" << newValue << "> ignored." << G4endl; }
else
{ xvtptr->set_breakPointAt(id,true); }
}