Import Geant4 5.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:57:27 +02:00
parent 330b82b769
commit 37fff30d2e
5733 changed files with 263867 additions and 74574 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIaliasList.hh,v 1.4 2002/04/26 22:03:34 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4UIaliasList_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIbatch.hh,v 1.6 2002/06/07 17:37:44 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// $id$
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWith3Vector.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWith3VectorAndUnit.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithABool.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithADouble.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithADoubleAndUnit.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithAString.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithAnInteger.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithoutParameter.hh,v 1.4 2001/07/11 10:01:13 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+3 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIcommand.hh,v 1.11 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4UIcommand.hh,v 1.12 2002/11/27 18:05:33 asaim Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
@@ -130,8 +130,7 @@ class G4UIcommand
// of the parameters is the order of invoking this method.
inline void SetGuidance(const char * aGuidance)
{
G4String * theGuidance = new G4String( aGuidance );
commandGuidance.push_back( *theGuidance );
commandGuidance.push_back( G4String( aGuidance ) );
}
// Adds a guidance line. Unlimitted number of invokation of this method is
// allowed. The given lines of guidance will appear for the help. The first
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcommandStatus.hh,v 1.4 2001/10/04 23:15:27 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4UIcommandStatus_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcommandTree.hh,v 1.13 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4UIcommandTree_h
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcontrolMessenger.hh,v 1.10 2002/05/15 06:51:31 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4UIcontrolMessenger_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIdirectory.hh,v 1.4 2001/07/11 10:01:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UImanager.hh,v 1.19 2002/05/14 01:40:10 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4UImanager_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UImessenger.hh,v 1.6 2001/10/11 13:29:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
#ifndef G4UImessenger_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIparameter.hh,v 1.6 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// ---------------------------------------------------------------------
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIsession.hh,v 1.4 2001/07/11 10:01:14 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// $id$
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UItokenNum.hh,v 1.4 2001/10/16 08:14:31 gcosmo Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4UItokenNum.hh,v 1.5 2002/11/27 19:08:09 asaim Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
// G4UItokenNum.hh
@@ -56,7 +56,7 @@ typedef struct yystype {
char C;
G4String S;
G4int operator==(const yystype &right) const
{ return (this == &right); }
{ return (this == &right)?1:0; }
} yystype;
#endif
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UnitsMessenger.hh,v 1.4 2001/07/11 10:01:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
// class description
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VFlavoredParallelWorld.hh,v 1.3 2001/07/11 10:01:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Abstract interface for GEANT4 Flavored Parallel World.
@@ -21,13 +21,15 @@
// ********************************************************************
//
//
// $Id: G4VGlobalFastSimulationManager.hh,v 1.3 2001/07/11 10:01:15 gunter Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VGlobalFastSimulationManager.hh,v 1.4 2002/11/20 14:46:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-00 $
//
//
// Abstract interface for GEANT4 Global Fast Simulation Manager.
// P. Mora de Freitas & M. Verderi 14/April/1999.
//
// Class description:
//
// G4GlobalFastSimulationManager is a "Singleton", i.e., only one instance
// of it may exist. This is ensured by making the constructor private.
//
@@ -54,29 +56,29 @@
class G4VFlavoredParallelWorld;
class G4ParticleDefinition;
class G4VGlobalFastSimulationManager {
class G4VGlobalFastSimulationManager
{
public: // with description
public:
// Returns pointer to actual Global Fast Simulation manager if
// at least a parameterisation envelope exists. Always check value.
static G4VGlobalFastSimulationManager* GetConcreteInstance ();
// Returns pointer to actual Global Fast Simulation manager if
// at least a parameterisation envelope exists. Always check value.
virtual ~G4VGlobalFastSimulationManager () {}
// VGlobalFastSimulationManager Interface for visualisation.
virtual
G4VFlavoredParallelWorld* GetFlavoredWorldForThis(G4ParticleDefinition*)=0;
// VGlobalFastSimulationManager interface for visualisation.
protected:
// Pointer to real G4GlobalFastSimulationManager.
static void SetConcreteInstance (G4VGlobalFastSimulationManager*);
// Sets the pointer to actual Global Fast Simulation manager.
static G4VGlobalFastSimulationManager* fpConcreteInstance;
// Pointer to real G4GlobalFastSimulationManager.
};
inline
G4VGlobalFastSimulationManager*
G4VGlobalFastSimulationManager::GetConcreteInstance () {
return fpConcreteInstance;
}
#endif
+6 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VGraphicsScene.hh,v 1.8 2001/08/14 18:19:14 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VGraphicsScene.hh,v 1.9 2002/10/24 14:11:04 johna Exp $
// GEANT4 tag $Name: geant4-05-00 $
// John Allison 19th July 1996
//
// Class Description:
@@ -47,6 +47,8 @@ class G4Torus;
class G4PhysicalVolumeModel;
class G4Polycone;
class G4Polyhedra;
class G4VTrajectory;
class G4VHit;
class G4Polyline;
class G4Scale;
class G4Text;
@@ -88,6 +90,8 @@ public: // With description
virtual void AddThis (const G4Polycone&) = 0;
virtual void AddThis (const G4Polyhedra&) = 0;
virtual void AddThis (const G4VSolid&) = 0; // For solids not above.
virtual void AddThis (const G4VTrajectory&) = 0;
virtual void AddThis (const G4VHit&) = 0;
///////////////////////////////////////////////////////////////////
// Functions for adding graphics primitives to the scene handler.
+5 -6
View File
@@ -21,11 +21,12 @@
// ********************************************************************
//
//
// $Id: G4VVisManager.hh,v 1.6 2001/08/17 22:49:26 johna Exp $
// GEANT4 tag $Name: geant4-04-01 $
// $Id: G4VVisManager.hh,v 1.7 2002/11/20 14:46:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-00 $
// John Allison 19/Oct/1996.
//
// Class Description:
//
// G4VVisManager is an abstract interface for the GEANT4 Visualization Manager.
// The inheritance hierarchy is:
// G4VVisManager <- G4VisManager <- YourVisManager
@@ -144,12 +145,10 @@ public: // With description
protected:
static void SetConcreteInstance (G4VVisManager*);
static G4VVisManager* fpConcreteInstance; // Pointer to real G4VisManager.
};
inline G4VVisManager* G4VVisManager::GetConcreteInstance () {
return fpConcreteInstance;
}
#endif