Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4ASCIITree.cc,v 1.7 2001/08/05 19:02:12 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 5th April 2001
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ASCIITreeMessenger.cc,v 1.5 2001/07/11 10:09:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ASCIITreeMessenger.cc,v 1.6 2003/05/30 13:01:23 johna Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 5th April 2001
@@ -56,13 +56,11 @@ G4ASCIITreeMessenger::~G4ASCIITreeMessenger() {
delete fpDirectory;
}
G4String G4ASCIITreeMessenger::GetCurrentValue
(G4UIcommand* command) {
G4String G4ASCIITreeMessenger::GetCurrentValue(G4UIcommand*) {
return "0";
}
void G4ASCIITreeMessenger::SetNewValue
(G4UIcommand* command, G4String newValue) {
void G4ASCIITreeMessenger::SetNewValue(G4UIcommand*, G4String newValue) {
fpASCIITree->SetVerbosity
(fpCommandVerbose->GetNewIntValue(newValue));
G4cout << "G4ASCIITree verbosity now "
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ASCIITreeSceneHandler.cc,v 1.11 2001/08/24 20:41:31 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ASCIITreeSceneHandler.cc,v 1.12 2003/05/30 13:01:23 johna Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 5th April 2001
@@ -70,7 +70,7 @@ void G4ASCIITreeSceneHandler::EndModeling () {
G4VTreeSceneHandler::EndModeling (); // To re-use "culling off" code.
}
void G4ASCIITreeSceneHandler::RequestPrimitives(const G4VSolid& solid) {
void G4ASCIITreeSceneHandler::RequestPrimitives(const G4VSolid&) {
const G4ASCIITree* pSystem = (G4ASCIITree*)GetGraphicsSystem();
const G4int verbosity = pSystem->GetVerbosity();
@@ -21,13 +21,13 @@
// ********************************************************************
//
//
// $Id: G4ASCIITreeViewer.cc,v 1.5 2002/12/11 16:08:50 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ASCIITreeViewer.cc,v 1.6 2003/06/16 17:13:50 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
#include "G4ASCIITreeViewer.hh"
#include "G4ios.hh"
#include "g4std/strstream"
#include <strstream>
G4ASCIITreeViewer::G4ASCIITreeViewer
(G4VSceneHandler& sceneHandler, const G4String& name):
@@ -51,13 +51,11 @@ G4GAGTreeMessenger::~G4GAGTreeMessenger() {
delete fpDirectory;
}
G4String G4GAGTreeMessenger::GetCurrentValue
(G4UIcommand* command) {
G4String G4GAGTreeMessenger::GetCurrentValue(G4UIcommand*) {
return "0";
}
void G4GAGTreeMessenger::SetNewValue
(G4UIcommand* command, G4String newValue) {
void G4GAGTreeMessenger::SetNewValue(G4UIcommand*, G4String newValue) {
fpGAGTree->SetVerbosity
(fpCommandVerbose->GetNewIntValue(newValue));
G4cout << "G4GAGTree verbosity now "
@@ -23,7 +23,8 @@
// Satoshi Tanaka 31th May 2001
// A scene handler to dump geometry hierarchy to GAG.
#include "g4std/strstream"
#include "G4Types.hh"
#include <strstream>
#include "G4GAGTreeSceneHandler.hh"
@@ -129,7 +130,7 @@ void G4GAGTreeSceneHandler::EndModeling ()
G4VTreeSceneHandler::EndModeling ();
}
void G4GAGTreeSceneHandler::RequestPrimitives (const G4VSolid& solid)
void G4GAGTreeSceneHandler::RequestPrimitives (const G4VSolid&)
{
//////////////////////////////
G4String cur_abs_pv_name ;
@@ -157,7 +158,7 @@ void G4GAGTreeSceneHandler::RequestPrimitives (const G4VSolid& solid)
// Step 1: Initialize the extension
const int CHAR_LENGTH = 1024;
char pv_ext [CHAR_LENGTH]; pv_ext[0] = '\0';
G4std::ostrstream ost (pv_ext, CHAR_LENGTH);
std::ostrstream ost (pv_ext, CHAR_LENGTH);
// Step 2: Generate the extension
// copy number
@@ -26,7 +26,7 @@
#include "G4GAGTreeViewer.hh"
#include "G4ios.hh"
#include "g4std/strstream"
#include <strstream>
G4GAGTreeViewer::G4GAGTreeViewer
(G4VSceneHandler& sceneHandler, const G4String& name):
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VTree.cc,v 1.4 2001/07/11 10:09:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 5th April 2001
@@ -22,7 +22,7 @@
//
//
// $Id: G4VTreeSceneHandler.cc,v 1.7 2002/12/11 16:08:55 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 5th April 2001
@@ -21,13 +21,13 @@
// ********************************************************************
//
//
// $Id: G4VTreeViewer.cc,v 1.4 2001/07/11 10:09:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VTreeViewer.cc,v 1.5 2003/06/16 17:13:53 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
#include "G4VTreeViewer.hh"
#include "G4ios.hh"
#include "g4std/strstream"
#include <strstream>
#include "G4VSceneHandler.hh"