Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -20,154 +20,101 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
// $Id: G4LowEnergyIonisation.hh,v 1.34 2001/11/29 22:47:27 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
// $Id: G4LowEnergyIonisation.hh,v 1.20.2.2 2001/06/28 20:19:23 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// Author: A. Forti
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// --- G4LowEnergyIonisation physics process for electrons
|
||||
// by Alessandra Forti July 1999
|
||||
// ************************************************************
|
||||
//
|
||||
// 07.04.2000 Veronique Lefebure + Laszlo Urban
|
||||
// - First implemention of continuous energy loss
|
||||
// 14/07/99: corrections , L.Urban
|
||||
// 20/09/00 update fluctuations V.Ivanchenko
|
||||
// History:
|
||||
// -----------
|
||||
// 02 Mar 1999 A. Forti 1st implementation
|
||||
// 27 Sep 2001 V. Ivanchenko Major revision according to a design iteration
|
||||
// 10 Oct 2001 M.G. Pia Revision to improve code quality and
|
||||
// consistency with design
|
||||
// 18 Oct 2001 M.G. Pia Revision to improve code quality and
|
||||
// consistency with design
|
||||
// 29 Nov 2001 V.Ivanchenko New parametrisation of EEDL data
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
|
||||
// Class description:
|
||||
// Low Energy Electromagnetic process, electron Ionisation
|
||||
// Low Energy electromagnetic process, electron Ionisation
|
||||
// based on the data of the EEDL database. Details are described
|
||||
// in the Physics Reference Manual.
|
||||
// Further documentation available from http://www.ge.infn.it/geant4/lowE
|
||||
|
||||
// ------------------------------------------------------------
|
||||
|
||||
#ifndef G4LowEnergyIonisation_h
|
||||
#define G4LowEnergyIonisation_h 1
|
||||
// --------------------------------------------------------------
|
||||
|
||||
#ifndef G4lOWENERGYIONISATION_HH
|
||||
#define G4LOWENERGYIONISATION_HH 1
|
||||
|
||||
// Base Class Headers
|
||||
#include "G4eLowEnergyLoss.hh"
|
||||
#include "G4AtomicDeexcitation.hh"
|
||||
|
||||
// Contained Variables Headers
|
||||
#include "G4LowEnergyUtilities.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4Positron.hh"
|
||||
|
||||
typedef G4FirstLevel oneShellTable;
|
||||
typedef G4SecondLevel oneAtomTable;
|
||||
typedef G4ThirdLevel allAtomTable;
|
||||
|
||||
class G4LowEnergyIonisation : public G4eLowEnergyLoss{
|
||||
class G4Track;
|
||||
class G4Step;
|
||||
class G4ParticleDefinition;
|
||||
class G4VParticleChange;
|
||||
class G4VDataSetAlgorithm;
|
||||
class G4ParticleChange;
|
||||
class G4VEnergySpectrum;
|
||||
class G4VCrossSectionHandler;
|
||||
class G4ShellVacancy;
|
||||
class G4VEMDataSet;
|
||||
|
||||
class G4LowEnergyIonisation : public G4eLowEnergyLoss
|
||||
{
|
||||
public:
|
||||
|
||||
G4LowEnergyIonisation(const G4String& processName = "LowEnergyIoni");
|
||||
|
||||
G4LowEnergyIonisation(const G4String& processName = "LowEnergyIoni");
|
||||
|
||||
~G4LowEnergyIonisation();
|
||||
|
||||
G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
|
||||
void SetCutForLowEnSecPhotons(G4double);
|
||||
|
||||
void SetCutForLowEnSecElectrons(G4double);
|
||||
|
||||
void BuildPhysicsTable(const G4ParticleDefinition& aParticleType);
|
||||
|
||||
G4double GetMeanFreePath(const G4Track& track,
|
||||
G4double previousStepSize,
|
||||
G4ForceCondition* condition ) ;
|
||||
|
||||
inline G4double GetTransitionShell(G4int k){return(thePrimShVec[k]);};
|
||||
|
||||
G4VParticleChange *PostStepDoIt(const G4Track& track,
|
||||
const G4Step& Step ) ;
|
||||
G4bool IsApplicable(const G4ParticleDefinition&);
|
||||
|
||||
void PrintInfoDefinition();
|
||||
|
||||
void BuildPhysicsTable(const G4ParticleDefinition& ParticleType);
|
||||
|
||||
G4VParticleChange* PostStepDoIt(const G4Track& track,
|
||||
const G4Step& step);
|
||||
|
||||
void SetCutForLowEnSecPhotons(G4double cut);
|
||||
|
||||
G4double GetShellCrossSection(const G4double AtomicNumber,
|
||||
const G4int subshellindex,
|
||||
const G4double KineticEnergy) ;
|
||||
G4double GetShellCrossSectionwithCut(const G4double AtomicNumber,
|
||||
const G4int subshellindex,
|
||||
const G4double KineticEnergy,
|
||||
const G4double Tcut) ;
|
||||
G4double GetShellEnergyLosswithCut(const G4double AtomicNumber,
|
||||
const G4int subshellindex,
|
||||
const G4double KineticEnergy,
|
||||
const G4double Tcut) ;
|
||||
void SetLowEnergyLimit(G4double val) {if(val > 0.0) lEnergyLimit = val;};
|
||||
|
||||
private:
|
||||
|
||||
virtual G4double ComputeCrossSection(const G4double AtomicNumber,
|
||||
const G4double IncEnergy);
|
||||
G4double ComputeCrossSectionWithCut(const G4double AtomIndex,
|
||||
const G4double IncEnergy,
|
||||
const G4double CutEnergy);
|
||||
G4double ComputeMicroscopicCrossSection(const G4double AtomIndex,
|
||||
const G4double IncEnergy,
|
||||
const G4double CutEnergy);
|
||||
|
||||
void BuildLossTable(const G4ParticleDefinition& aParticleType);
|
||||
void BuildShellCrossSectionTable();
|
||||
void BuildBindingEnergyTable();
|
||||
void BuildFluorTransitionTable();
|
||||
void BuildSamplingCoeffTable();
|
||||
void BuildZVec();
|
||||
void BuildLambdaTable(const G4ParticleDefinition& aParticleType);
|
||||
void SetCutForLowEnSecElectrons(G4double cut);
|
||||
|
||||
protected:
|
||||
|
||||
G4double GetMeanFreePath(const G4Track& track,
|
||||
G4double previousStepSize,
|
||||
G4ForceCondition* condition );
|
||||
|
||||
virtual G4std::vector<G4DynamicParticle*>* DeexciteAtom(const G4Material* material,
|
||||
G4double incidentEnergy,
|
||||
G4double eLoss);
|
||||
|
||||
private:
|
||||
|
||||
// Hide copy constructor and assignment operator as private
|
||||
G4LowEnergyIonisation(const G4LowEnergyIonisation& );
|
||||
G4LowEnergyIonisation& operator = (const G4LowEnergyIonisation& right);
|
||||
|
||||
// hide assignment operator
|
||||
G4LowEnergyIonisation & operator=(const G4LowEnergyIonisation &right);
|
||||
G4LowEnergyIonisation(const G4LowEnergyIonisation&);
|
||||
void BuildLossTable(const G4ParticleDefinition& ParticleType);
|
||||
|
||||
private:
|
||||
G4VCrossSectionHandler* crossSectionHandler;
|
||||
G4VEMDataSet* theMeanFreePath;
|
||||
G4VEnergySpectrum* energySpectrum;
|
||||
|
||||
// Lower limit for generation of gamma in this model
|
||||
G4DataVector cutForDelta;
|
||||
G4double cutForPhotons;
|
||||
G4double cutForElectrons;
|
||||
G4AtomicDeexcitation deexcitationManager;
|
||||
G4ShellVacancy* shellVacancy;
|
||||
|
||||
G4int SelectRandomShell(const G4int AtomIndex
|
||||
, const G4double IncEnergy
|
||||
, const G4double CutEnergy);
|
||||
|
||||
G4Element* SelectRandomAtom(const G4DynamicParticle* aDynamicPhoton,
|
||||
G4Material* aMaterial);
|
||||
|
||||
G4bool SelectRandomTransition(G4int, G4double*,
|
||||
const oneAtomTable*);
|
||||
|
||||
|
||||
|
||||
G4double EnergySampling(const G4int AtomicNumber
|
||||
, const G4int ShellIndex
|
||||
, const G4double KinEn
|
||||
, const G4double deltaRayMinE = 0.1*eV);
|
||||
|
||||
allAtomTable* allAtomShellCrossSec;
|
||||
allAtomTable* theFluorTransitionTable;
|
||||
allAtomTable* theSamplingCoeffTable;
|
||||
G4SecondLevel* theBindingEnergyTable;
|
||||
G4DataVector* ZNumVec;
|
||||
G4DataVector* ZNumVecFluor;
|
||||
|
||||
G4PhysicsTable* theMeanFreePathTable;
|
||||
|
||||
G4double CutForLowEnergySecondaryPhotons;
|
||||
G4double CutForLowEnergySecondaryElectrons;
|
||||
G4double MeanFreePath;
|
||||
|
||||
G4double lowestKineticEnergy;
|
||||
G4double highestKineticEnergy;
|
||||
G4int TotBin;
|
||||
|
||||
G4LowEnergyUtilities util;
|
||||
|
||||
G4DataVector thePrimShVec;
|
||||
G4double lEnergyLimit;
|
||||
};
|
||||
|
||||
#include "G4LowEnergyIonisation.icc"
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -180,7 +127,3 @@ private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user