source: trunk/source/processes/electromagnetic/lowenergy/include/G4FinalStateIonisationBorn.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

  • Property svn:executable set to *
File size: 3.7 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// $Id: G4FinalStateIonisationBorn.hh,v 1.4 2008/07/14 20:47:34 sincerti Exp $
27// GEANT4 tag $Name: geant4-09-03-cand-01 $
28
29#ifndef G4FINALSTATEIONISATIONBORN_HH
30#define G4FINALSTATEIONISATIONBORN_HH 1
31
32#include "G4FinalStateProduct.hh"
33#include "G4WaterIonisationStructure.hh"
34#include "G4CrossSectionIonisationBornPartial.hh"
35
36class G4Track;
37class G4Step;
38
39class G4FinalStateIonisationBorn
40{
41 public:
42
43 G4FinalStateIonisationBorn();
44
45 ~G4FinalStateIonisationBorn();
46
47 const G4FinalStateProduct& GenerateFinalState(const G4Track& track, const G4Step& step);
48
49private:
50
51 G4double lowEnergyLimitDefault;
52 G4double highEnergyLimitDefault;
53 std::map<G4String,G4double,std::less<G4String> > lowEnergyLimit;
54 std::map<G4String,G4double,std::less<G4String> > highEnergyLimit;
55
56 G4FinalStateProduct product;
57
58 G4WaterIonisationStructure waterStructure;
59
60 G4CrossSectionIonisationBornPartial cross;
61
62 G4double RandomizeEjectedElectronEnergy(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4int shell) ;
63
64 void RandomizeEjectedElectronDirection(G4ParticleDefinition * aParticleDefinition, G4double incomingParticleEnergy, G4double
65 outgoingParticleEnergy, G4double & cosTheta, G4double & phi );
66
67 double DifferentialCrossSection(G4ParticleDefinition * aParticleDefinition, G4double k, G4double energyTransfer, G4int shell);
68
69 G4double LogLogInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2);
70
71 G4double QuadInterpolator(G4double e11,
72 G4double e12,
73 G4double e21,
74 G4double e22,
75 G4double x11,
76 G4double x12,
77 G4double x21,
78 G4double x22,
79 G4double t1,
80 G4double t2,
81 G4double t,
82 G4double e);
83
84 typedef std::map<double, std::map<double, double> > TriDimensionMap;
85 TriDimensionMap eDiffCrossSectionData[6];
86 TriDimensionMap pDiffCrossSectionData[6];
87 std::vector<double> eTdummyVec;
88 std::vector<double> pTdummyVec;
89
90 typedef std::map<double, std::vector<double> > VecMap;
91 VecMap eVecm;
92 VecMap pVecm;
93
94};
95
96#endif
Note: See TracBrowser for help on using the repository browser.