source: trunk/source/processes/electromagnetic/lowenergy/include/G4PenelopeIonisation.hh@ 1201

Last change on this file since 1201 was 1196, checked in by garnier, 16 years ago

update CVS release candidate geant4.9.3.01

File size: 5.4 KB
RevLine 
[819]1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26// -------------------------------------------------------------------
27// $Id: G4PenelopeIonisation.hh,v 1.5 2006/06/29 19:36:33 gunter Exp $
[1196]28// GEANT4 tag $Name: geant4-09-03-cand-01 $
[819]29//
30// Author: L. Pandola
31//
32// History:
33// -----------
34// 20 Mar 2003 L. Pandola 1st implementation
35// 30 Jun 2003 L. Pandola methods for positrons added
36// 04 Jul 2003 L. Pandola added methods for interfacing
37// with the cross section handler
38// -------------------------------------------------------------------
39//
40// Class description:
41// Penelope electromagnetic process, electron and positron Ionisation
42// Further documentation available from http://www.ge.infn.it/geant4/lowE
43// --------------------------------------------------------------
44
45#ifndef G4PENELOPEIONISATION_HH
46#define G4PENELOPEIONISATION_HH 1
47
48#include "G4eLowEnergyLoss.hh"
49#include "G4AtomicDeexcitation.hh"
50#include "globals.hh"
51
52class G4Track;
53class G4Step;
54class G4ParticleDefinition;
55class G4VParticleChange;
56class G4VDataSetAlgorithm;
57class G4ParticleChange;
58class G4VCrossSectionHandler;
59class G4VEMDataSet;
60
61
62class G4PenelopeIonisation : public G4eLowEnergyLoss
63{
64public:
65
66 G4PenelopeIonisation(const G4String& processName = "PenelopeIoni");
67
68 ~G4PenelopeIonisation();
69
70 G4bool IsApplicable(const G4ParticleDefinition&);
71
72 void PrintInfoDefinition();
73
74 void BuildPhysicsTable(const G4ParticleDefinition& ParticleType);
75
76 G4VParticleChange* PostStepDoIt(const G4Track& track,
77 const G4Step& step);
78
79 void SetCutForLowEnSecPhotons(G4double cut);
80
81 void SetCutForLowEnSecElectrons(G4double cut);
82
83 void ActivateAuger(G4bool val);
84
85 G4double CalculateCrossSectionsRatio(G4double,G4double,
86 G4int, G4double,
87 const G4ParticleDefinition&);
88
89
90 // For testing purpose only
91 G4double DumpMeanFreePath(const G4Track& aTrack,
92 G4double previousStepSize,
93 G4ForceCondition* condition)
94 { return GetMeanFreePath(aTrack, previousStepSize, condition); }
95
96protected:
97
98 G4double GetMeanFreePath(const G4Track& track,
99 G4double previousStepSize,
100 G4ForceCondition* condition );
101
102private:
103
104 // Hide copy constructor and assignment operator as private
105 G4PenelopeIonisation(const G4PenelopeIonisation& );
106 G4PenelopeIonisation& operator = (const G4PenelopeIonisation& right);
107
108 void BuildLossTable(const G4ParticleDefinition& ParticleType);
109 void CalculateDiscreteForElectrons(G4double,G4double,G4int,G4double);
110 void CalculateDiscreteForPositrons(G4double,G4double,G4int,G4double);
111 void ReadData();
112 G4double CalculateDeltaFermi(G4double,G4int,G4double);
113 G4double CalculateContinuous(G4double,G4double,G4int,G4double,
114 const G4ParticleDefinition&);
115 G4double CalculateStoppingPowerForElectrons(G4double,
116 G4double,G4double,G4double);
117 G4double CalculateStoppingPowerForPositrons(G4double,
118 G4double,G4double,G4double);
119
120 G4double CrossSectionsRatioForElectrons(G4double,G4double,
121 G4double,G4double,
122 G4int);
123 G4double CrossSectionsRatioForPositrons(G4double,G4double,
124 G4double,G4double,
125 G4int);
126 G4VCrossSectionHandler* crossSectionHandler;
127 G4VEMDataSet* theMeanFreePath;
128
129 // Lower limit for generation of gamma in this model
130 G4DataVector cutForDelta;
131 G4double cutForPhotons;
132 G4double cutForElectrons;
133 G4AtomicDeexcitation deexcitationManager;
134
135 //Parameters of hard interactions
136 G4double kineticEnergy1;
137 G4double cosThetaPrimary;
138 G4double energySecondary;
139 G4double cosThetaSecondary;
140 G4int iOsc;
141
142 //Parameters of atomic shells
143 std::map<G4int,G4DataVector*> *ionizationEnergy;
144 std::map<G4int,G4DataVector*> *resonanceEnergy;
145 std::map<G4int,G4DataVector*> *occupationNumber;
146 std::map<G4int,G4DataVector*> *shellFlag;
147};
148
149#endif
150
151
152
153
154
155
156
157
158
159
160
Note: See TracBrowser for help on using the repository browser.