Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4DiffractiveSplitableHadron.hh,v 1.3 1999/12/15 14:52:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
#ifndef G4DiffractiveSplitableHadron_h
@@ -5,9 +5,17 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4FTFModel.hh,v 1.3 1999/12/15 14:52:22 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4FTFModel.hh,v 1.4 2000/12/14 09:25:54 hpw Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// Class Description
// Final state production code for hadron inelastic scattering above 20 GeV
// based on the modeling ansatz used in FRITIOF.
// To be used in your physics list in case you need this physics.
// In this case you want to register an object of this class with an object
// of G4TheoFSGenerator.
// Class Description - End
#ifndef G4FTFModel_h
#define G4FTFModel_h 1
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4FTFParticipants.hh,v 1.3 1999/12/15 14:52:23 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
#ifndef G4FTFParticipants_h
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4DiffractiveSplitableHadron.cc,v 1.2 1999/12/15 14:52:23 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
// ------------------------------------------------------------
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4FTFModel.cc,v 1.4 1999/12/15 14:52:23 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// GEANT4 tag $Name: geant4-03-00 $
//
// ------------------------------------------------------------
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4FTFParticipants.cc,v 1.2 1999/12/15 14:52:24 gunter Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4FTFParticipants.cc,v 1.3 2000/08/19 16:23:48 hpw Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// ------------------------------------------------------------
// GEANT 4 class implementation file
@@ -23,6 +23,7 @@
#include "G4VSplitableHadron.hh"
#include "G4PomeronCrossSection.hh"
#include "Randomize.hh"
#include "G4Pair.hh"
// Class G4FTFParticipants
@@ -88,15 +89,10 @@ void G4FTFParticipants::BuildInteractions(const G4ReactionProduct &thePrimary)
while ( theInteractions.entries() == 0 )
{
G4double x,y;
do
{
x=2*G4UniformRand()-1;
y=2*G4UniformRand()-1;
} while ( (sqr(x) + sqr(y)) > 1 );
G4double impactX=x*xyradius;
G4double impactY=y*xyradius;
G4Pair<G4double, G4double> theImpactParameter;
theImpactParameter = theNucleus->ChooseImpactXandY(xyradius);
G4double impactX = theImpactParameter.first;
G4double impactY = theImpactParameter.second;
// G4cout << " impctX, impctY " << impactX/fermi << " "<<impactY/fermi << " fm" << G4endl;