Import Geant4 1.0.0 source tree
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4InterpolationIterator.hh,v 1.3 1999/07/02 09:58:02 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4InterpolationIterator_h
|
||||
#define G4InterpolationIterator_h 1
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4InterpolationManager.hh,v 1.3 1999/07/02 09:58:04 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4InterpolationManager.hh,v 1.4 1999/08/27 07:42:56 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4InterpolationManager_h
|
||||
#define G4InterpolationManager_h 1
|
||||
@@ -105,7 +105,7 @@ class G4InterpolationManager
|
||||
|
||||
G4InterpolationScheme MakeScheme(G4int it);
|
||||
|
||||
inline G4InterpolationScheme GetScheme(G4int index)
|
||||
inline G4InterpolationScheme GetScheme(G4int index) const
|
||||
{
|
||||
G4int it = 0;
|
||||
for(G4int i=1; i<nRanges; i++)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4InterpolationScheme.hh,v 1.2 1999/07/02 09:58:05 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4InterpolationScheme_h
|
||||
#define G4InterpolationScheme_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2AInelasticFS.hh,v 1.3 1999/07/02 09:58:07 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2AInelasticFS_h
|
||||
#define G4NeutronHP2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2N2AInelasticFS.hh,v 1.3 1999/07/02 09:58:08 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2N2AInelasticFS_h
|
||||
#define G4NeutronHP2N2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2NAInelasticFS.hh,v 1.3 1999/07/02 09:58:09 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2NAInelasticFS_h
|
||||
#define G4NeutronHP2NAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2NDInelasticFS.hh,v 1.3 1999/07/02 09:58:10 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2NDInelasticFS_h
|
||||
#define G4NeutronHP2NDInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2NInelasticFS.hh,v 1.3 1999/07/02 09:58:11 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2NInelasticFS_h
|
||||
#define G4NeutronHP2NInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2NPInelasticFS.hh,v 1.3 1999/07/02 09:58:13 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2NPInelasticFS_h
|
||||
#define G4NeutronHP2NPInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP2PInelasticFS.hh,v 1.3 1999/07/02 09:58:14 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP2PInelasticFS_h
|
||||
#define G4NeutronHP2PInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP3AInelasticFS.hh,v 1.3 1999/07/02 09:58:15 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP3AInelasticFS_h
|
||||
#define G4NeutronHP3AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP3NAInelasticFS.hh,v 1.3 1999/07/02 09:58:16 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP3NAInelasticFS_h
|
||||
#define G4NeutronHP3NAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP3NInelasticFS.hh,v 1.3 1999/07/02 09:58:17 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP3NInelasticFS_h
|
||||
#define G4NeutronHP3NInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP3NPInelasticFS.hh,v 1.3 1999/07/02 09:58:19 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP3NPInelasticFS_h
|
||||
#define G4NeutronHP3NPInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHP4NInelasticFS.hh,v 1.3 1999/07/02 09:58:20 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHP4NInelasticFS_h
|
||||
#define G4NeutronHP4NInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPAInelasticFS.hh,v 1.3 1999/07/02 09:58:21 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPAInelasticFS_h
|
||||
#define G4NeutronHPAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPAngular.hh,v 1.3 1999/07/02 09:58:23 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPAngular_h
|
||||
#define G4NeutronHPAngular_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPAngularP.hh,v 1.3 1999/07/02 09:58:25 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPAngularP_h
|
||||
#define G4NeutronHPAngularP_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPArbitaryTab.hh,v 1.3 1999/07/02 09:58:26 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPArbitaryTab_h
|
||||
#define G4NeutronHPArbitaryTab_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPCapture.hh,v 1.2 1999/07/02 09:58:27 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: Very Low Energy Neutron X-Sections
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPCaptureData.hh,v 1.2 1999/07/02 09:58:28 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPCaptureData_h
|
||||
#define G4NeutronHPCaptureData_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPCaptureFS.hh,v 1.4 1999/07/06 14:16:55 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPCaptureFS_h
|
||||
#define G4NeutronHPCaptureFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPChannel.hh,v 1.4 1999/07/06 16:56:21 stesting Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: Very Low Energy Neutron X-Sections
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPChannelList.hh,v 1.2 1999/07/02 09:58:32 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: Very Low Energy Neutron X-Sections
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPContAngularPar.hh,v 1.3 1999/07/02 09:58:33 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPContAngularPar_h
|
||||
#define G4NeutronHPContAngularPar_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPContEnergyAngular.hh,v 1.3 1999/07/02 09:58:34 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPContEnergyAngular_h
|
||||
#define G4NeutronHPContEnergyAngular_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPD2AInelasticFS.hh,v 1.3 1999/07/02 09:58:35 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPD2AInelasticFS_h
|
||||
#define G4NeutronHPD2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPDAInelasticFS.hh,v 1.3 1999/07/02 09:58:36 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPDAInelasticFS_h
|
||||
#define G4NeutronHPDAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPDInelasticFS.hh,v 1.3 1999/07/02 09:58:38 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPDInelasticFS_h
|
||||
#define G4NeutronHPDInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPData.hh,v 1.2 1999/07/02 09:58:39 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: Very Low Energy Neutron X-Sections
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPDataPoint.hh,v 1.3 1999/07/02 09:58:40 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPDataPoint_h
|
||||
#define G4NeutronHPDataPoint_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPDeExGammas.hh,v 1.3 1999/07/02 09:58:42 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPDeExGammas_h
|
||||
#define G4NeutronHPDeExGammas_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPDiscreteTwoBody.hh,v 1.3 1999/07/02 09:58:44 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPDiscreteTwoBody_h
|
||||
#define G4NeutronHPDiscreteTwoBody_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPElastic.hh,v 1.2 1999/07/02 09:58:45 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: High Precision low E neutron tracking
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPElasticData.hh,v 1.2 1999/07/02 09:58:46 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPElasticData_h
|
||||
#define G4NeutronHPElasticData_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPElasticFS.hh,v 1.3 1999/07/02 09:58:48 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPElasticFS_h
|
||||
#define G4NeutronHPElasticFS_h 1
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPElementData.hh,v 1.2 1999/07/02 09:58:49 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4NeutronHPElementData.hh,v 1.3 1999/10/22 08:24:57 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: Very Low Energy Neutron X-Sections
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
@@ -75,6 +75,7 @@ private:
|
||||
G4NeutronHPVector * theCaptureData;
|
||||
G4NeutronHPVector * theElasticData;
|
||||
G4NeutronHPVector * theInelasticData;
|
||||
G4double precision;
|
||||
|
||||
G4NeutronHPVector * theBuffer;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPEnAngCorrelation.hh,v 1.3 1999/07/02 09:58:50 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPEnAngCorrelation_h
|
||||
#define G4NeutronHPEnAngCorrelation_h 1
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPEnergyDistribution.hh,v 1.3 1999/07/02 09:58:51 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPEnergyDistribution_h
|
||||
#define G4NeutronHPEnergyDistribution_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPEvapSpectrum.hh,v 1.3 1999/07/02 09:58:53 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPEvapSpectrum_h
|
||||
#define G4NeutronHPEvapSpectrum_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFCFissionFS.hh,v 1.3 1999/07/02 09:58:54 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFCFissionFS_h
|
||||
#define G4NeutronHPFCFissionFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFSFissionFS.hh,v 1.3 1999/07/02 09:58:55 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFSFissionFS_h
|
||||
#define G4NeutronHPFSFissionFS_h 1
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFastLegendre.hh,v 1.3 1999/07/02 09:58:57 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4NeutronHPFastLegendre.hh,v 1.4 1999/12/03 10:59:07 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFastLegendre_h
|
||||
#define G4NeutronHPFastLegendre_h 1
|
||||
@@ -129,7 +129,7 @@ class G4NeutronHPFastLegendre
|
||||
inline G4int GetBin(G4int l, G4double costh)
|
||||
{
|
||||
G4int bin=0;
|
||||
bin = (theNbin[l]-1)*(costh+1)/2.;
|
||||
bin = G4int( (theNbin[l]-1)*(costh+1)/2. );
|
||||
if(bin == theNbin[l]-1) bin--;
|
||||
return bin;
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPField.hh,v 1.3 1999/07/02 09:58:58 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPField_h
|
||||
#define G4NeutronHPField_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFieldPoint.hh,v 1.3 1999/07/02 09:58:59 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFieldPoint_h
|
||||
#define G4NeutronHPFieldPoint_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFinalState.hh,v 1.3 1999/07/02 09:59:00 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFinalState_h
|
||||
#define G4NeutronHPFinalState_h
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFission.hh,v 1.2 1999/07/02 09:59:01 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: High Precision low E neutron tracking
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFissionBaseFS.hh,v 1.3 1999/07/02 09:59:02 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFissionBaseFS_h
|
||||
#define G4NeutronHPFissionBaseFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFissionData.hh,v 1.2 1999/07/02 09:59:03 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFissionData_h
|
||||
#define G4NeutronHPFissionData_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFissionERelease.hh,v 1.3 1999/07/02 09:59:05 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFissionERelease_h
|
||||
#define G4NeutronHPFissionERelease_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFissionFS.hh,v 1.3 1999/07/02 09:59:06 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFissionFS_h
|
||||
#define G4NeutronHPFissionFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPFissionSpectrum.hh,v 1.3 1999/07/02 09:59:07 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPFissionSpectrum_h
|
||||
#define G4NeutronHPFissionSpectrum_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPGamma.hh,v 1.3 1999/07/02 09:59:08 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPGamma_h
|
||||
#define G4NeutronHPGamma_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPHe3InelasticFS.hh,v 1.3 1999/07/02 09:59:09 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPHe3InelasticFS_h
|
||||
#define G4NeutronHPHe3InelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPInelastic.hh,v 1.2 1999/07/02 09:59:10 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: High Precision low E neutron tracking
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPInelasticBaseFS.hh,v 1.3 1999/07/02 09:59:11 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPInelasticBaseFS_h
|
||||
#define G4NeutronHPInelasticBaseFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPInelasticCompFS.hh,v 1.3 1999/07/02 09:59:12 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPInelasticCompFS_h
|
||||
#define G4NeutronHPInelasticCompFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPInelasticData.hh,v 1.2 1999/07/02 09:59:14 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPInelasticData_h
|
||||
#define G4NeutronHPInelasticData_h 1
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPInterpolator.hh,v 1.3 1999/07/02 09:59:15 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4NeutronHPInterpolator.hh,v 1.4 1999/08/27 07:42:57 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPInterpolator_h
|
||||
#define G4NeutronHPInterpolator_h 1
|
||||
@@ -40,7 +40,7 @@ class G4NeutronHPInterpolator
|
||||
|
||||
inline G4double Interpolate(G4InterpolationScheme aScheme,
|
||||
G4double x, G4double x1, G4double x2,
|
||||
G4double y1, G4double y2);
|
||||
G4double y1, G4double y2) const;
|
||||
|
||||
G4double
|
||||
GetBinIntegral(const G4InterpolationScheme & aScheme,
|
||||
@@ -52,18 +52,18 @@ class G4NeutronHPInterpolator
|
||||
|
||||
private:
|
||||
|
||||
inline G4double Histogram(G4double x, G4double x1, G4double x2, G4double y1, G4double y2);
|
||||
inline G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2);
|
||||
inline G4double LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2);
|
||||
inline G4double LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2);
|
||||
inline G4double LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2);
|
||||
inline G4double Random(G4double x, G4double x1, G4double x2, G4double y1, G4double y2);
|
||||
inline G4double Histogram(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const;
|
||||
inline G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const;
|
||||
inline G4double LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const;
|
||||
inline G4double LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const;
|
||||
inline G4double LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const;
|
||||
inline G4double Random(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const;
|
||||
|
||||
};
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
Interpolate(G4InterpolationScheme aScheme,
|
||||
G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double result;
|
||||
G4int theScheme = aScheme;
|
||||
@@ -97,7 +97,7 @@ Interpolate(G4InterpolationScheme aScheme,
|
||||
}
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
Histogram(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
Histogram(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double result;
|
||||
result = y1;
|
||||
@@ -105,7 +105,7 @@ Histogram(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
}
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double slope=0, off=0;
|
||||
slope = (y2-y1)/(x2-x1);
|
||||
@@ -115,7 +115,7 @@ LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
}
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double result;
|
||||
result = LinearLinear(log(x), log(x1), log(x2), y1, y2);
|
||||
@@ -123,7 +123,7 @@ LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2
|
||||
}
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double result;
|
||||
result = LinearLinear(x, x1, x2, log(y1), log(y2));
|
||||
@@ -132,7 +132,7 @@ LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2
|
||||
}
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double result;
|
||||
result = LinearLinear(log(x), log(x1), log(x2), log(y1), log(y2));
|
||||
@@ -141,7 +141,7 @@ LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4doub
|
||||
}
|
||||
|
||||
inline G4double G4NeutronHPInterpolator::
|
||||
Random(G4double x, G4double x1, G4double x2, G4double y1, G4double y2)
|
||||
Random(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
|
||||
{
|
||||
G4double result;
|
||||
result = y1+G4UniformRand()*(y2-y1);
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPIsoData.hh,v 1.3 1999/07/02 09:59:16 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4NeutronHPIsoData.hh,v 1.5 1999/11/19 18:07:38 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPIsoData_h
|
||||
#define G4NeutronHPIsoData_h 1
|
||||
@@ -33,7 +33,14 @@ class G4NeutronHPIsoData
|
||||
{
|
||||
public:
|
||||
|
||||
G4NeutronHPIsoData(){theChannelData = NULL;}
|
||||
G4NeutronHPIsoData()
|
||||
{
|
||||
theChannelData = NULL;
|
||||
theFissionData = NULL;
|
||||
theCaptureData = NULL;
|
||||
theElasticData = NULL;
|
||||
theInelasticData = NULL;
|
||||
}
|
||||
|
||||
~G4NeutronHPIsoData(){if(theChannelData!=NULL) delete theChannelData;}
|
||||
|
||||
@@ -68,6 +75,14 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
inline void ThinOut(G4double precision)
|
||||
{
|
||||
if(theFissionData) theFissionData->ThinOut(precision);
|
||||
if(theCaptureData) theCaptureData->ThinOut(precision);
|
||||
if(theElasticData) theElasticData->ThinOut(precision);
|
||||
if(theInelasticData) theInelasticData->ThinOut(precision);
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
G4NeutronHPVector * theFissionData;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPIsotropic.hh,v 1.3 1999/07/02 09:59:17 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPIsotropic_h
|
||||
#define G4NeutronHPIsotropic_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPKallbachMannSyst.hh,v 1.3 1999/07/02 09:59:18 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPKallbachMannSyst_h
|
||||
#define G4NeutronHPKallbachMannSyst_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPLCFissionFS.hh,v 1.3 1999/07/02 09:59:19 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPLCFissionFS_h
|
||||
#define G4NeutronHPLCFissionFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPLabAngularEnergy.hh,v 1.3 1999/07/02 09:59:20 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPLabAngularEnergy_h
|
||||
#define G4NeutronHPLabAngularEnergy_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPLegendreStore.hh,v 1.3 1999/07/02 09:59:21 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPLegendreStore_h
|
||||
#define G4NeutronHPLegendreStore_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPLegendreTable.hh,v 1.3 1999/07/02 09:59:22 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPLegendreTable_h
|
||||
#define G4NeutronHPLegendreTable_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPLevel.hh,v 1.3 1999/07/02 09:59:24 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPLevel_h
|
||||
#define G4NeutronHPLevel_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPList.hh,v 1.3 1999/07/02 09:59:25 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPList_h
|
||||
#define G4NeutronHPList_h 1
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPMadlandNixSpectrum.hh,v 1.3 1999/07/02 09:59:26 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPMadlandNixSpectrum_h
|
||||
#define G4NeutronHPMadlandNixSpectrum_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPN2AInelasticFS.hh,v 1.3 1999/07/02 09:59:27 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPN2AInelasticFS_h
|
||||
#define G4NeutronHPN2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPN2PInelasticFS.hh,v 1.3 1999/07/02 09:59:28 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPN2PInelasticFS_h
|
||||
#define G4NeutronHPN2PInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPN3AInelasticFS.hh,v 1.3 1999/07/02 09:59:29 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPN3AInelasticFS_h
|
||||
#define G4NeutronHPN3AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNAInelasticFS.hh,v 1.3 1999/07/02 09:59:30 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNAInelasticFS_h
|
||||
#define G4NeutronHPNAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNBodyPhaseSpace.hh,v 1.3 1999/07/02 09:59:31 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNBodyPhaseSpace_h
|
||||
#define G4NeutronHPNBodyPhaseSpace_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPND2AInelasticFS.hh,v 1.3 1999/07/02 09:59:33 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPND2AInelasticFS_h
|
||||
#define G4NeutronHPND2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNDInelasticFS.hh,v 1.3 1999/07/02 09:59:34 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNDInelasticFS_h
|
||||
#define G4NeutronHPNDInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNHe3InelasticFS.hh,v 1.3 1999/07/02 09:59:35 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNHe3InelasticFS_h
|
||||
#define G4NeutronHPNHe3InelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNInelasticFS.hh,v 1.3 1999/07/02 09:59:36 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNInelasticFS_h
|
||||
#define G4NeutronHPNInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNPAInelasticFS.hh,v 1.3 1999/07/02 09:59:37 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNPAInelasticFS_h
|
||||
#define G4NeutronHPNPAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNPInelasticFS.hh,v 1.3 1999/07/02 09:59:38 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNPInelasticFS_h
|
||||
#define G4NeutronHPNPInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNT2AInelasticFS.hh,v 1.3 1999/07/02 09:59:40 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNT2AInelasticFS_h
|
||||
#define G4NeutronHPNT2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNTInelasticFS.hh,v 1.3 1999/07/02 09:59:41 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNTInelasticFS_h
|
||||
#define G4NeutronHPNTInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNXInelasticFS.hh,v 1.3 1999/07/02 09:59:42 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNXInelasticFS_h
|
||||
#define G4NeutronHPNXInelasticFS_h 1
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNames.hh,v 1.4 1999/07/02 09:59:43 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4NeutronHPNames.hh,v 1.5 1999/12/03 10:59:07 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNames_h
|
||||
#define G4NeutronHPNames_h 1
|
||||
@@ -34,7 +34,7 @@ class G4NeutronHPNames
|
||||
|
||||
G4NeutronHPDataUsed GetName(G4int A, G4int Z, G4String base, G4String rest, G4bool & active);
|
||||
G4String GetName(G4int i) { return theString[i]; }
|
||||
void SetMaxOffSet(G4double anOffset) { theMaxOffSet = anOffset; }
|
||||
void SetMaxOffSet(G4int anOffset) { theMaxOffSet = anOffset; }
|
||||
|
||||
private:
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPNeutronYield.hh,v 1.3 1999/07/02 09:59:44 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPNeutronYield_h
|
||||
#define G4NeutronHPNeutronYield_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPAInelasticFS.hh,v 1.3 1999/07/02 09:59:45 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPAInelasticFS_h
|
||||
#define G4NeutronHPPAInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPDInelasticFS.hh,v 1.3 1999/07/02 09:59:46 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPDInelasticFS_h
|
||||
#define G4NeutronHPPDInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPInelasticFS.hh,v 1.3 1999/07/02 09:59:47 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPInelasticFS_h
|
||||
#define G4NeutronHPPInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPTInelasticFS.hh,v 1.3 1999/07/02 09:59:49 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPTInelasticFS_h
|
||||
#define G4NeutronHPPTInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPartial.hh,v 1.3 1999/07/02 09:59:50 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPartial_h
|
||||
#define G4NeutronHPPartial_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPhotonDist.hh,v 1.3 1999/07/02 09:59:51 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
// Hadronic Process: Very Low Energy Neutron X-Sections
|
||||
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPhotonXSection.hh,v 1.3 1999/07/02 09:59:52 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPhotonXSection_h
|
||||
#define G4NeutronHPPhotonXSection_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPPolynomExpansion.hh,v 1.3 1999/07/02 09:59:53 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPPolynomExpansion_h
|
||||
#define G4NeutronHPPolynomExpansion_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPProduct.hh,v 1.3 1999/07/02 09:59:54 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPProduct_h
|
||||
#define G4NeutronHPProduct_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPSCFissionFS.hh,v 1.3 1999/07/02 09:59:56 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPSCFissionFS_h
|
||||
#define G4NeutronHPSCFissionFS_h 1
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPSimpleEvapSpectrum.hh,v 1.3 1999/07/02 09:59:57 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPSimpleEvapSpectrum_h
|
||||
#define G4NeutronHPSimpleEvapSpectrum_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPT2AInelasticFS.hh,v 1.3 1999/07/02 09:59:58 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPT2AInelasticFS_h
|
||||
#define G4NeutronHPT2AInelasticFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPTCFissionFS.hh,v 1.3 1999/07/02 09:59:59 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPTCFissionFS_h
|
||||
#define G4NeutronHPTCFissionFS_h 1
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPTInelasticFS.hh,v 1.3 1999/07/02 10:00:00 johna Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPTInelasticFS_h
|
||||
#define G4NeutronHPTInelasticFS_h 1
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4NeutronHPVector.hh,v 1.2.2.3 1999/07/02 12:27:09 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
// $Id: G4NeutronHPVector.hh,v 1.7 1999/11/19 18:47:39 hpw Exp $
|
||||
// GEANT4 tag $Name: geant4-01-00 $
|
||||
//
|
||||
#ifndef G4NeutronHPVector_h
|
||||
#define G4NeutronHPVector_h 1
|
||||
@@ -25,12 +25,17 @@
|
||||
|
||||
class G4NeutronHPVector
|
||||
{
|
||||
friend G4NeutronHPVector & operator + (const G4NeutronHPVector & left,
|
||||
const G4NeutronHPVector & right);
|
||||
|
||||
public:
|
||||
|
||||
G4NeutronHPVector();
|
||||
|
||||
~G4NeutronHPVector();
|
||||
|
||||
G4NeutronHPVector & operator = (const G4NeutronHPVector & right);
|
||||
|
||||
inline void SetVerbose(G4int ff)
|
||||
{
|
||||
Verbose = ff;
|
||||
@@ -49,7 +54,7 @@ class G4NeutronHPVector
|
||||
}
|
||||
}
|
||||
|
||||
inline void SetPoint(G4int i, G4NeutronHPDataPoint & it)
|
||||
inline void SetPoint(G4int i, const G4NeutronHPDataPoint & it)
|
||||
{
|
||||
G4double x = it.GetX();
|
||||
G4double y = it.GetY();
|
||||
@@ -82,27 +87,26 @@ class G4NeutronHPVector
|
||||
Check(i);
|
||||
theData[i].SetY(x);
|
||||
}
|
||||
inline G4double GetEnergy(G4int i) { return theData[i].GetX(); }
|
||||
inline G4double GetXsec(G4int i) { return theData[i].GetY(); }
|
||||
inline G4double GetX(G4int i)
|
||||
inline G4double GetEnergy(G4int i) const { return theData[i].GetX(); }
|
||||
inline G4double GetXsec(G4int i) const { return theData[i].GetY(); }
|
||||
inline G4double GetX(G4int i) const
|
||||
{
|
||||
if (i<0) i=0;
|
||||
if(i>=GetVectorLength()) i=GetVectorLength()-1;
|
||||
if(i==-1) G4Exception("G4NeutronHPVector::GetX: Trying to read zero length vector");
|
||||
return theData[i].GetX();
|
||||
}
|
||||
inline G4double GetY(G4int i)
|
||||
inline G4double GetY(G4int i) const
|
||||
{
|
||||
if (i<0) i=0;
|
||||
if(i>=GetVectorLength()) i=GetVectorLength()-1;
|
||||
return theData[i].GetY();
|
||||
}
|
||||
inline G4NeutronHPDataPoint & GetPoint(G4int i) { return theData[i]; }
|
||||
inline const G4NeutronHPDataPoint & GetPoint(G4int i) const { return theData[i]; }
|
||||
|
||||
G4double GetXsec(G4double e);
|
||||
G4double GetXsec(G4double e) const;
|
||||
|
||||
inline G4double GetY(G4double x) {return GetXsec(x);}
|
||||
inline G4int GetVectorLength() {return nEntries;}
|
||||
inline G4double GetY(G4double x) const {return GetXsec(x);}
|
||||
inline G4int GetVectorLength() const {return nEntries;}
|
||||
|
||||
void Dump();
|
||||
|
||||
@@ -421,6 +425,8 @@ class G4NeutronHPVector
|
||||
|
||||
G4NeutronHPInterpolator theInt;
|
||||
G4int Verbose;
|
||||
// debug only
|
||||
G4int isFreed;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user