Import Geant4 7.0.0 source tree
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
|
||||
// Table of Cumulative np Scattering Probabilities
|
||||
// To be used for generation as a function of cos(theta cm)
|
||||
// To be used for generation as a function of std::cos(theta cm)
|
||||
// NOTE: Assumes angle range to be generated is 0-180 degrees
|
||||
// This allows tracking of
|
||||
// well-defined GEANT4 particles and generation of secondary
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
// F.W. Jones, L.G. Greeniaus, H.P. Wellisch
|
||||
|
||||
// Table of Cumulative nn or pp Scattering Probabilities
|
||||
// To be used for generation as a function of cos(theta cm)
|
||||
// To be used for generation as a function of std::cos(theta cm)
|
||||
// Coulomb effects are SUPPRESSED
|
||||
// -- including pp Coulomb-nuclear interference
|
||||
// NOTE: Assumes angle range to be generated is 0-180 degrees
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4CollisionInitialState.hh,v 1.4.4.1 2004/03/24 13:18:28 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-06-01 $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
// $Id: G4CollisionInitialState.hh,v 1.0 1998/06/30
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: G4ListOfCollisions.hh,v 1.1.4.1 2004/03/24 13:18:28 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-06-01 $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
// $Id: G4ListOfCollisions.hh,v 1.0 1998/06/30
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VAnnihilationCollision.hh,v 1.1 2003/10/07 12:37:31 hpw Exp $ //
|
||||
// $Id: G4VAnnihilationCollision.hh,v 1.2 2004/12/07 13:48:40 gunter Exp $ //
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT4 Class file
|
||||
//
|
||||
@@ -76,13 +76,13 @@ protected:
|
||||
private:
|
||||
|
||||
double BrWigInt0(const double x, const double gamma, const double m0) const
|
||||
{ return 2.0*gamma*atan( 2.0 * (x-m0)/ gamma ); }
|
||||
{ return 2.0*gamma*std::atan( 2.0 * (x-m0)/ gamma ); }
|
||||
|
||||
G4double BrWigInt1(const G4double x, const G4double gamma, const G4double m0) const
|
||||
{ return 0.5*gamma*gamma*log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
|
||||
{ return 0.5*gamma*gamma*std::log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
|
||||
|
||||
double BrWigInv(const double x, const double gamma, const double m0) const
|
||||
{ return 0.5*gamma*tan( 0.5*x/gamma )+m0; }
|
||||
{ return 0.5*gamma*std::tan( 0.5*x/gamma )+m0; }
|
||||
|
||||
double SampleResonanceMass(const double poleMass,
|
||||
const double width,
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VScatteringCollision.hh,v 1.1 2003/10/07 12:37:31 hpw Exp $ //
|
||||
// $Id: G4VScatteringCollision.hh,v 1.2 2004/12/07 13:48:41 gunter Exp $ //
|
||||
// -------------------------------------------------------------------
|
||||
// GEANT4 Class file
|
||||
//
|
||||
@@ -75,13 +75,13 @@ protected:
|
||||
private:
|
||||
|
||||
double BrWigInt0(const double x, const double gamma, const double m0) const
|
||||
{ return 2.0*gamma*atan( 2.0 * (x-m0)/ gamma ); }
|
||||
{ return 2.0*gamma*std::atan( 2.0 * (x-m0)/ gamma ); }
|
||||
|
||||
G4double BrWigInt1(const G4double x, const G4double gamma, const G4double m0) const
|
||||
{ return 0.5*gamma*gamma*log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
|
||||
{ return 0.5*gamma*gamma*std::log( (x-m0)*(x-m0)+gamma*gamma/4.0 ) + m0*BrWigInt0(x,gamma,m0); }
|
||||
|
||||
double BrWigInv(const double x, const double gamma, const double m0) const
|
||||
{ return 0.5*gamma*tan( 0.5*x/gamma )+m0; }
|
||||
{ return 0.5*gamma*std::tan( 0.5*x/gamma )+m0; }
|
||||
|
||||
double SampleResonanceMass(const double poleMass,
|
||||
const double width,
|
||||
|
||||
Reference in New Issue
Block a user