Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4hEnergyLoss.hh,v 2.8 1998/12/07 15:22:41 urban Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4hEnergyLoss.hh,v 1.2 1999/02/16 13:34:49 urban Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
// $Id:
|
||||
// ------------------------------------------------------------
|
||||
@@ -36,6 +36,7 @@
|
||||
//
|
||||
// 7/10/98 some bugs fixed + some cleanup , L.Urban
|
||||
// 22/10/98 cleanup , L.Urban
|
||||
// 02/02/99 several bugs fixed, L.Urban
|
||||
//
|
||||
|
||||
#ifndef G4hEnergyLoss_h
|
||||
@@ -113,15 +114,13 @@ class G4hEnergyLoss : public G4VContinuousDiscreteProcess
|
||||
|
||||
G4PhysicsTable* theLossTable ;
|
||||
|
||||
G4double MinKineticEnergy ;
|
||||
|
||||
private:
|
||||
|
||||
G4double fdEdx; // computed in GetContraints
|
||||
|
||||
G4double fRangeNow ; // computed in GetContraints
|
||||
|
||||
G4int EnergyBinNumber ;
|
||||
G4double RangeCoeffA,RangeCoeffB,RangeCoeffC ;
|
||||
G4double linLossLimit ;
|
||||
|
||||
// variables for the integration routines
|
||||
static G4double Mass,taulow,tauhigh,ltaulow,ltauhigh;
|
||||
@@ -159,7 +158,11 @@ class G4hEnergyLoss : public G4VContinuousDiscreteProcess
|
||||
static void SetRndmStep (G4bool value) {rndmStepFlag = value;}
|
||||
static void SetEnlossFluc (G4bool value) {EnlossFlucFlag = value;}
|
||||
static void SetStepFunction (G4double c1, G4double c2)
|
||||
{dRoverRange = c1; finalRange = c2;}
|
||||
{dRoverRange = c1; finalRange = c2;
|
||||
c1lim=dRoverRange ;
|
||||
c2lim=2.*(1-dRoverRange)*finalRange;
|
||||
c3lim=-(1.-dRoverRange)*finalRange*finalRange;
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
@@ -208,13 +211,10 @@ class G4hEnergyLoss : public G4VContinuousDiscreteProcess
|
||||
static const G4Proton* theProton ;
|
||||
static const G4AntiProton* theAntiProton ;
|
||||
|
||||
|
||||
// ====================================================================
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
static G4PhysicsTable* theDEDXpTable ;
|
||||
@@ -244,8 +244,10 @@ class G4hEnergyLoss : public G4VContinuousDiscreteProcess
|
||||
static G4double ParticleMass ;
|
||||
|
||||
// cut in range
|
||||
static G4double CutInRange;
|
||||
static G4double ptableElectronCutInRange;
|
||||
static G4double pbartableElectronCutInRange;
|
||||
|
||||
static G4double Charge ;
|
||||
private:
|
||||
|
||||
static G4PhysicsTable* theDEDXTable;
|
||||
@@ -275,6 +277,7 @@ class G4hEnergyLoss : public G4VContinuousDiscreteProcess
|
||||
// in one step
|
||||
|
||||
static G4double finalRange ; // last step before stop
|
||||
static G4double c1lim,c2lim,c3lim ; // coeffs for computing steplimit
|
||||
|
||||
static G4bool rndmStepFlag ;
|
||||
static G4bool EnlossFlucFlag ;
|
||||
@@ -290,7 +293,6 @@ class G4hEnergyLoss : public G4VContinuousDiscreteProcess
|
||||
// /LowestKineticEnergy)/TotBin
|
||||
// RTable = exp(LOGRTable)
|
||||
|
||||
|
||||
};
|
||||
|
||||
#include "G4hEnergyLoss.icc"
|
||||
|
||||
Reference in New Issue
Block a user