Import Geant4 4.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:18:25 +02:00
parent 36c080dca6
commit 921d3b1cda
3990 changed files with 185376 additions and 82884 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8CalorHit.cc,v 1.2.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8CalorHit.cc,v 1.3 2001/07/11 09:57:55 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8CalorimeterSD.cc,v 1.3.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8CalorimeterSD.cc,v 1.4 2001/07/11 09:57:55 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8DetectorConstruction.cc,v 1.5.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8DetectorConstruction.cc,v 1.7 2001/10/24 21:30:41 gcosmo Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -661,8 +661,8 @@ void Em8DetectorConstruction::SetAbsorberMaterial(G4String materialChoice)
// search the material by its name
G4Material* pttoMaterial;
for (G4int J=0 ; J<theMaterialTable->length() ; J++)
{ pttoMaterial = (*theMaterialTable)(J);
for (size_t J=0 ; J<theMaterialTable->size() ; J++)
{ pttoMaterial = (*theMaterialTable)[J];
if(pttoMaterial->GetName() == materialChoice)
{AbsorberMaterial = pttoMaterial;
logicAbsorber->SetMaterial(pttoMaterial);
@@ -682,8 +682,8 @@ void Em8DetectorConstruction::SetWorldMaterial(G4String materialChoice)
// search the material by its name
G4Material* pttoMaterial;
for (G4int J=0 ; J<theMaterialTable->length() ; J++)
{ pttoMaterial = (*theMaterialTable)(J);
for (size_t J=0 ; J<theMaterialTable->size() ; J++)
{ pttoMaterial = (*theMaterialTable)[J];
if(pttoMaterial->GetName() == materialChoice)
{WorldMaterial = pttoMaterial;
logicWorld->SetMaterial(pttoMaterial);
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8DetectorMessenger.cc,v 1.2.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8DetectorMessenger.cc,v 1.3 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8EventAction.cc,v 1.3.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8EventAction.cc,v 1.5 2001/10/16 12:22:23 maire Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -35,9 +35,6 @@
#include "Em8CalorHit.hh"
#include "Em8EventActionMessenger.hh"
#include "g4rw/tvordvec.h"
#include "G4Event.hh"
#include "G4EventManager.hh"
#include "G4HCofThisEvent.hh"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8EventActionMessenger.cc,v 1.2.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8EventActionMessenger.cc,v 1.3 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8PhysicsList.cc,v 1.4.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8PhysicsList.cc,v 1.5 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#include "G4Timer.hh"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8PhysicsListMessenger.cc,v 1.2.4.1 2001/06/28 19:07:12 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8PhysicsListMessenger.cc,v 1.3 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8PrimaryGeneratorAction.cc,v 1.3.4.1 2001/06/28 19:07:13 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8PrimaryGeneratorAction.cc,v 1.4 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8PrimaryGeneratorMessenger.cc,v 1.2.4.1 2001/06/28 19:07:13 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8PrimaryGeneratorMessenger.cc,v 1.3 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8RunAction.cc,v 1.5.4.1 2001/06/28 19:07:13 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8RunAction.cc,v 1.6 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8RunMessenger.cc,v 1.3.4.1 2001/06/28 19:07:13 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8RunMessenger.cc,v 1.4 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8StepCut.cc,v 1.3.4.1 2001/06/28 19:07:14 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8StepCut.cc,v 1.4 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
#include "Em8StepCut.hh"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8SteppingAction.cc,v 1.3.4.1 2001/06/28 19:07:14 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8SteppingAction.cc,v 1.4 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8SteppingMessenger.cc,v 1.2.4.1 2001/06/28 19:07:14 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8SteppingMessenger.cc,v 1.3 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8SteppingVerbose.cc,v 1.4.2.1 2001/06/28 19:07:14 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8SteppingVerbose.cc,v 1.5 2001/07/11 09:57:56 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
//---------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: Em8VisManager.cc,v 1.2.4.1 2001/06/28 19:07:14 gunter Exp $
// GEANT4 tag $Name: $
// $Id: Em8VisManager.cc,v 1.5 2001/11/15 13:09:50 johna Exp $
// GEANT4 tag $Name: geant4-04-00 $
//
//
// John Allison 24th January 1998.
@@ -36,14 +36,21 @@
// Supported drivers...
// Not needing external packages or libraries...
#include "G4ASCIITree.hh"
#include "G4DAWNFILE.hh"
#include "G4GAGTree.hh"
#include "G4HepRepFile.hh"
#include "G4RayTracer.hh"
#include "G4VRML1File.hh"
#include "G4VRML2File.hh"
// Needing external packages or libraries...
#ifdef G4VIS_USE_DAWN
#include "G4FukuiRenderer.hh"
#endif
#ifdef G4VIS_USE_DAWNFILE
#include "G4DAWNFILE.hh"
#endif
#ifdef G4VIS_USE_OPACS
#include "G4Wo.hh"
#include "G4Xo.hh"
@@ -72,18 +79,9 @@
#include "G4OpenInventorWin32.hh"
#endif
#ifdef G4VIS_USE_RAYX
#include "G4RayX.hh"
#endif
#ifdef G4VIS_USE_VRML
#include "G4VRML1.hh"
// #include "G4VRML2.hh"
#endif
#ifdef G4VIS_USE_VRMLFILE
#include "G4VRML1File.hh"
//#include "G4VRML2File.hh"
#include "G4VRML2.hh"
#endif
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -94,14 +92,21 @@ Em8VisManager::Em8VisManager () {}
void Em8VisManager::RegisterGraphicsSystems () {
// Graphics Systems not needing external packages or libraries...
RegisterGraphicsSystem (new G4ASCIITree);
RegisterGraphicsSystem (new G4DAWNFILE);
RegisterGraphicsSystem (new G4GAGTree);
RegisterGraphicsSystem (new G4HepRepFile);
RegisterGraphicsSystem (new G4RayTracer);
RegisterGraphicsSystem (new G4VRML1File);
RegisterGraphicsSystem (new G4VRML2File);
// Graphics systems needing external packages or libraries...
#ifdef G4VIS_USE_DAWN
RegisterGraphicsSystem (new G4FukuiRenderer);
#endif
#ifdef G4VIS_USE_DAWNFILE
RegisterGraphicsSystem (new G4DAWNFILE);
#endif
#ifdef G4VIS_USE_OPACS
RegisterGraphicsSystem (new G4Wo);
RegisterGraphicsSystem (new G4Xo);
@@ -130,18 +135,9 @@ void Em8VisManager::RegisterGraphicsSystems () {
RegisterGraphicsSystem (new G4OpenInventorWin32);
#endif
#ifdef G4VIS_USE_RAYX
RegisterGraphicsSystem (new G4RayX);
#endif
#ifdef G4VIS_USE_VRML
RegisterGraphicsSystem (new G4VRML1);
// RegisterGraphicsSystem (new G4VRML2);
#endif
#ifdef G4VIS_USE_VRMLFILE
RegisterGraphicsSystem (new G4VRML1File);
// RegisterGraphicsSystem (new G4VRML2File);
RegisterGraphicsSystem (new G4VRML2);
#endif
if (fVerbose > 0) {