Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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.4 1999/08/27 07:42:56 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4InterpolationManager.hh,v 1.5 1999/12/15 14:53:10 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4InterpolationManager_h
#define G4InterpolationManager_h 1
@@ -16,7 +16,7 @@
#include "globals.hh"
#include "G4InterpolationScheme.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
class G4InterpolationManager
{
@@ -82,7 +82,7 @@ class G4InterpolationManager
nEntries = aRange;
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
delete [] start;
delete [] range;
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPAInelasticFS_h
#define G4NeutronHPAInelasticFS_h 1
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPAngular.hh,v 1.3 1999/07/02 09:58:23 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPAngular.hh,v 1.4 1999/12/15 14:53:10 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPAngular_h
#define G4NeutronHPAngular_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4ReactionProduct.hh"
#include "Randomize.hh"
#include "G4NeutronHPLegendreStore.hh"
@@ -32,7 +32,7 @@ class G4NeutronHPAngular
}
~G4NeutronHPAngular(){}
void Init(ifstream & aDataFile);
void Init(G4std::ifstream & aDataFile);
void SampleAndUpdate(G4ReactionProduct & aNeutron);
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPAngularP.hh,v 1.3 1999/07/02 09:58:25 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPAngularP.hh,v 1.4 1999/12/15 14:53:10 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPAngularP_h
#define G4NeutronHPAngularP_h 1
@@ -31,7 +31,7 @@ class G4NeutronHPAngularP
if(theProb!=NULL) delete [] theProb;
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
G4double eNeu, cosTheta, probDist;
G4int nProb;
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPArbitaryTab.hh,v 1.3 1999/07/02 09:58:26 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPArbitaryTab.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPArbitaryTab_h
#define G4NeutronHPArbitaryTab_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4VNeutronHPEDis.hh"
#include "G4InterpolationManager.hh"
@@ -35,7 +35,7 @@ class G4NeutronHPArbitaryTab : public G4VNeutronHPEDis
if(theDistFunc!=NULL) delete [] theDistFunc;
}
inline void Init(ifstream & theData)
inline void Init(G4std::ifstream & theData)
{
G4int i, total;
theFractionalProb.Init(theData, eV);
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// 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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// 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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// Hadronic Process: Very Low Energy Neutron X-Sections
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPContAngularPar.hh,v 1.3 1999/07/02 09:58:33 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPContAngularPar.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPContAngularPar_h
#define G4NeutronHPContAngularPar_h 1
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4NeutronHPList.hh"
#include "G4ReactionProduct.hh"
@@ -35,7 +35,7 @@ class G4NeutronHPContAngularPar
if(theAngular!=NULL) delete [] theAngular;
}
void Init(ifstream & aDataFile);
void Init(G4std::ifstream & aDataFile);
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass,
G4int angularRep, G4int interpol);
@@ -79,7 +79,7 @@ class G4NeutronHPContAngularPar
{
// G4cout <<"test "<<i<<" "<<store1.theEnergy<<" "<<store2.theEnergy<<" "
// << store1.theAngular[i].GetValue(ii)<<" "<<
// store2.theAngular[i].GetValue(ii)<<endl;
// store2.theAngular[i].GetValue(ii)<<G4endl;
value = theInt.Interpolate(aScheme, anEnergy,
store1.theEnergy, store2.theEnergy,
store1.theAngular[i].GetValue(ii),
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPContEnergyAngular.hh,v 1.3 1999/07/02 09:58:34 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPContEnergyAngular.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPContEnergyAngular_h
#define G4NeutronHPContEnergyAngular_h 1
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4VNeutronHPEnergyAngular.hh"
#include "G4NeutronHPContAngularPar.hh"
@@ -39,7 +39,7 @@ class G4NeutronHPContEnergyAngular : public G4VNeutronHPEnergyAngular
public:
void Init(ifstream & aDataFile)
void Init(G4std::ifstream & aDataFile)
{
aDataFile >> theTargetCode >> theAngularRep >> theInterpolation >> nEnergy;
theAngular = new G4NeutronHPContAngularPar[nEnergy];
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPDInelasticFS_h
#define G4NeutronHPDInelasticFS_h 1
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPData.hh,v 1.2 1999/07/02 09:58:39 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPData.hh,v 1.3 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// Hadronic Process: Very Low Energy Neutron X-Sections
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
@@ -46,8 +46,8 @@ public:
}
inline G4PhysicsVector * MakePhysicsVector(G4Element * thE, G4NeutronHPInelasticData * theP)
{
// G4cout << "entered G4NeutronHPData::MakePhysicsVector!!!"<<endl;
// G4cout << "thE->GetIndex()="<<thE->GetIndex()<<endl;
// G4cout << "entered G4NeutronHPData::MakePhysicsVector!!!"<<G4endl;
// G4cout << "thE->GetIndex()="<<thE->GetIndex()<<G4endl;
return DoPhysicsVector(theData[thE->GetIndex()].GetData(theP));
}
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPDataPoint_h
#define G4NeutronHPDataPoint_h 1
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPDeExGammas.hh,v 1.3 1999/07/02 09:58:42 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPDeExGammas.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPDeExGammas_h
#define G4NeutronHPDeExGammas_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4ReactionProductVector.hh"
#include "G4Gamma.hh"
#include "G4NeutronHPLevel.hh"
@@ -40,7 +40,7 @@ class G4NeutronHPDeExGammas
if(theLevels!=NULL) delete [] theLevels;
}
void Init(ifstream & aDataFile);
void Init(G4std::ifstream & aDataFile);
inline G4ReactionProductVector * GetDecayGammas(G4int aLevel)
{
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPDiscreteTwoBody.hh,v 1.3 1999/07/02 09:58:44 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPDiscreteTwoBody.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPDiscreteTwoBody_h
#define G4NeutronHPDiscreteTwoBody_h 1
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4VNeutronHPEnergyAngular.hh"
#include "G4NeutronHPLegendreTable.hh"
@@ -34,7 +34,7 @@ class G4NeutronHPDiscreteTwoBody : public G4VNeutronHPEnergyAngular
if(theCoeff!=NULL) delete [] theCoeff;
}
void Init(ifstream & aDataFile)
void Init(G4std::ifstream & aDataFile)
{
aDataFile >> nEnergy;
theManager.Init(aDataFile);
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// 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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPElasticFS_h
#define G4NeutronHPElasticFS_h 1
@@ -8,7 +8,7 @@
// and all its terms.
//
// $Id: G4NeutronHPElementData.hh,v 1.3 1999/10/22 08:24:57 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// Hadronic Process: Very Low Energy Neutron X-Sections
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPEnAngCorrelation.hh,v 1.3 1999/07/02 09:58:50 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPEnAngCorrelation.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPEnAngCorrelation_h
#define G4NeutronHPEnAngCorrelation_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4NeutronHPProduct.hh"
#include "G4ReactionProduct.hh"
@@ -36,7 +36,7 @@ class G4NeutronHPEnAngCorrelation
if(theProducts!=NULL) delete [] theProducts;
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
inCharge = true;
aDataFile>>targetMass>>frameFlag>>nProducts;
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPEnergyDistribution.hh,v 1.3 1999/07/02 09:58:51 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPEnergyDistribution.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPEnergyDistribution_h
#define G4NeutronHPEnergyDistribution_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4NeutronHPArbitaryTab.hh"
#include "G4NeutronHPEvapSpectrum.hh"
#include "G4NeutronHPSimpleEvapSpectrum.hh"
@@ -48,7 +48,7 @@ class G4NeutronHPEnergyDistribution
}
}
inline void Init(ifstream & theData)
inline void Init(G4std::ifstream & theData)
{
G4double dummy;
theData >> dummy >> theNumberOfPartials;
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPEvapSpectrum.hh,v 1.3 1999/07/02 09:58:53 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPEvapSpectrum.hh,v 1.4 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPEvapSpectrum_h
#define G4NeutronHPEvapSpectrum_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4VNeutronHPEDis.hh"
// we will need a List of these .... one per term.
@@ -32,7 +32,7 @@ class G4NeutronHPEvapSpectrum : public G4VNeutronHPEDis
{
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
theFractionalProb.Init(aDataFile);
theThetaDist.Init(aDataFile);
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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.4 1999/12/03 10:59:07 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPFastLegendre.hh,v 1.5 1999/12/15 14:53:11 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPFastLegendre_h
#define G4NeutronHPFastLegendre_h 1
@@ -100,10 +100,10 @@ class G4NeutronHPFastLegendre
{
G4int bin = GetBin(l, costh);
G4double y1, y2;
// G4cout <<"Testhpw G4NeutronHPFastLegendre::Integrate "<<l<<" "<<bin<<endl;
// G4cout <<"Testhpw G4NeutronHPFastLegendre::Integrate "<<l<<" "<<bin<<G4endl;
y1 = integral[l][bin];
y2 = integral[l][bin+1];
// G4cout <<"Testhpw G4NeutronHPFastLegendre::Integrate exit"<<endl;
// G4cout <<"Testhpw G4NeutronHPFastLegendre::Integrate exit"<<G4endl;
return Interpolate(bin, l, y1, y2, costh);
}
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// 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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPFissionData_h
#define G4NeutronHPFissionData_h 1
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPFissionERelease.hh,v 1.3 1999/07/02 09:59:05 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPFissionERelease.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPFissionERelease_h
#define G4NeutronHPFissionERelease_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
class G4NeutronHPFissionERelease
{
@@ -23,7 +23,7 @@ class G4NeutronHPFissionERelease
G4NeutronHPFissionERelease(){}
~G4NeutronHPFissionERelease(){}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
G4double dummy;
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPFissionFS_h
#define G4NeutronHPFissionFS_h 1
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPFissionSpectrum.hh,v 1.3 1999/07/02 09:59:07 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPFissionSpectrum.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPFissionSpectrum_h
#define G4NeutronHPFissionSpectrum_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4VNeutronHPEDis.hh"
// we will need a List of these .... one per term.
@@ -33,7 +33,7 @@ class G4NeutronHPFissionSpectrum : public G4VNeutronHPEDis
{
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
theFractionalProb.Init(aDataFile, eV);
theThetaDist.Init(aDataFile, eV);
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPGamma.hh,v 1.3 1999/07/02 09:59:08 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPGamma.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPGamma_h
#define G4NeutronHPGamma_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4DynamicParticleVector.hh"
#include "G4DynamicParticle.hh"
#include "G4Gamma.hh"
@@ -31,7 +31,7 @@ class G4NeutronHPGamma
}
~G4NeutronHPGamma() {}
G4bool Init(ifstream & aDataFile);
G4bool Init(G4std::ifstream & aDataFile);
inline void SetNext(G4NeutronHPLevel * aLevel)
{
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
// 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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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.4 1999/08/27 07:42:57 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPInterpolator.hh,v 1.5 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPInterpolator_h
#define G4NeutronHPInterpolator_h 1
@@ -26,7 +26,7 @@ class G4NeutronHPInterpolator
G4NeutronHPInterpolator(){}
~G4NeutronHPInterpolator()
{
// G4cout <<"deleted the interpolator"<<endl;
// G4cout <<"deleted the interpolator"<<G4endl;
}
inline G4double Lin(G4double x,G4double x1,G4double x2,G4double y1,G4double y2)
@@ -89,7 +89,7 @@ Interpolate(G4InterpolationScheme aScheme,
result = Random(x, x1, x2, y1, y2);
break;
default:
G4cout << "theScheme = "<<theScheme<<endl;
G4cout << "theScheme = "<<theScheme<<G4endl;
G4Exception("G4NeutronHPInterpolator::Carthesian Invalid InterpolationScheme");
break;
}
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPIsoData.hh,v 1.5 1999/11/19 18:07:38 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPIsoData.hh,v 1.6 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPIsoData_h
#define G4NeutronHPIsoData_h 1
@@ -19,12 +19,8 @@
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#ifdef WIN32
#include <strstrea.h>
#else
#include <strstream.h>
#endif
#include "g4std/fstream"
#include "g4std/strstream"
#include <stdlib.h>
#include "G4NeutronHPVector.hh"
#include "G4NeutronHPNames.hh"
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPIsotropic.hh,v 1.3 1999/07/02 09:59:17 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPIsotropic.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPIsotropic_h
#define G4NeutronHPIsotropic_h 1
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4ReactionProduct.hh"
#include "G4VNeutronHPEnergyAngular.hh"
@@ -29,7 +29,7 @@ class G4NeutronHPIsotropic : public G4VNeutronHPEnergyAngular
public:
void Init(ifstream & aDataFile);
void Init(G4std::ifstream & aDataFile);
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass);
G4double MeanEnergyOfThisInteraction()
{
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPLCFissionFS_h
#define G4NeutronHPLCFissionFS_h 1
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPLabAngularEnergy.hh,v 1.3 1999/07/02 09:59:20 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPLabAngularEnergy.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPLabAngularEnergy_h
#define G4NeutronHPLabAngularEnergy_h 1
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4Neutron.hh"
#include "G4NeutronHPInterpolator.hh"
@@ -49,7 +49,7 @@ class G4NeutronHPLabAngularEnergy : public G4VNeutronHPEnergyAngular
public:
void Init(ifstream & aDataFile);
void Init(G4std::ifstream & aDataFile);
G4ReactionProduct * Sample(G4double anEnergy, G4double massCode, G4double mass);
G4double MeanEnergyOfThisInteraction()
{
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPLegendreStore.hh,v 1.3 1999/07/02 09:59:21 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPLegendreStore.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPLegendreStore_h
#define G4NeutronHPLegendreStore_h 1
@@ -16,7 +16,7 @@
#include "G4NeutronHPLegendreTable.hh"
#include "G4InterpolationManager.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
class G4NeutronHPLegendreStore
{
@@ -59,7 +59,7 @@ class G4NeutronHPLegendreStore
G4double SampleMax (G4double energy);
G4double Integrate(G4int k, G4double costh);
void InitInterpolation(ifstream & aDataFile)
void InitInterpolation(G4std::ifstream & aDataFile)
{
theManager.Init(aDataFile);
}
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPLegendreTable.hh,v 1.3 1999/07/02 09:59:22 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPLegendreTable.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPLegendreTable_h
#define G4NeutronHPLegendreTable_h 1
#include "globals.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4ios.hh"
#include "G4InterpolationManager.hh"
@@ -46,7 +46,7 @@ class G4NeutronHPLegendreTable
}
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
G4double eNeu, coeff;
G4int nPoly;
@@ -66,7 +66,7 @@ class G4NeutronHPLegendreTable
theCoeff[0]=1.;
theEnergy = e;
nCoeff = n+1;
// G4cout << "G4NeutronHPLegendreTable::Init called "<<e<<" "<<n<<endl;
// G4cout << "G4NeutronHPLegendreTable::Init called "<<e<<" "<<n<<G4endl;
}
inline void SetEnergy(G4double energy){ theEnergy = energy; }
inline void SetTemperature(G4double temp){ theTemp = temp; }
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPLevel.hh,v 1.3 1999/07/02 09:59:24 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPLevel.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPLevel_h
#define G4NeutronHPLevel_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4DynamicParticleVector.hh"
#include "Randomize.hh"
#include "G4Gamma.hh"
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPList.hh,v 1.3 1999/07/02 09:59:25 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPList.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPList_h
#define G4NeutronHPList_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
class G4NeutronHPList
{
@@ -44,9 +44,9 @@ class G4NeutronHPList
void Dump();
void Init(ifstream & aDataFile, G4int nPar, G4double unit=1.);
void Init(G4std::ifstream & aDataFile, G4int nPar, G4double unit=1.);
void Init(ifstream & aDataFile, G4double unit=1.);
void Init(G4std::ifstream & aDataFile, G4double unit=1.);
inline void SetLabel(G4double aLabel) { theLabel = aLabel; }
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPMadlandNixSpectrum.hh,v 1.3 1999/07/02 09:59:26 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPMadlandNixSpectrum.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPMadlandNixSpectrum_h
#define G4NeutronHPMadlandNixSpectrum_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include <math.h>
#include "G4VNeutronHPEDis.hh"
@@ -38,7 +38,7 @@ class G4NeutronHPMadlandNixSpectrum : public G4VNeutronHPEDis
{
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
theFractionalProb.Init(aDataFile);
aDataFile>> theAvarageKineticPerNucleonForLightFragments;
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPNAInelasticFS_h
#define G4NeutronHPNAInelasticFS_h 1
@@ -7,14 +7,14 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPNBodyPhaseSpace.hh,v 1.3 1999/07/02 09:59:31 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPNBodyPhaseSpace.hh,v 1.4 1999/12/15 14:53:12 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPNBodyPhaseSpace_h
#define G4NeutronHPNBodyPhaseSpace_h 1
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4Neutron.hh"
#include "G4VNeutronHPEnergyAngular.hh"
@@ -35,7 +35,7 @@ class G4NeutronHPNBodyPhaseSpace : public G4VNeutronHPEnergyAngular
theTotalCount=aCount;
}
void Init(ifstream & aDataFile)
void Init(G4std::ifstream & aDataFile)
{
aDataFile >> theTotalMass >> theTotalCount;
theTotalMass *= G4Neutron::Neutron()->GetPDGMass();
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPNXInelasticFS_h
#define G4NeutronHPNXInelasticFS_h 1
@@ -7,19 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPNames.hh,v 1.5 1999/12/03 10:59:07 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPNames.hh,v 1.6 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPNames_h
#define G4NeutronHPNames_h 1
#include "G4ios.hh"
#include <fstream.h>
#ifdef WIN32
#include <strstrea.h>
#else
#include <strstream.h>
#endif
#include "g4std/fstream"
#include "g4std/strstream"
#include <stdlib.h>
#include "globals.hh"
#include "G4NeutronHPDataUsed.hh"
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPNeutronYield.hh,v 1.3 1999/07/02 09:59:44 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPNeutronYield.hh,v 1.4 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPNeutronYield_h
#define G4NeutronHPNeutronYield_h 1
@@ -32,7 +32,7 @@ class G4NeutronHPNeutronYield
G4double GetTargetMass() { return targetMass; }
void InitMean(ifstream & aDataFile)
void InitMean(G4std::ifstream & aDataFile)
{
G4int iflag;
aDataFile >> targetMass >>iflag;
@@ -47,7 +47,7 @@ class G4NeutronHPNeutronYield
}
}
void InitPrompt(ifstream & aDataFile)
void InitPrompt(G4std::ifstream & aDataFile)
{
hasPromptData = true;
G4int iflag;
@@ -63,7 +63,7 @@ class G4NeutronHPNeutronYield
}
}
void InitDelayed(ifstream & aDataFile)
void InitDelayed(G4std::ifstream & aDataFile)
{
hasDelayedData = true;
G4int iflag;
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPPTInelasticFS_h
#define G4NeutronHPPTInelasticFS_h 1
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPPartial.hh,v 1.3 1999/07/02 09:59:50 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPPartial.hh,v 1.4 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPPartial_h
#define G4NeutronHPPartial_h 1
@@ -35,20 +35,20 @@ class G4NeutronHPPartial
T = new G4double[n2];
X = new G4double[n1];
data = new G4NeutronHPVector[n1];
nData = max(n1,n2);
nData = G4std::max(n1,n2);
}
void InitInterpolation(G4int i, ifstream & aDataFile)
void InitInterpolation(G4int i, G4std::ifstream & aDataFile)
{
data[i].InitInterpolation(aDataFile);
}
void InitInterpolation(ifstream & aDataFile)
void InitInterpolation(G4std::ifstream & aDataFile)
{
theManager.Init(aDataFile);
}
void Init(ifstream & aDataFile)
void Init(G4std::ifstream & aDataFile)
{
G4int i;
G4double e;
@@ -62,7 +62,7 @@ class G4NeutronHPPartial
}
}
void InitData(G4int i, ifstream & aDataFile, G4double unit=1.)
void InitData(G4int i, G4std::ifstream & aDataFile, G4double unit=1.)
{
G4int ii;
G4double eg, pg;
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPPhotonDist.hh,v 1.3 1999/07/02 09:59:51 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPPhotonDist.hh,v 1.4 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// Hadronic Process: Very Low Energy Neutron X-Sections
// original by H.P. Wellisch, TRIUMF, 14-Feb-97
@@ -16,7 +16,7 @@
#ifndef G4NeutronHPPhotonDist_h
#define G4NeutronHPPhotonDist_h 1
#include "globals.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4ios.hh"
#include "globals.hh"
#include "G4NeutronHPVector.hh"
@@ -78,13 +78,13 @@ public:
if(thePhotonTransitionFraction != NULL) delete thePhotonTransitionFraction;
}
G4bool InitMean(ifstream & aDataFile);
G4bool InitMean(G4std::ifstream & aDataFile);
void InitAngular(ifstream & aDataFile);
void InitAngular(G4std::ifstream & aDataFile);
void InitEnergies(ifstream & aDataFile);
void InitEnergies(G4std::ifstream & aDataFile);
void InitPartials(ifstream & aDataFile);
void InitPartials(G4std::ifstream & aDataFile);
G4ReactionProductVector * GetPhotons(G4double anEnergy);
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPPhotonXSection.hh,v 1.3 1999/07/02 09:59:52 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPPhotonXSection.hh,v 1.4 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPPhotonXSection_h
#define G4NeutronHPPhotonXSection_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4VNeutronVector.hh"
@@ -43,7 +43,7 @@ class G4NeutronHPPhotonXSection
if(theExDisFlag != NULL) delete [] theExDisFlag;
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
aDataFile >> nChannels >> targetMass;
if(nChannels!=1)
@@ -7,15 +7,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPPolynomExpansion.hh,v 1.3 1999/07/02 09:59:53 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPPolynomExpansion.hh,v 1.4 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPPolynomExpansion_h
#define G4NeutronHPPolynomExpansion_h 1
#include "globals.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
class G4NeutronHPPolynomExpansion
{
@@ -30,7 +30,7 @@ class G4NeutronHPPolynomExpansion
if(theCoeff!=NULL) delete [] theCoeff;
}
inline void Init(ifstream & theData)
inline void Init(G4std::ifstream & theData)
{
theData >> nPoly;
theCoeff = new G4double[nPoly];
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPProduct.hh,v 1.3 1999/07/02 09:59:54 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPProduct.hh,v 1.4 1999/12/15 14:53:13 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPProduct_h
#define G4NeutronHPProduct_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "globals.hh"
#include "G4VNeutronHPEnergyAngular.hh"
#include "G4ReactionProductVector.hh"
@@ -40,7 +40,7 @@ class G4NeutronHPProduct
if(theDist != NULL) delete theDist;
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
aDataFile >> theMassCode>>theMass>>theIsomerFlag>>theDistLaw
>> theGroundStateQValue>>theActualStateQValue;
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPSCFissionFS_h
#define G4NeutronHPSCFissionFS_h 1
@@ -7,8 +7,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NeutronHPSimpleEvapSpectrum.hh,v 1.3 1999/07/02 09:59:57 johna Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPSimpleEvapSpectrum.hh,v 1.4 1999/12/15 14:53:14 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPSimpleEvapSpectrum_h
#define G4NeutronHPSimpleEvapSpectrum_h 1
@@ -17,7 +17,7 @@
#include "G4NeutronHPVector.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4VNeutronHPEDis.hh"
// we will need a List of these .... one per term.
@@ -33,7 +33,7 @@ class G4NeutronHPSimpleEvapSpectrum : public G4VNeutronHPEDis
{
}
inline void Init(ifstream & aDataFile)
inline void Init(G4std::ifstream & aDataFile)
{
theFractionalProb.Init(aDataFile,eV);
theThetaDist.Init(aDataFile, eV);
@@ -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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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-01-00 $
// GEANT4 tag $Name: geant4-01-01 $
//
#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.7 1999/11/19 18:47:39 hpw Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NeutronHPVector.hh,v 1.8 1999/12/15 14:53:14 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
#ifndef G4NeutronHPVector_h
#define G4NeutronHPVector_h 1
@@ -18,7 +18,7 @@
#include "G4NeutronHPInterpolator.hh"
#include "Randomize.hh"
#include "G4ios.hh"
#include <fstream.h>
#include "g4std/fstream"
#include "G4InterpolationManager.hh"
#include "G4NeutronHPInterpolator.hh"
#include <math.h>
@@ -63,7 +63,7 @@ class G4NeutronHPVector
inline void SetData(G4int i, G4double x, G4double y)
{
// G4cout <<"G4NeutronHPVector::SetData called"<<nPoints<<" "<<nEntries<<endl;
// G4cout <<"G4NeutronHPVector::SetData called"<<nPoints<<" "<<nEntries<<G4endl;
Check(i);
theData[i].SetData(x, y);
}
@@ -110,12 +110,12 @@ class G4NeutronHPVector
void Dump();
inline void InitInterpolation(ifstream & aDataFile)
inline void InitInterpolation(G4std::ifstream & aDataFile)
{
theManager.Init(aDataFile);
}
void Init(ifstream & aDataFile, G4int total, G4double ux=1., G4double uy=1.)
void Init(G4std::ifstream & aDataFile, G4int total, G4double ux=1., G4double uy=1.)
{
G4double x,y;
for (G4int i=0;i<total;i++)
@@ -127,7 +127,7 @@ class G4NeutronHPVector
}
}
void Init(ifstream & aDataFile,G4double ux=1., G4double uy=1.)
void Init(G4std::ifstream & aDataFile,G4double ux=1., G4double uy=1.)
{
if(theData!=NULL) delete [] theData;
theData = new G4NeutronHPDataPoint[100];

Some files were not shown because too many files have changed in this diff Show More