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: G4Cerenkov.hh,v 1.5 2001/07/11 10:03:41 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
////////////////////////////////////////////////////////////////////////
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ForwardXrayTR.hh,v 1.9 2003/03/11 08:43:34 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4ForwardXrayTR.hh,v 1.11 2003/06/16 17:02:53 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// G4ForwardXrayTR -- header file
//
@@ -39,6 +39,7 @@
// 22.09.97, V. Grichine (Vladimir.Grichine@cern.ch)
// 26.01.00, V.Grichine, new constructor and protected DM for fast sim. models
// 10.03.03, V.Ivanchenko migrade to "cut per region"
// 03.06.03, V.Ivanchenko fix compilation warnings
#ifndef G4FORWARDXRAYTR_H
#define G4FORWARDXRAYTR_H
@@ -92,8 +93,8 @@ public:
void BuildXrayTRtables();
G4double GetMeanFreePath(const G4Track& aTrack,
G4double previousStepSize,
G4double GetMeanFreePath(const G4Track&,
G4double,
G4ForceCondition* condition)
{
*condition = Forced;
@@ -157,7 +158,7 @@ protected : // for access from X-ray TR fast simulation models
G4Gamma* fPtrGamma ; // pointer to TR photon
const G4std::vector<G4double>* fGammaCutInKineticEnergy ;
const std::vector<G4double>* fGammaCutInKineticEnergy ;
// TR photon cut in energy array
G4double fGammaTkinCut ; // Tkin cut of TR photon in current mat.
@@ -22,7 +22,7 @@
//
//
// $Id: G4GammaXTRadiator.hh,v 1.1 2002/01/22 15:22:53 grichine Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
///////////////////////////////////////////////////////////////////////////
@@ -22,7 +22,7 @@
//
//
// $Id: G4RegularXTRadiator.hh,v 1.2 2002/01/18 17:26:20 grichine Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
///////////////////////////////////////////////////////////////////////////
@@ -22,7 +22,7 @@
//
//
// $Id: G4Scintillation.hh,v 1.11 2002/11/25 18:48:51 gum Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
////////////////////////////////////////////////////////////////////////
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4TransitionRadiation.hh,v 1.6 2001/07/11 10:03:42 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4TransitionRadiation.hh,v 1.7 2003/06/03 08:11:01 vnivanch Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// G4TransitionRadiation -- header file
//
@@ -40,8 +40,9 @@
// CERN, CN Division, ASD Group
// History:
// 18.12.97, V. Grichine (Vladimir.Grichine@cern.ch)
// 02.02.00, V.Grichine, new data fEnergy and fVarAngle for double
// 02.02.00, V.Grichine, new data fEnergy and fVarAngle for double
// numerical integration in inherited classes
// 03.06.03, V.Ivanchenko fix compilation warnings
#ifndef G4TransitionRadiation_h
#define G4TransitionRadiation_h
@@ -51,7 +52,7 @@
#include "G4Material.hh"
// #include "G4OpBoundaryProcess.hh"
class G4TransitionRadiation : public G4VDiscreteProcess
class G4TransitionRadiation : public G4VDiscreteProcess
{
public:
@@ -79,17 +80,17 @@ public:
return ( aParticleType.GetPDGCharge() != 0.0 );
}
G4double GetMeanFreePath(const G4Track& aTrack,
G4double previousStepSize,
G4double GetMeanFreePath(const G4Track&,
G4double,
G4ForceCondition* condition)
{
*condition = Forced;
return DBL_MAX; // so TR doesn't limit mean free path
}
G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
const G4Step& aStep)
{
G4VParticleChange* PostStepDoIt(const G4Track&,
const G4Step&)
{
ClearNumberOfInteractionLengthLeft();
return &aParticleChange;
}
@@ -144,6 +145,6 @@ G4double fSigma1 ; // plasma energy Sq of matter1
G4double fSigma2 ; // plasma energy Sq of matter2
} ;
} ;
#endif // G4TransitionRadiation_h
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VXTRenergyLoss.hh,v 1.4 2003/01/23 11:26:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VXTRenergyLoss.hh,v 1.5 2003/06/16 17:02:54 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
///////////////////////////////////////////////////////////////////////////
@@ -40,7 +40,7 @@
#define G4VXTRenergyLoss_h 1
#include "g4std/complex"
#include <complex>
#include "globals.hh"
#include "Randomize.hh"