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: G4KleinNishinaCompton.hh,v 1.9 2007/05/22 17:34:36 vnivanch Exp $ |
---|
27 | // GEANT4 tag $Name: geant4-09-03-cand-01 $ |
---|
28 | // |
---|
29 | // ------------------------------------------------------------------- |
---|
30 | // |
---|
31 | // GEANT4 Class header file |
---|
32 | // |
---|
33 | // |
---|
34 | // File name: G4KleinNishinaCompton |
---|
35 | // |
---|
36 | // Author: Vladimir Ivanchenko on base of Michel Maire code |
---|
37 | // |
---|
38 | // Creation date: 15.03.2005 |
---|
39 | // |
---|
40 | // Modifications: |
---|
41 | // 18-04-05 Use G4ParticleChangeForGamma (V.Ivantchenko) |
---|
42 | // |
---|
43 | // |
---|
44 | // Class Description: |
---|
45 | // |
---|
46 | // Implementation of gamma Compton scatteribg on free electron |
---|
47 | // |
---|
48 | |
---|
49 | // ------------------------------------------------------------------- |
---|
50 | // |
---|
51 | |
---|
52 | #ifndef G4KleinNishinaCompton_h |
---|
53 | #define G4KleinNishinaCompton_h 1 |
---|
54 | |
---|
55 | #include "G4VEmModel.hh" |
---|
56 | |
---|
57 | class G4ParticleChangeForGamma; |
---|
58 | |
---|
59 | class G4KleinNishinaCompton : public G4VEmModel |
---|
60 | { |
---|
61 | |
---|
62 | public: |
---|
63 | |
---|
64 | G4KleinNishinaCompton(const G4ParticleDefinition* p = 0, |
---|
65 | const G4String& nam = "Klein-Nishina"); |
---|
66 | |
---|
67 | virtual ~G4KleinNishinaCompton(); |
---|
68 | |
---|
69 | virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&); |
---|
70 | |
---|
71 | virtual G4double ComputeCrossSectionPerAtom( |
---|
72 | const G4ParticleDefinition*, |
---|
73 | G4double kinEnergy, |
---|
74 | G4double Z, |
---|
75 | G4double A, |
---|
76 | G4double cut, |
---|
77 | G4double emax); |
---|
78 | |
---|
79 | virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*, |
---|
80 | const G4MaterialCutsCouple*, |
---|
81 | const G4DynamicParticle*, |
---|
82 | G4double tmin, |
---|
83 | G4double maxEnergy); |
---|
84 | |
---|
85 | protected: |
---|
86 | |
---|
87 | G4ParticleDefinition* theGamma; |
---|
88 | G4ParticleDefinition* theElectron; |
---|
89 | G4ParticleChangeForGamma* fParticleChange; |
---|
90 | G4double lowestGammaEnergy; |
---|
91 | |
---|
92 | private: |
---|
93 | |
---|
94 | // hide assignment operator |
---|
95 | G4KleinNishinaCompton & operator=(const G4KleinNishinaCompton &right); |
---|
96 | G4KleinNishinaCompton(const G4KleinNishinaCompton&); |
---|
97 | |
---|
98 | }; |
---|
99 | |
---|
100 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... |
---|
101 | |
---|
102 | #endif |
---|