source: trunk/source/processes/electromagnetic/lowenergy/src/G4eCrossSectionExcitationEmfietzoglou.cc @ 1315

Last change on this file since 1315 was 1315, checked in by garnier, 14 years ago

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File size: 6.2 KB
Line 
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: G4eCrossSectionExcitationEmfietzoglou.cc,v 1.1 2007/05/04 10:16:06 pia Exp $
28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
29//
30
31// $Id: G4eCrossSectionExcitationEmfietzoglou.cc,v 1.1 2007/05/04 10:16:06 pia Exp $
32// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
33//
34// Contact Author: Maria Grazia Pia (Maria.Grazia.Pia@cern.ch)
35//
36// Reference: TNS Geant4-DNA paper
37// Reference for implementation model: NIM. 155, pp. 145-156, 1978
38
39// History:
40// -----------
41// Date         Name              Modification
42// 28 Apr 2007  M.G. Pia          Created in compliance with design described in TNS paper
43//
44// -------------------------------------------------------------------
45
46// Class description:
47// Geant4-DNA Cross total cross section for electron elastic scattering in water
48// Further documentation available from http://www.ge.infn.it/geant4/dna
49
50// -------------------------------------------------------------------
51
52
53#include "G4eCrossSectionExcitationEmfietzoglou.hh"
54#include "G4Track.hh"
55#include "G4DynamicParticle.hh"
56
57#include "G4ParticleDefinition.hh"
58#include "G4Track.hh"
59#include "G4Electron.hh"
60#include "G4DynamicParticle.hh"
61#include "G4Material.hh"
62
63#include "Randomize.hh"
64
65G4eCrossSectionExcitationEmfietzoglou::G4eCrossSectionExcitationEmfietzoglou()
66{
67
68  name = "eCrossSectionExcitationEmfietzoglou";
69  lowEnergyLimit = 7. * eV;
70  highEnergyLimit = 10 * keV;
71
72//  if (verboseLevel > 0)
73//  {
74//    G4cout << name << " is created " << G4endl
75//     << "Energy range: "
76//     << lowEnergyLimit / keV << " keV - "
77//     << highEnergyLimit / GeV << " GeV"
78//     << G4endl;
79//  }
80}
81
82
83G4eCrossSectionExcitationEmfietzoglou::~G4eCrossSectionExcitationEmfietzoglou()
84{ }
85 
86
87G4double G4eCrossSectionExcitationEmfietzoglou::CrossSection(const G4Track& track)
88{
89  const G4DynamicParticle* particle = track.GetDynamicParticle();
90  G4double k = particle->GetKineticEnergy();
91
92  // G4Material* material = track.GetMaterial();
93
94  // Assume that the material is water; proper algorithm to calculate correctly for any material to be inserted here
95
96  // Take into account 5 excitation levels (D. Emfietzoglou et al., NIM B 193, pp. 71-78, 2002.
97  G4int i = 5;
98
99  G4double crossSection(0.);
100
101  while (i>0)
102    {
103      i--;
104      crossSection += PartialCrossSection(k,i);
105    }
106  return crossSection;
107 }
108
109
110G4double G4eCrossSectionExcitationEmfietzoglou::PartialCrossSection(G4double k, G4int excitationLevel)
111{
112  //                 Aj                        T
113  // sigma(T) = ------------- (Bj /  T) ln(Cj ---) [1 - Bj / T]^Pj
114  //             2 pi alpha0                   R
115  //
116  // T      is the incoming electron kinetic energy
117  // alpha0 is the Bohr Radius (Bohr_radius)
118  // Aj, Bj, Cj & Pj are parameters that can be found in Emfietzoglou's papers
119  //
120  //
121  // From Phys. Med. Biol. 48 (2003) 2355-2371, D.Emfietzoglou,
122  // Monte Carlo Simulation of the energy loss of low energy electrons in liquid Water
123 
124  k = k / eV;
125  const G4double sigma0 = (10. / 3.343e22) * cm2;
126  const G4double aj[] = {0.0205, 0.0209, 0.0130, 0.0026, 0.0025};
127  const G4double cj[] = {4.9801, 3.3850, 2.8095, 1.9242, 3.4624};
128  const G4double pj[] = {0.4757, 0.3483, 0.4443, 0.3429, 0.4379};
129  const G4double r = 13.6 * eV;
130 
131  G4double cross = 0.;
132  if (k < EnergyConstant(excitationLevel)) return cross; 
133
134  G4double excitationSigma = ( aj[excitationLevel] / (2. * pi * Bohr_radius)) *
135    (EnergyConstant(excitationLevel) / k) * 
136    std::log(cj[excitationLevel] * (k / r)) * 
137    std::pow((1. - (EnergyConstant(excitationLevel) / k)), pj[excitationLevel]);
138  G4cout << "Bohr radius = " << Bohr_radius << G4endl;
139
140  cross = excitationSigma * sigma0;
141
142  return cross;
143}
144
145
146G4int G4eCrossSectionExcitationEmfietzoglou::RandomizePartialCrossSection(G4double k)
147{
148  // Assume 5 excitation levels
149
150  G4int i = 5;
151  G4double value = 0.;
152  G4double values[5];
153 
154  while (i>0)
155    {
156      i--;
157      values[i] = PartialCrossSection(k,i);
158      value += values[i];
159    }
160 
161  value *= G4UniformRand();
162 
163  i = 5;
164  while (i>0)
165    {
166      i--;
167     
168      if (values[i] > value) return i;
169     
170      value -= values[i];
171    }
172  // One should never end up here; next statement added to avoid compilation warning
173  // Probably one should throw an exception if one ends up here
174  return 0;
175}
176
177G4double G4eCrossSectionExcitationEmfietzoglou::EnergyConstant(G4int excitationLevel)
178{
179  const G4double ej[] ={ 8.22*eV, 10.00*eV, 11.24*eV, 12.61*eV, 13.77*eV};
180  G4double e = ej[excitationLevel];
181 
182  return e;
183}
184
185
186
187
188//G4bool G4eCrossSectionExcitationEmfietzoglou::IsApplicable(const G4ParticleDefinition& particle)
189//{
190//  return ( &particle == G4Electron::Electron() );
191//}
192
Note: See TracBrowser for help on using the repository browser.