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
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4GraphicsSystemList.hh,v 1.7 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4GraphicsSystemList.hh,v 1.8 2003/06/16 17:14:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 2nd April 1996
@@ -30,17 +30,17 @@
#ifndef G4GRAPHICSSYSTEMLIST_HH
#define G4GRAPHICSSYSTEMLIST_HH
#include "g4std/vector"
#include <vector>
#include "G4VGraphicsSystem.hh"
class G4GraphicsSystemList: public G4std::vector<G4VGraphicsSystem*> {
class G4GraphicsSystemList: public std::vector<G4VGraphicsSystem*> {
public:
void remove(G4VGraphicsSystem*);
};
typedef G4std::vector<G4VGraphicsSystem*>::iterator
typedef std::vector<G4VGraphicsSystem*>::iterator
G4GraphicsSystemListIterator;
typedef G4std::vector<G4VGraphicsSystem*>::const_iterator
typedef std::vector<G4VGraphicsSystem*>::const_iterator
G4GraphicsSystemListConstIterator;
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Scene.hh,v 1.12 2001/08/24 20:47:39 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Scene.hh,v 1.13 2003/06/16 17:14:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Scene John Allison 19th July 1996.
@@ -42,13 +42,13 @@ class G4VPhysicalVolume;
#include "G4VisExtent.hh"
#include "G4Point3D.hh"
#include "G4VModel.hh"
#include "g4std/vector"
#include <vector>
class G4Scene {
public: // With description
friend G4std::ostream& operator << (G4std::ostream& os, const G4Scene& d);
friend std::ostream& operator << (std::ostream& os, const G4Scene& d);
enum {UNLIMITED = -1};
@@ -68,11 +68,11 @@ public: // With description
G4bool IsEmpty () const;
const G4std::vector<G4VModel*>& GetRunDurationModelList () const;
const std::vector<G4VModel*>& GetRunDurationModelList () const;
// Contains models which are expected to last for the duration of
// the run, for example geometry volumes.
const G4std::vector<G4VModel*>& GetEndOfEventModelList () const;
const std::vector<G4VModel*>& GetEndOfEventModelList () const;
// Contains models which are described at the end of event when the
// scene is current.
@@ -109,10 +109,10 @@ public: // With description
// Returns false if model is already in the list.
// Prints warnings if warn is true.
G4std::vector<G4VModel*>& SetRunDurationModelList ();
std::vector<G4VModel*>& SetRunDurationModelList ();
// Allows you to change the model list - do with care!
G4std::vector<G4VModel*>& SetEndOfEventModelList ();
std::vector<G4VModel*>& SetEndOfEventModelList ();
// Allows you to change the model list - do with care!
void Clear ();
@@ -128,8 +128,8 @@ public: // With description
private:
G4String fName;
G4std::vector<G4VModel*> fRunDurationModelList;
G4std::vector<G4VModel*> fEndOfEventModelList;
std::vector<G4VModel*> fRunDurationModelList;
std::vector<G4VModel*> fEndOfEventModelList;
G4VisExtent fExtent;
G4Point3D fStandardTargetPoint;
G4bool fRefreshAtEndOfEvent;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Scene.icc,v 1.9 2001/08/11 21:39:54 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Scene.icc,v 1.10 2003/06/16 17:14:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Scene data John Allison 19th July 1996.
@@ -39,12 +39,12 @@ inline G4bool G4Scene::IsEmpty () const {
return fRunDurationModelList.size () == 0;
}
inline const G4std::vector<G4VModel*>&
inline const std::vector<G4VModel*>&
G4Scene::GetRunDurationModelList () const {
return fRunDurationModelList;
}
inline const G4std::vector<G4VModel*>&
inline const std::vector<G4VModel*>&
G4Scene::GetEndOfEventModelList () const {
return fEndOfEventModelList;
}
@@ -61,12 +61,12 @@ inline G4bool G4Scene::GetRefreshAtEndOfEvent () const {
return fRefreshAtEndOfEvent;
}
inline G4std::vector<G4VModel*>& G4Scene::SetRunDurationModelList ()
inline std::vector<G4VModel*>& G4Scene::SetRunDurationModelList ()
{
return fRunDurationModelList;
}
inline G4std::vector<G4VModel*>& G4Scene::SetEndOfEventModelList ()
inline std::vector<G4VModel*>& G4Scene::SetEndOfEventModelList ()
{
return fRunDurationModelList;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SceneHandlerList.hh,v 1.6 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4SceneHandlerList.hh,v 1.7 2003/06/16 17:14:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison May 1996
@@ -30,16 +30,16 @@
#ifndef G4SCENEHANDLERLIST_HH
#define G4SCENEHANDLERLIST_HH
#include "g4std/vector"
#include <vector>
#include "G4VSceneHandler.hh"
class G4SceneHandlerList: public G4std::vector<G4VSceneHandler*> {
class G4SceneHandlerList: public std::vector<G4VSceneHandler*> {
public:
void remove(G4VSceneHandler*);
};
typedef G4std::vector<G4VSceneHandler*>::iterator G4SceneHandlerListIterator;
typedef G4std::vector<G4VSceneHandler*>::const_iterator
typedef std::vector<G4VSceneHandler*>::iterator G4SceneHandlerListIterator;
typedef std::vector<G4VSceneHandler*>::const_iterator
G4SceneHandlerListConstIterator;
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4SceneList.hh,v 1.8 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4SceneList.hh,v 1.9 2003/06/16 17:14:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 9th August 1998
@@ -31,14 +31,14 @@
#define G4SCENELIST_HH
#include "G4Scene.hh"
#include "g4std/vector"
#include <vector>
class G4SceneList: public G4std::vector <G4Scene*> {
class G4SceneList: public std::vector <G4Scene*> {
public:
void remove(G4Scene*);
};
typedef G4std::vector<G4Scene*>::iterator G4SceneListIterator;
typedef G4std::vector<G4Scene*>::const_iterator G4SceneListConstIterator;
typedef std::vector<G4Scene*>::iterator G4SceneListIterator;
typedef std::vector<G4Scene*>::const_iterator G4SceneListConstIterator;
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VGraphicsSystem.hh,v 1.9 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VGraphicsSystem.hh,v 1.10 2003/06/16 17:14:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 27th March 1996
@@ -84,7 +84,7 @@ protected:
Functionality fFunctionality;
};
G4std::ostream& operator << (G4std::ostream& os, const G4VGraphicsSystem& gs);
std::ostream& operator << (std::ostream& os, const G4VGraphicsSystem& gs);
#include "G4VGraphicsSystem.icc"
@@ -22,7 +22,7 @@
//
//
// $Id: G4VGraphicsSystem.icc,v 1.6 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 27th March 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VSceneHandler.hh,v 1.19 2002/10/24 15:10:43 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VSceneHandler.hh,v 1.20 2003/06/16 17:14:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 19th July 1996.
@@ -56,7 +56,7 @@ class G4VSceneHandler: public G4VGraphicsScene {
public: // With description
friend G4std::ostream& operator << (G4std::ostream& os, const G4VSceneHandler& s);
friend std::ostream& operator << (std::ostream& os, const G4VSceneHandler& s);
enum MarkerSizeType {world, screen};
@@ -22,7 +22,7 @@
//
//
// $Id: G4VSceneHandler.icc,v 1.12 2001/08/09 20:13:40 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 19th July 1996.
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VViewer.hh,v 1.12 2001/08/14 18:35:19 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VViewer.hh,v 1.13 2003/06/16 17:14:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 27th March 1996
@@ -44,7 +44,7 @@ class G4VViewer {
public: // With description
friend G4std::ostream& operator << (G4std::ostream& os, const G4VViewer& v);
friend std::ostream& operator << (std::ostream& os, const G4VViewer& v);
G4VViewer (G4VSceneHandler& scene, G4int id, const G4String& name = "");
virtual ~G4VViewer ();
@@ -22,7 +22,7 @@
//
//
// $Id: G4VViewer.icc,v 1.9 2001/07/14 21:48:22 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 30th December 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VVisCommand.hh,v 1.14 2002/11/27 12:32:32 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VVisCommand.hh,v 1.15 2003/06/16 17:14:10 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -33,7 +33,7 @@
#include "G4VisManager.hh"
#include "G4UImessenger.hh"
#include "G4ThreeVector.hh"
#include "g4std/vector"
#include <vector>
class G4UIcommand;
class G4UIcmdWithAString;
@@ -59,13 +59,13 @@ public:
protected:
static G4VisManager* fpVisManager;
static G4std::vector<G4UIcommand*> sceneNameCommands;
typedef G4std::vector<G4UIcommand*>::iterator sceneNameCommandsIterator;
static G4std::vector<G4UIcommand*> sceneHandlerNameCommands;
typedef G4std::vector<G4UIcommand*>::iterator
static std::vector<G4UIcommand*> sceneNameCommands;
typedef std::vector<G4UIcommand*>::iterator sceneNameCommandsIterator;
static std::vector<G4UIcommand*> sceneHandlerNameCommands;
typedef std::vector<G4UIcommand*>::iterator
sceneHandlerNameCommandsIterator;
static G4std::vector<G4UIcommand*> viewerNameCommands;
typedef G4std::vector<G4UIcommand*>::iterator viewerNameCommandsIterator;
static std::vector<G4UIcommand*> viewerNameCommands;
typedef std::vector<G4UIcommand*>::iterator viewerNameCommandsIterator;
};
#include "G4VVisCommand.icc"
@@ -22,7 +22,7 @@
//
//
// $Id: G4VVisCommand.icc,v 1.4 2001/07/11 10:09:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// Base class for visualization commands - John Allison 9th August 1998
// It is really a messenger - we have one command per messenger.
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ViewParameters.hh,v 1.13 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ViewParameters.hh,v 1.14 2003/06/16 17:14:11 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 19th July 1996
@@ -72,14 +72,14 @@
#ifndef G4VIEWPARAMETERS_HH
#define G4VIEWPARAMETERS_HH
#include "g4std/vector"
#include <vector>
#include "G4Vector3D.hh"
#include "G4Point3D.hh"
#include "G4Plane3D.hh"
#include "G4VisAttributes.hh"
#include "G4VMarker.hh"
typedef G4std::vector<G4Plane3D> G4Planes;
typedef std::vector<G4Plane3D> G4Planes;
class G4ViewParameters {
@@ -97,10 +97,10 @@ public: // With description
nurbs // Use G4NURBS.
};
friend G4std::ostream& operator << (G4std::ostream&,
friend std::ostream& operator << (std::ostream&,
const DrawingStyle&);
friend G4std::ostream& operator << (G4std::ostream&,
friend std::ostream& operator << (std::ostream&,
const G4ViewParameters&);
G4ViewParameters ();
@@ -22,7 +22,7 @@
//
//
// $Id: G4ViewParameters.icc,v 1.5 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 20th October 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ViewerList.hh,v 1.6 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ViewerList.hh,v 1.7 2003/06/16 17:14:12 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison May 1996
@@ -30,15 +30,15 @@
#ifndef G4VIEWERLIST_HH
#define G4VIEWERLIST_HH
#include "g4std/vector"
#include <vector>
#include "G4VViewer.hh"
class G4ViewerList: public G4std::vector<G4VViewer*> {
class G4ViewerList: public std::vector<G4VViewer*> {
public:
void remove(G4VViewer*);
};
typedef G4std::vector<G4VViewer*>::iterator G4ViewerListIterator;
typedef G4std::vector<G4VViewer*>::const_iterator G4ViewerListConstIterator;
typedef std::vector<G4VViewer*>::iterator G4ViewerListIterator;
typedef std::vector<G4VViewer*>::const_iterator G4ViewerListConstIterator;
#endif
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommands.hh,v 1.3 2001/08/05 02:29:02 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// /vis/ top level commands - John Allison 5th February 2001
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsCompound.hh,v 1.7 2001/07/11 10:09:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// Compound /vis/ commands - John Allison 15th May 2000
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsScene.hh,v 1.13 2001/11/06 13:00:10 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// /vis/scene commands - John Allison 9th August 1998
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsSceneAdd.hh,v 1.10 2002/11/11 18:31:28 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// /vis/scene commands - John Allison 9th August 1998
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsSceneHandler.hh,v 1.6 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// /vis/sceneHandler commands - John Allison 10th October 1998
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisCommandsViewer.hh,v 1.15 2001/11/06 12:55:28 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// /vis/viewer commands - John Allison 25th October 1998
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisCommandsViewerSet.hh,v 1.11 2002/11/27 12:33:29 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisCommandsViewerSet.hh,v 1.12 2003/06/16 17:14:13 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// /vis/viewer/set commands - John Allison 16th May 2000
@@ -31,7 +31,7 @@
#include "G4VisCommandsViewer.hh"
#include "g4std/vector"
#include <vector>
class G4UIcommand;
class G4UIcmdWithAString;
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfDAWNFILE.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4VISFEATURESOFDAWNFILE_HH
#define G4VISFEATURESOFDAWNFILE_HH
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfFukuiRenderer.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfOpenGL.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisFeaturesOfOpenInventor.hh,v 1.4 2001/07/11 10:09:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisManager.hh,v 1.29 2003/01/20 14:12:36 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisManager.hh,v 1.30 2003/06/16 17:14:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -87,8 +87,8 @@
#include "G4TrajectoriesModel.hh"
#include "G4ModelingParameters.hh"
#include "g4std/iostream"
#include "g4std/vector"
#include <iostream>
#include <vector>
class G4Scene;
class G4UIcommand;
@@ -111,11 +111,11 @@ class G4VisManager: public G4VVisManager {
friend class G4VSceneHandler;
friend class G4VViewer;
friend G4std::ostream & operator <<
(G4std::ostream &, const G4VGraphicsSystem &);
friend std::ostream & operator <<
(std::ostream &, const G4VGraphicsSystem &);
friend G4std::ostream & operator <<
(G4std::ostream &, const G4VSceneHandler &);
friend std::ostream & operator <<
(std::ostream &, const G4VSceneHandler &);
friend class G4VisStateDependent;
@@ -343,8 +343,8 @@ protected:
// examples. (It is used in the derived user vis managers to print
// available graphics systems.) It is initialised to 1 in the
// constructor and cannot be changed.
G4std::vector<G4UImessenger*> fMessengerList;
G4std::vector<G4UIcommand*> fDirectoryList;
std::vector<G4UImessenger*> fMessengerList;
std::vector<G4UIcommand*> fDirectoryList;
G4VisStateDependent* fpStateDependent; // Friend state dependent class.
G4int fWindowSizeHintX, fWindowSizeHintY; // For viewer construction.
G4NullModel fVisManagerNullModel; // As a default.
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisManager.icc,v 1.8 2001/08/05 02:29:05 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// GEANT4 Visualization Manager - John Allison 02/Jan/1996.
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisStateDependent.hh,v 1.4 2001/07/11 10:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// A "state dependent" service class for G4VisManager.
// John Allison 29th November 1999
@@ -22,7 +22,7 @@
//
//
// $Id: G4VisToOldVisCommands.hh,v 1.6 2001/07/11 10:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Implements some /vis/ commands as /vis~/ temporarily.
@@ -22,7 +22,7 @@
//
//
// $Id: MyVisManager.cc,v 1.17 2002/11/27 12:34:36 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 24th January 1998.
@@ -22,7 +22,7 @@
//
//
// $Id: MyVisManager.hh,v 1.5 2001/07/11 10:09:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 24th January 1998.