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
@@ -22,7 +22,7 @@
//
//
// $Id: G4AxesModel.cc,v 1.5 2001/08/14 18:43:29 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 3rd April 2001
@@ -22,7 +22,7 @@
//
//
// $Id: G4BoundingSphereScene.cc,v 1.8 2001/07/25 21:10:22 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 7th June 1997
@@ -22,7 +22,7 @@
//
//
// $Id: G4FlavoredParallelWorldModel.cc,v 1.6 2002/11/20 17:21:47 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// P. Mora de Freitas et M.Verderi - 19 June 1998.
// Model for flavored parallel world volumes.
@@ -22,7 +22,7 @@
//
//
// $Id: G4HitsModel.cc,v 1.9 2002/10/24 15:07:21 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 26th August 1998.
@@ -22,7 +22,7 @@
//
//
// $Id: G4LogicalVolumeModel.cc,v 1.8 2001/07/11 10:09:22 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 26th July 1999.
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ModelingParameters.cc,v 1.5 2001/07/11 10:09:23 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ModelingParameters.cc,v 1.6 2003/06/16 17:14:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 31st December 1997.
@@ -144,7 +144,7 @@ void G4ModelingParameters::PrintDifferences
G4cout << "Difference in 1st batch." << G4endl;
}
G4std::ostream& operator << (G4std::ostream& os, const G4ModelingParameters& mp) {
std::ostream& operator << (std::ostream& os, const G4ModelingParameters& mp) {
os << "Modeling parameters and options:";
os << "\n Default vis. attributes: " << *mp.fpDefaultVisAttributes;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4NullModel.cc,v 1.6 2001/08/24 20:36:28 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4NullModel.cc,v 1.7 2003/05/30 13:01:32 johna Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 4th April 1998.
@@ -36,6 +36,6 @@ G4NullModel::G4NullModel (const G4ModelingParameters* pMP):
G4NullModel::~G4NullModel () {}
void G4NullModel::DescribeYourselfTo (G4VGraphicsScene& sceneHandler) {
void G4NullModel::DescribeYourselfTo (G4VGraphicsScene&) {
G4Exception ("G4NullModel::DescribeYourselfTo called.");
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PhysicalVolumeModel.cc,v 1.20 2001/08/24 20:34:25 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4PhysicalVolumeModel.cc,v 1.21 2003/06/16 17:14:31 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 31st December 1997.
@@ -42,7 +42,7 @@
#include "G4PhysicalVolumeSearchScene.hh"
#include "G4TransportationManager.hh"
#include "g4std/strstream"
#include <strstream>
G4PhysicalVolumeModel::G4PhysicalVolumeModel
(G4VPhysicalVolume* pVPV,
@@ -65,8 +65,8 @@ G4PhysicalVolumeModel::G4PhysicalVolumeModel
fppCurrentLV (0)
{
const int len = 8; char a [len];
G4std::ostrstream o (a, len); o.seekp (G4std::ios::beg);
o << fpTopPV -> GetCopyNo () << G4std::ends;
std::ostrstream o (a, len); o.seekp (std::ios::beg);
o << fpTopPV -> GetCopyNo () << std::ends;
fGlobalTag = fpTopPV -> GetName () + "." + a;
fGlobalDescription = "G4PhysicalVolumeModel " + fGlobalTag;
@@ -139,9 +139,9 @@ void G4PhysicalVolumeModel::DescribeYourselfTo
G4String G4PhysicalVolumeModel::GetCurrentTag () const {
const int len = 8; char a [len];
G4std::ostrstream o (a, len); o.seekp (G4std::ios::beg);
std::ostrstream o (a, len); o.seekp (std::ios::beg);
if (fpCurrentPV) {
o << fpCurrentPV -> GetCopyNo () << G4std::ends;
o << fpCurrentPV -> GetCopyNo () << std::ends;
return fpCurrentPV -> GetName () + "." + a;
}
else {
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PhysicalVolumeSearchScene.cc,v 1.6 2001/07/11 10:09:23 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4PhysicalVolumeSearchScene.cc,v 1.7 2003/05/30 13:01:32 johna Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 10th August 1998.
@@ -57,7 +57,7 @@ void G4PhysicalVolumeSearchScene::EstablishSpecials
&fpCurrentLV);
}
void G4PhysicalVolumeSearchScene::FindVolume (const G4VSolid& solid) {
void G4PhysicalVolumeSearchScene::FindVolume (const G4VSolid&) {
/**************************************************
G4cout << "Required volume: \"" << fRequiredPhysicalVolumeName
@@ -22,7 +22,7 @@
//
//
// $Id: G4ScaleModel.cc,v 1.3 2001/08/14 18:43:31 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 21st July 2001.
@@ -22,7 +22,7 @@
//
//
// $Id: G4TextModel.cc,v 1.4 2001/08/14 18:43:32 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 3rd April 2001
@@ -22,7 +22,7 @@
//
//
// $Id: G4TrajectoriesModel.cc,v 1.12 2002/11/11 18:39:28 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 26th August 1998.
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VModel.cc,v 1.7 2001/08/24 20:36:29 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VModel.cc,v 1.9 2003/06/16 17:14:32 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 31st December 1997.
@@ -51,11 +51,11 @@ G4String G4VModel::GetCurrentDescription () const {
return G4String("Default Current Description");
}
G4bool G4VModel::Validate (G4bool warn) {
G4bool G4VModel::Validate (G4bool) {
return true;
}
G4std::ostream& operator << (G4std::ostream& os, const G4VModel& m) {
std::ostream& operator << (std::ostream& os, const G4VModel& m) {
os << m.fGlobalDescription;
os << "\n Modeling parameters:";
if (m.fpMP) {