Geant4  10.02.p01
G4BetheHeitlerModel.hh
Go to the documentation of this file.
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: G4BetheHeitlerModel.hh 74581 2013-10-15 12:03:25Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 //
33 // File name: G4BetheHeitlerModel
34 //
35 // Author: Vladimir Ivanchenko on base of Michel Maire code
36 //
37 // Creation date: 19.04.2005
38 //
39 // Modifications:
40 // 02-02-06 Remove InitialiseCrossSectionPerAtom();
41 //
42 // Class Description:
43 //
44 // Implementation of gamma convertion to e+e- in the field of a nucleus
45 //
46 
47 // -------------------------------------------------------------------
48 //
49 
50 #ifndef G4BetheHeitlerModel_h
51 #define G4BetheHeitlerModel_h 1
52 
53 #include "G4VEmModel.hh"
54 #include "G4PhysicsTable.hh"
55 #include "G4Log.hh"
56 
58 class G4Pow;
59 
61 {
62 
63 public:
64 
66  const G4String& nam = "BetheHeitler");
67 
68  virtual ~G4BetheHeitlerModel();
69 
70  virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
71 
72  virtual void InitialiseLocal(const G4ParticleDefinition*,
73  G4VEmModel* masterModel);
74 
76  const G4ParticleDefinition*,
77  G4double kinEnergy,
78  G4double Z,
79  G4double A=0.,
80  G4double cut=0.,
82 
83  virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
84  const G4MaterialCutsCouple*,
85  const G4DynamicParticle*,
86  G4double tmin,
87  G4double maxEnergy);
88 
89 private:
90 
91  G4double ScreenFunction1(G4double ScreenVariable);
92 
93  G4double ScreenFunction2(G4double ScreenVariable);
94 
95  // hide assignment operator
98 
104 };
105 
106 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
107 
109 
110 // compute the value of the screening function 3*PHI1 - PHI2
111 
112 {
113  G4double screenVal;
114 
115  if (ScreenVariable > 1.)
116  screenVal = 42.24 - 8.368*G4Log(ScreenVariable+0.952);
117  else
118  screenVal = 42.392 - ScreenVariable*(7.796 - 1.961*ScreenVariable);
119 
120  return screenVal;
121 }
122 
123 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124 
126 
127 // compute the value of the screening function 1.5*PHI1 - 0.5*PHI2
128 
129 {
130  G4double screenVal;
131 
132  if (ScreenVariable > 1.)
133  screenVal = 42.24 - 8.368*G4Log(ScreenVariable+0.952);
134  else
135  screenVal = 41.405 - ScreenVariable*(5.828 - 0.8945*ScreenVariable);
136 
137  return screenVal;
138 }
139 
140 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
141 
142 #endif
G4ParticleChangeForGamma * fParticleChange
Definition: G4Pow.hh:56
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
G4ParticleDefinition * thePositron
G4double ScreenFunction2(G4double ScreenVariable)
G4BetheHeitlerModel & operator=(const G4BetheHeitlerModel &right)
double A(double temperature)
G4double ScreenFunction1(G4double ScreenVariable)
virtual void InitialiseLocal(const G4ParticleDefinition *, G4VEmModel *masterModel)
G4ParticleDefinition * theGamma
G4BetheHeitlerModel(const G4ParticleDefinition *p=0, const G4String &nam="BetheHeitler")
static const G4double emax
G4double G4Log(G4double x)
Definition: G4Log.hh:230
G4ParticleDefinition * theElectron
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., G4double cut=0., G4double emax=DBL_MAX)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
double G4double
Definition: G4Types.hh:76
#define DBL_MAX
Definition: templates.hh:83