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: G4FastSimulationManager.cc,v 1.8 2002/11/15 11:41:56 stesting Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//---------------------------------------------------------------
//
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4FastSimulationManagerProcess.cc,v 1.7 2001/10/26 14:43:36 mverderi Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4FastSimulationManagerProcess.cc,v 1.8 2003/05/21 16:32:11 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -250,7 +250,7 @@ G4FastSimulationManagerProcess::PostStepGetPhysicalInteractionLength(
//------------------------------------
G4VParticleChange* G4FastSimulationManagerProcess::PostStepDoIt(
const G4Track& track,
const G4Step& Step)
const G4Step& )
{
if (fFastSimulationTrigger)
{
@@ -417,8 +417,7 @@ G4double G4FastSimulationManagerProcess::AlongStepGetPhysicalInteractionLength(
G4VParticleChange* G4FastSimulationManagerProcess::AlongStepDoIt(
const G4Track& track,
const G4Step& Step
)
const G4Step& )
{
// Dummy ParticleChange ie: does nothing
pParticleChange->Initialize(track);
@@ -521,8 +520,7 @@ G4FastSimulationManagerProcess::AtRestGetPhysicalInteractionLength(
//
//-----------------------------------------------
G4VParticleChange* G4FastSimulationManagerProcess::AtRestDoIt(
const G4Track& track,
const G4Step& Step)
const G4Track&, const G4Step&)
{
return fFastSimulationManager->InvokeAtRestDoIt();
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4FastSimulationMessenger.cc,v 1.5 2002/12/04 21:29:50 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "G4FastSimulationMessenger.hh"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4FastStep.cc,v 1.10 2002/11/20 17:05:14 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4FastStep.cc,v 1.12 2003/06/16 17:12:39 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//---------------------------------------------------------------
//
@@ -247,26 +247,31 @@ CreateSecondaryTrack(const G4DynamicParticle& dynamics,
// G4FastStep should never be Initialized in this way
// but we must define it to avoid warnings.
void G4FastStep::Initialize(const G4Track&) {
void G4FastStep::Initialize(const G4Track&)
{
G4Exception("G4FastStep::Initialize(const G4Track&) should never be called,\nyou must use instead the G4FastStep::Initialize(const G4FastTrack&)\nmethod!");
}
G4FastStep::G4FastStep():G4VParticleChange()
G4FastStep::G4FastStep()
: G4VParticleChange()
{
if (verboseLevel>2) {
if (verboseLevel>2)
{
G4cerr << "G4FastStep::G4FastStep() " << G4endl;
}
}
G4FastStep::~G4FastStep()
{
if (verboseLevel>2) {
if (verboseLevel>2)
{
G4cerr << "G4FastStep::~G4FastStep() " << G4endl;
}
}
// copy and assignment operators are implemented as "shallow copy"
G4FastStep::G4FastStep(const G4FastStep &right)
: G4VParticleChange()
{
*this = right;
}
@@ -392,40 +397,40 @@ void G4FastStep::DumpInfo() const
G4cout.precision(3);
G4cout << " Position - x (mm) : "
<< G4std::setw(20) << thePositionChange.x()/mm
<< std::setw(20) << thePositionChange.x()/mm
<< G4endl;
G4cout << " Position - y (mm) : "
<< G4std::setw(20) << thePositionChange.y()/mm
<< std::setw(20) << thePositionChange.y()/mm
<< G4endl;
G4cout << " Position - z (mm) : "
<< G4std::setw(20) << thePositionChange.z()/mm
<< std::setw(20) << thePositionChange.z()/mm
<< G4endl;
G4cout << " Time (ns) : "
<< G4std::setw(20) << theTimeChange/ns
<< std::setw(20) << theTimeChange/ns
<< G4endl;
G4cout << " Proper Time (ns) : "
<< G4std::setw(20) << theProperTimeChange/ns
<< std::setw(20) << theProperTimeChange/ns
<< G4endl;
G4cout << " Momentum Direct - x : "
<< G4std::setw(20) << theMomentumChange.x()
<< std::setw(20) << theMomentumChange.x()
<< G4endl;
G4cout << " Momentum Direct - y : "
<< G4std::setw(20) << theMomentumChange.y()
<< std::setw(20) << theMomentumChange.y()
<< G4endl;
G4cout << " Momentum Direct - z : "
<< G4std::setw(20) << theMomentumChange.z()
<< std::setw(20) << theMomentumChange.z()
<< G4endl;
G4cout << " Kinetic Energy (MeV): "
<< G4std::setw(20) << theEnergyChange/MeV
<< std::setw(20) << theEnergyChange/MeV
<< G4endl;
G4cout << " Polarization - x : "
<< G4std::setw(20) << thePolarizationChange.x()
<< std::setw(20) << thePolarizationChange.x()
<< G4endl;
G4cout << " Polarization - y : "
<< G4std::setw(20) << thePolarizationChange.y()
<< std::setw(20) << thePolarizationChange.y()
<< G4endl;
G4cout << " Polarization - z : "
<< G4std::setw(20) << thePolarizationChange.z()
<< std::setw(20) << thePolarizationChange.z()
<< G4endl;
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4FastTrack.cc,v 1.6 2001/10/26 14:43:37 mverderi Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//---------------------------------------------------------------
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4GlobalFastSimulationManager.cc,v 1.12 2002/12/04 21:29:50 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//---------------------------------------------------------------
@@ -22,7 +22,7 @@
//
//
// $Id: G4VFastSimulationModel.cc,v 1.5 2001/07/11 10:08:25 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//---------------------------------------------------------------
//