Import Geant4 10.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2018-12-07 15:15:39 +01:00
parent 6aa23be517
commit db49709b53
11370 changed files with 187480 additions and 160142 deletions
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4Cerenkov.cc 108423 2018-02-13 11:18:13Z gcosmo $
//
////////////////////////////////////////////////////////////////////////
// Cerenkov Radiation Class Implementation
@@ -206,7 +205,7 @@ G4Cerenkov::PostStepDoIt(const G4Track& aTrack, const G4Step& aStep)
// particle beta
G4double beta = (pPreStepPoint->GetBeta() + pPostStepPoint->GetBeta())*0.5;
fNumPhotons = 0;
//fNumPhotons = 0; // in PostStepGetPhysicalInteractionLength()
G4double MeanNumberOfPhotons =
GetAverageNumberOfPhotons(charge,beta,aMaterial,Rindex);
@@ -496,6 +495,7 @@ G4double G4Cerenkov::PostStepGetPhysicalInteractionLength(
{
*condition = NotForced;
G4double StepLimit = DBL_MAX;
fNumPhotons = 0;
const G4Material* aMaterial = aTrack.GetMaterial();
G4int materialIndex = aMaterial->GetIndex();
@@ -550,10 +550,12 @@ G4double G4Cerenkov::PostStepGetPhysicalInteractionLength(
couple);
G4double Step = Range - RangeMin;
// if (Step < 1.*um ) return StepLimit;
if (Step > 0. && Step < StepLimit) StepLimit = Step;
// If the step is smaller than 1e-16 mm, it may happen that the particle
// does not move. See bug 1992.
if (Step < 1.e-16*mm) return StepLimit;
if (Step < StepLimit) StepLimit = Step;
// If user has defined an average maximum number of photons to
// be generated in a Step, then calculate the Step length for
// that number of photons.
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4ForwardXrayTR.cc 108423 2018-02-13 11:18:13Z gcosmo $
//
// G4ForwardXrayTR class -- implementation file
//
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4GammaXTRadiator.cc 97385 2016-06-02 09:59:53Z gcosmo $
//
#include <complex>
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4RegularXTRadiator.cc 68037 2013-03-13 14:15:08Z gcosmo $
//
#include <complex>
@@ -23,7 +23,6 @@
// ********************************************************************
//
//
// $Id: G4Scintillation.cc 108423 2018-02-13 11:18:13Z gcosmo $
//
////////////////////////////////////////////////////////////////////////
// Scintillation Light Class Implementation
@@ -205,6 +204,7 @@ G4Scintillation::PostStepDoIt(const G4Track& aTrack, const G4Step& aStep)
{
aParticleChange.Initialize(aTrack);
fNumPhotons = 0;
const G4DynamicParticle* aParticle = aTrack.GetDynamicParticle();
const G4Material* aMaterial = aTrack.GetMaterial();
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4ScintillationTrackInformation.cc ????? 2016-01-21 ??:??:??? ?????? $
//
// Author : Valentin Libioulle valentin.libioulle@usherbrooke.ca (3IT - GRAMS)
//
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4StrawTubeXTRadiator.cc 68037 2013-03-13 14:15:08Z gcosmo $
//
#include "G4StrawTubeXTRadiator.hh"
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4SynchrotronRadiation.cc 97385 2016-06-02 09:59:53Z gcosmo $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4SynchrotronRadiationInMat.cc 108423 2018-02-13 11:18:13Z gcosmo $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4TransitionRadiation.cc 108423 2018-02-13 11:18:13Z gcosmo $
//
// G4TransitionRadiation class -- implementation file
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4TransparentRegXTRadiator.cc 97385 2016-06-02 09:59:53Z gcosmo $
//
#include <complex>
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4VTransitionRadiation.cc 108423 2018-02-13 11:18:13Z gcosmo $
//
// G4VTransitionRadiation class -- implementation file
@@ -24,7 +24,6 @@
// ********************************************************************
//
//
// $Id: G4VXTRenergyLoss.cc 108258 2018-01-26 13:49:05Z gcosmo $
//
// History:
// 2001-2002 R&D by V.Grichine