Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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: G4PAIxSection.hh,v 1.2 1999/04/16 09:06:02 grichine Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4PAIxSection.hh,v 1.3.6.1 1999/12/07 20:50:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// G4PAIxSection.hh -- header file
@@ -23,11 +23,17 @@
//
// History:
// 1st version 11.06.97, V. Grichine
// 2nd version 30.11.97, V. Grichine
// 2nd version 30.11.97, V. Grichine
// 27.10.99, V.Grichine: Bug fixed in constructors, 3rd constructor and
// GetStepEnergyLoss(step) were added, fDelta = 0.005
#ifndef G4PAIXSECTION_HH
#define G4PAIXSECTION_HH
#include "G4ios.hh"
#include "globals.hh"
#include "Randomize.hh"
#include"G4SandiaTable.hh"
class G4PAIxSection
@@ -41,7 +47,11 @@ public:
G4PAIxSection( G4int materialIndex, // for proton loss table
G4double maxEnergyTransfer,
G4double betaGammaSq ,
G4double** photoAbsCof, G4int intNumber ) ;
G4double** photoAbsCof, G4int intNumber ) ;
G4PAIxSection( G4int materialIndex, // test constructor
G4double maxEnergyTransfer,
G4double betaGammaSq ) ;
// G4PAIxSection(const G4PAIxSection& right) ;
@@ -84,6 +94,8 @@ public:
G4double SumOverBorder( G4int intervalNumber,
G4double energy ) ;
G4double GetStepEnergyLoss( G4double step ) ;
// Inline access functions
@@ -91,6 +103,10 @@ public:
G4int GetSplineSize() const { return fSplineNumber ; }
G4int GetIntervalNumber() const { return fIntervalNumber ; }
G4double GetEnergyInterval(G4int i){ return fEnergyInterval[i] ; }
G4double GetMeanEnergyLoss() const {return fIntegralPAIxSection[0] ; }
G4double GetNormalizationCof() const { return fNormalizationCof ; }
@@ -156,7 +172,8 @@ G4double fPAItable[500][112] ; // Output array
} ;
// ............................ INLINE METHODS ....................................
//////////////// Inline methods //////////////////////////////////
//
inline G4double G4PAIxSection::GetPAItable(G4int i, G4int j) const