Import Geant4 3.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:10:37 +02:00
parent 137e303ecc
commit 36c080dca6
3464 changed files with 119310 additions and 52696 deletions
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AlphaInelasticProcess.hh,v 1.3 2000/12/14 08:47:19 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AlphaInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:48 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: Alpha Inelastic Process
// J.L. Chuma, TRIUMF, 21-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiLambdaInelasticProcess.hh,v 1.3 2000/12/14 08:47:19 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiLambdaInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:49 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiLambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiNeutronInelasticProcess.hh,v 1.3 2000/12/14 08:47:19 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiNeutronInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:49 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiNeutron Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiOmegaMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:19 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiOmegaMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:49 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiOmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiProtonInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiProtonInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:49 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiProton Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiSigmaMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiSigmaMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:49 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiSigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiSigmaPlusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiSigmaPlusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:50 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiSigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiXiMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiXiMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:50 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiXiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4AntiXiZeroInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4AntiXiZeroInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:50 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: AntiXiZero Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4DeuteronInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4DeuteronInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:50 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: Deuteron Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
@@ -1,12 +1,25 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HadronCaptureProcess.hh,v 1.4 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// G4 Neutron capture process -- header file
@@ -109,7 +122,8 @@ private:
G4CrossSectionDataStore* theCrossSectionDataStore;
G4double GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
const G4Element* anElement);
const G4Element* anElement,
G4double aTemp);
};
#endif
@@ -1,12 +1,25 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HadronElasticProcess.hh,v 1.4 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// G4 Hadron Elastic Scattering Process -- header file
@@ -116,7 +129,8 @@ private:
G4CrossSectionDataStore* theCrossSectionDataStore;
G4double GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
const G4Element* anElement);
const G4Element* anElement,
G4double aTemp);
};
#endif
@@ -1,12 +1,25 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HadronFissionProcess.hh,v 1.4 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// G4 Fission Process -- header file
@@ -114,6 +127,7 @@ private:
G4CrossSectionDataStore* theCrossSectionDataStore;
G4double GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
const G4Element* anElement);
const G4Element* anElement,
G4double aTemp);
};
#endif
@@ -1,9 +1,25 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
//
//
// Hadronic Process: Ion Inelastic Process
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4KaonMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4KaonMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: KaonMinus Inelastic Process
// J.L. Chuma, TRIUMF, 12-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4KaonPlusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4KaonPlusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: KaonPlus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4KaonZeroLInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4KaonZeroLInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// G4 Process: KaonZeroL Inelastic Process
// J.L. Chuma, TRIUMF, 11-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4KaonZeroSInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4KaonZeroSInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// G4 Process: KaonZeroS InelasticProcess Process
// J.L. Chuma, TRIUMF, 11-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4LambdaInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4LambdaInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process : Lambda Inelastic Process
// J.L. Chuma, TRIUMF, 18-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4NeutronInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4NeutronInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: Neutron Inelastic Process
// original by H.P. Wellisch
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4OmegaMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4OmegaMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:51 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: OmegaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4PionMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4PionMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// PionMinus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4PionPlusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4PionPlusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// PionPlus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4ProtonInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4ProtonInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: Proton Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4SigmaMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4SigmaMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// G4 Process: SigmaMinus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4SigmaPlusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4SigmaPlusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// G4 Process: SigmaPlus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4TritonInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4TritonInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// Hadronic Process: Triton Inelastic Process
// J.L. Chuma, TRIUMF, 25-Feb-1997
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4XiMinusInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4XiMinusInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// G4 Process: XiMinus Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4XiZeroInelasticProcess.hh,v 1.3 2000/12/14 08:47:20 hpw Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4XiZeroInelasticProcess.hh,v 1.3.6.1 2001/06/28 19:14:52 gunter Exp $
// GEANT4 tag $Name: $
//
// G4 Process: XiZero Inelastic Process
// J.L. Chuma, TRIUMF, 05-Nov-1996
@@ -1,12 +1,25 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HadronCaptureProcess.cc,v 1.2 1999/12/15 14:53:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// G4 Process: Low-energy Neutron Capture
@@ -56,54 +69,13 @@ BuildThePhysicsTable(G4ParticleDefinition& aParticleType)
}
theCrossSectionDataStore->BuildPhysicsTable(aParticleType);
// G4double LowEdgeEnergy, Value;
// G4bool isOutRange;
//
// static const G4ElementTable* theElementTable;
// theElementTable = G4Element::GetElementTable();
// G4int numOfElements = G4Element::GetNumberOfElements();
// if (verboseLevel > 1) {
// G4cout << "BuildThePhysicsTable: numOfElements " << numOfElements << G4endl;
// G4cout << "BuildThePhysicsTable: thePhysicsTable " << thePhysicsTable << G4endl;
// G4cout << " for particle: " << aParticleType.GetParticleName() << " " <<
// aParticleType.GetPDGEncoding() << G4endl;
// }
// RWBoolean exists = thePhysicsDictionary.contains(&aParticleType);
// if (verboseLevel > 1) {
// G4cout << "exists=" << exists << G4endl;
// }
// if (exists) {
// thePhysicsTable = thePhysicsDictionary.findValue(&aParticleType);
// if (verboseLevel > 1) {
// G4cout << " Retrieve tPT=" << thePhysicsTable << G4endl;
// }
//// Remove any previous items from table
// thePhysicsTable->clearAndDestroy();
// thePhysicsTable->resize(numOfElements);
// }
// else {
// thePhysicsTable = new G4PhysicsTable(numOfElements);
// if (verboseLevel > 1) {
// G4cout << " make new tPT=" << thePhysicsTable << G4endl;
// G4cout << " entries() = " << thePhysicsTable->entries() << G4endl;
// }
// thePhysicsDictionary.insertKeyAndValue(&aParticleType, thePhysicsTable);
// }
//// Make a PhysicsVector for each element
// for (G4int J = 0; J < numOfElements; J++) {
// (*thePhysicsTable)(J) =
// theCrossSectionData.MakePhysicsVector(*this,
// aParticleType,
// (*theElementTable)[J]);
// }
}
G4double
G4HadronCaptureProcess::
GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
const G4Element* anElement)
const G4Element* anElement, G4double aTemp)
{
// gives the microscopic cross section in GEANT4 internal units
@@ -111,30 +83,7 @@ GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
G4Exception("G4HadronCaptureProcess: no cross section data Store");
return DBL_MIN;
}
return theCrossSectionDataStore->GetCrossSection(aParticle, anElement);
// G4int J ;
// G4bool isOutRange ;
// G4double MicroscopicCrossSection ;
//
// RWBoolean exists =
// thePhysicsDictionary.contains(aParticle->GetDefinition());
// if (!exists) {
// G4Exception("G4HadronCaptureProcess::GetMicroscopicCrossSection: "
// "no physics table for particle");
// return G4double(0);
// }
// thePhysicsTable =
// thePhysicsDictionary.findValue(aParticle->GetDefinition());
// if (verboseLevel > 1) {
// G4cout << " Retrieve tPT=" << thePhysicsTable << G4endl;
// }
//
// J = anElement->GetIndex();
// MicroscopicCrossSection = (*((*thePhysicsTable)(J))).
// GetValue(aParticle->GetKineticEnergy()/GeV,
// isOutRange);
// return MicroscopicCrossSection;
return theCrossSectionDataStore->GetCrossSection(aParticle, anElement, aTemp);
}
@@ -152,12 +101,13 @@ GetMeanFreePathBasic(const G4DynamicParticle* aParticle,
theElementVector = aMaterial->GetElementVector();
theAtomicNumDensityVector = aMaterial->GetAtomicNumDensityVector();
G4double aTemp = aMaterial->GetTemperature();
G4double sigma = 0.;
for (G4int i = 0; i < aMaterial->GetNumberOfElements(); i++) {
sigma = sigma + theAtomicNumDensityVector[i] *
GetMicroscopicCrossSection(aParticle, (*theElementVector)(i));
GetMicroscopicCrossSection(aParticle, (*theElementVector)(i), aTemp);
}
if (verboseLevel > 1)
G4cout << "G4HadronCaptureProcess::GetMeanFreePathBasic: sigma="
@@ -1,12 +1,25 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HadronElasticProcess.cc,v 1.2 1999/12/15 14:53:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// G4 Process: Low-energy Elastic scattering
@@ -64,56 +77,12 @@ BuildPhysicsTable(const G4ParticleDefinition& aParticleType)
}
theCrossSectionDataStore->BuildPhysicsTable(aParticleType);
// G4double LowEdgeEnergy, Value;
// G4bool isOutRange;
//
// static const G4ElementTable* theElementTable;
// theElementTable = G4Element::GetElementTable();
// G4int numOfElements = G4Element::GetNumberOfElements();
// if (verboseLevel > 1) {
// G4cout << "BuildPhysicsTable: numOfElements " << numOfElements << G4endl;
// G4cout << "BuildPhysicsTable: thePhysicsTable " << thePhysicsTable << G4endl;
// G4cout << " for particle: " << aParticleType.GetParticleName() << " " <<
// aParticleType.GetPDGEncoding() << G4endl;
// }
//
// RWBoolean exists = thePhysicsDictionary.contains(&aParticleType);
// if (verboseLevel > 1) {
// G4cout << "exists=" << exists << G4endl;
// }
// if (exists) {
// thePhysicsTable = thePhysicsDictionary.findValue(&aParticleType);
// if (verboseLevel > 1) {
// G4cout << " Retrieve tPT=" << thePhysicsTable << G4endl;
// }
// Remove any previous items from table
// thePhysicsTable->clearAndDestroy();
// thePhysicsTable->resize(numOfElements);
// }
// else {
// thePhysicsTable = new G4PhysicsTable(numOfElements);
// if (verboseLevel > 1) {
// G4cout << " make new tPT=" << thePhysicsTable << G4endl;
// G4cout << " entries() = " << thePhysicsTable->entries() << G4endl;
// }
// thePhysicsDictionary.insertKeyAndValue(&aParticleType, thePhysicsTable);
// }
// Make a PhysicsVector for each element
// for (G4int J = 0; J < numOfElements; J++) {
// (*thePhysicsTable)(J) =
// theCrossSectionData.MakePhysicsVector(*this,
// aParticleType,
// (*theElementTable)[J]);
// if (verboseLevel > 1)
// G4cout << " added PhysicsVector " << (*thePhysicsTable)(J) << G4endl;
// }
}
G4double
G4HadronElasticProcess::GetMicroscopicCrossSection(
const G4DynamicParticle* aParticle, const G4Element* anElement)
const G4DynamicParticle* aParticle, const G4Element* anElement, G4double aTemp)
{
// gives the microscopic cross section in GEANT4 internal units
@@ -121,30 +90,7 @@ G4HadronElasticProcess::GetMicroscopicCrossSection(
G4Exception("G4HadronElasticProcess: no cross section data Store");
return DBL_MIN;
}
return theCrossSectionDataStore->GetCrossSection(aParticle, anElement);
// G4int J ;
// G4bool isOutRange ;
// G4double MicroscopicCrossSection ;
//
// RWBoolean exists =
// thePhysicsDictionary.contains(aParticle->GetDefinition());
// if (!exists) {
// G4Exception("G4HadronElasticProcess::GetMicroscopicCrossSection: "
// "no physics table for particle");
// return G4double(0);
// }
// thePhysicsTable =
// thePhysicsDictionary.findValue(aParticle->GetDefinition());
// if (verboseLevel > 1) {
// G4cout << " Retrieve tPT=" << thePhysicsTable << G4endl;
// }
//
// J = anElement->GetIndex();
// MicroscopicCrossSection = (*((*thePhysicsTable)(J))).
// GetValue(aParticle->GetTotalMomentum()/GeV,
// isOutRange);
// return MicroscopicCrossSection;
return theCrossSectionDataStore->GetCrossSection(aParticle, anElement, aTemp);
}
@@ -166,12 +112,13 @@ GetMeanFreePathBasic(const G4DynamicParticle* aParticle,
theElementVector = aMaterial->GetElementVector();
theAtomicNumDensityVector = aMaterial->GetAtomicNumDensityVector();
G4double aTemp = aMaterial->GetTemperature();
G4double sigma = 0.;
for (G4int i = 0; i < aMaterial->GetNumberOfElements(); i++) {
sigma = sigma + theAtomicNumDensityVector[i] *
GetMicroscopicCrossSection(aParticle, (*theElementVector)(i));
GetMicroscopicCrossSection(aParticle, (*theElementVector)(i), aTemp);
}
if (verboseLevel > 1)
G4cout << "G4HadronElasticProcess::GetMeanFreePathBasic: sigma="
@@ -228,34 +175,4 @@ DumpPhysicsTable(const G4ParticleDefinition& aParticleType)
}
theCrossSectionDataStore->DumpPhysicsTable(aParticleType);
// RWBoolean exists = thePhysicsDictionary.contains(&aParticleType);
// if (verboseLevel > 1) {
// G4cout << "DumpPhysicsTable: exists=" << exists << G4endl;
// }
// if (!exists) {
// G4cout << "DumpPhysicsTable: no phyics table for " <<
// aParticleType.GetParticleName() << G4endl;
// return;
// }
// G4PhysicsTable* pt = thePhysicsDictionary.findValue(&aParticleType);
// if (verboseLevel > 1) {
// G4cout << " found PhysicsTable pt=" << pt << G4endl;
// }
//
// const G4ElementTable* et = G4Element::GetElementTable();
// G4int numOfElements = G4Element::GetNumberOfElements();
// if (verboseLevel > 1)
// G4cout << "DumpPhysicsTable: numOfElements=" << numOfElements << G4endl;
// G4LPhysicsFreeVector* pv;
// for (G4int J = 0; J < numOfElements; J++) {
// G4cout << G4endl << "Cross section data for " <<
// aParticleType.GetParticleName() << " on " <<
// ((*et)[J])->GetName() << G4endl << G4endl;
// pv = (G4LPhysicsFreeVector*)(*thePhysicsTable)(J);
// if (verboseLevel > 1) {
// G4cout << " found PhysicsVector pv=" << pv << G4endl;
// }
// pv->DumpValues();
// }
}
@@ -1,12 +1,25 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: G4HadronFissionProcess.cc,v 1.2 1999/12/15 14:53:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// F.W. Jones, TRIUMF, 03-DEC-96
@@ -102,7 +115,7 @@ G4HadronFissionProcess::BuildThePhysicsTable(G4ParticleDefinition& aParticleType
G4double
G4HadronFissionProcess::GetMicroscopicCrossSection(const G4DynamicParticle* aParticle,
const G4Element* anElement)
const G4Element* anElement, G4double aTemp)
{
// gives the microscopic cross section in GEANT4 internal units
@@ -110,30 +123,7 @@ G4HadronFissionProcess::GetMicroscopicCrossSection(const G4DynamicParticle* aPar
G4Exception("G4HadronFissionProcess: no cross section data Store");
return DBL_MIN;
}
return theCrossSectionDataStore->GetCrossSection(aParticle, anElement);
// G4int J ;
// G4bool isOutRange ;
// G4double MicroscopicCrossSection ;
//
// RWBoolean exists =
// thePhysicsDictionary.contains(aParticle->GetDefinition());
// if (!exists) {
// G4Exception("G4HadronFissionProcess::GetMicroscopicCrossSection: "
// "no physics table for particle");
// return G4double(0);
// }
// thePhysicsTable =
// thePhysicsDictionary.findValue(aParticle->GetDefinition());
// if (verboseLevel > 1) {
// G4cout << " Retrieve tPT=" << thePhysicsTable << G4endl;
// }
//
// J = anElement->GetIndex();
// MicroscopicCrossSection = (*((*thePhysicsTable)(J))).
// GetValue(aParticle->GetKineticEnergy()/GeV,
// isOutRange);
// return MicroscopicCrossSection;
return theCrossSectionDataStore->GetCrossSection(aParticle, anElement, aTemp);
}
@@ -150,12 +140,13 @@ G4HadronFissionProcess::GetMeanFreePathBasic(const G4DynamicParticle* aParticle,
theElementVector = aMaterial->GetElementVector();
theAtomicNumDensityVector = aMaterial->GetAtomicNumDensityVector();
G4double aTemp = aMaterial->GetTemperature();
G4double sigma = 0.;
for (G4int i = 0; i < aMaterial->GetNumberOfElements(); i++) {
sigma = sigma + theAtomicNumDensityVector[i] *
GetMicroscopicCrossSection(aParticle, (*theElementVector)(i));
GetMicroscopicCrossSection(aParticle, (*theElementVector)(i), aTemp);
}
if (verboseLevel > 1)
G4cout << "G4HadronFissionProcess::GetMeanFreePathBasic: sigma="