Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4BoundingSphereScene.hh,v 1.7 2000/05/15 11:08:49 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 7th June 1997
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4FlavoredParallelWorldModel.hh,v 1.5 1999/12/15 14:54:29 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// P. Mora de Freitas et M.Verderi - 19 June 1998.
//
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4HitsModel.hh,v 1.4 1999/12/15 14:54:29 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 26th August 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4HitsModel.icc,v 1.4 1999/12/15 14:54:29 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
inline G4String G4HitsModel::GetCurrentTag () const {
return fGlobalTag;
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4LogicalVolumeModel.hh,v 1.4 2000/04/12 13:02:36 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 26th July 1999.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4ModelingParameters.hh,v 1.5 1999/12/15 14:54:30 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 31st December 1997.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4ModelingParameters.icc,v 1.3 1999/12/15 14:54:30 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 31st December 1997.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NullModel.hh,v 1.4 1999/12/15 14:54:30 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 4th April 1998.
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PhysicalVolumeModel.hh,v 1.9 2000/04/12 13:02:03 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4PhysicalVolumeModel.hh,v 1.11 2001/02/03 18:39:58 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 31st December 1997.
@@ -14,8 +14,8 @@
// Class Description:
//
// Model for physical volumes. It describes a physical volume and its
// daughters to any desired depth. Note: the "sought depth" is
// specified in the modeling parameters.
// daughters to any desired depth. Note: the "requested depth" is
// specified in the modeling parameters; enum {UNLIMITED = -1}.
//
// For access to base class information, e.g., modeling parameters,
// use GetModelingParameters() inherited from G4VModel. See Class
@@ -42,7 +42,7 @@ public: // With description
G4PhysicalVolumeModel
(G4VPhysicalVolume*,
G4int soughtDepth = UNLIMITED,
G4int requestedDepth = UNLIMITED,
const G4Transform3D& modelTransformation = G4Transform3D::Identity,
const G4ModelingParameters* = 0,
G4bool useFullExtent = false);
@@ -81,12 +81,12 @@ public: // With description
protected:
void VisitGeometryAndGetVisReps (G4VPhysicalVolume*,
G4int soughtDepth,
G4int requestedDepth,
const G4Transform3D&,
G4VGraphicsScene&);
void DescribeAndDescend (G4VPhysicalVolume*,
G4int soughtDepth,
G4int requestedDepth,
G4LogicalVolume*,
G4VSolid*,
const G4Material*,
@@ -109,7 +109,8 @@ protected:
G4VPhysicalVolume* fpTopPV; // The physical volume.
G4String fTopPVName; // ...of the physical volume.
G4int fTopPVCopyNo; // ...of the physical volume.
G4int fSoughtDepth; // Sought depth of geom. hierarchy search.
G4int fRequestedDepth;
// Requested depth of geom. hierarchy search.
G4int fCurrentDepth; // Current depth of geom. hierarchy.
G4VPhysicalVolume* fpCurrentPV; // Current physical volume.
G4LogicalVolume* fpCurrentLV; // Current logical volume.
@@ -121,6 +122,12 @@ protected:
G4VPhysicalVolume** fppCurrentPV; // Current physical volume.
G4LogicalVolume** fppCurrentLV; // Current logical volume.
private:
// Private copy constructor and assigment operator - copying and
// assignment not allowed. Keeps CodeWizard happy.
G4PhysicalVolumeModel (const G4PhysicalVolumeModel&);
G4PhysicalVolumeModel& operator = (const G4PhysicalVolumeModel&);
};
#endif
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4PhysicalVolumeSearchScene.hh,v 1.7 2000/05/22 07:36:57 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 10th August 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4PhysicalVolumeSearchScene.icc,v 1.3 1999/12/15 14:54:30 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 10th August 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4TrajectoriesModel.hh,v 1.4 1999/12/15 14:54:30 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 26th August 1998.
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4TrajectoriesModel.icc,v 1.4 1999/12/15 14:54:31 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
inline G4String G4TrajectoriesModel::GetCurrentTag () const {
return fGlobalTag;
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VModel.hh,v 1.5 1999/12/15 14:54:31 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VModel.hh,v 1.7 2001/02/23 15:43:33 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 31st December 1997.
@@ -40,13 +40,6 @@ public: // With description
virtual ~G4VModel ();
public: // Without description
G4bool operator == (const G4VModel&) const;
// For G4RWTPtrOrderedVector...
public: // With description
virtual void DescribeYourselfTo (G4VGraphicsScene&) = 0;
// The main task of a model is to describe itself to the scene.
@@ -86,6 +79,12 @@ protected:
G4VisExtent fExtent;
G4Transform3D fTransform;
private:
// Private copy constructor and assigment operator - copying and
// assignment not allowed. Keeps CodeWizard happy.
G4VModel (const G4VModel&);
G4VModel& operator = (const G4VModel&);
};
#include "G4VModel.icc"
@@ -5,17 +5,13 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VModel.icc,v 1.4 1999/12/15 14:54:31 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VModel.icc,v 1.6 2001/02/23 15:43:34 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 31st December 1997.
// Base class for models.
inline G4bool G4VModel::operator == (const G4VModel& model) const {
return this == &model;
}
inline const G4ModelingParameters* G4VModel::GetModelingParameters () const {
return fpMP;
}
@@ -28,18 +24,6 @@ inline const G4String& G4VModel::GetGlobalDescription () const {
return fGlobalDescription;
}
inline G4String G4VModel::GetCurrentTag () const {
return "Default Current Tag";
}
inline G4String G4VModel::GetCurrentDescription () const {
return "Default Current Description";
}
inline G4bool G4VModel::Validate () {
return false;
}
inline const G4VisExtent& G4VModel::GetExtent () const {
return fExtent;
}
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VTreeGraphicsScene.hh,v 1.1 2000/05/22 07:39:25 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 18th May 2000
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VTreeGraphicsScene.icc,v 1.1 2000/05/22 07:39:32 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 18th May 2000