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: G4GammaConversion.hh,v 1.23 2009/02/20 12:06:37 vnivanch Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-03 $ |
---|
29 | // |
---|
30 | // |
---|
31 | //------------------ G4GammaConversion physics process------------------------ |
---|
32 | // by Michel Maire, 24 May 1996 |
---|
33 | // |
---|
34 | // 11-06-96, Added GetRandomAtom() method and new data member |
---|
35 | // for cumulative total cross section, by M.Maire |
---|
36 | // 21-06-96, SetCuts inplementation, M.Maire |
---|
37 | // 16-09-96, Dynamical array PartialSumSigma, M.Maire |
---|
38 | // 14-01-97, crossection table + meanfreepath table. |
---|
39 | // PartialSumSigma removed, M.Maire |
---|
40 | // 14-03-97, new physics scheme for geant4alpha, M.Maire |
---|
41 | // 13-08-98, new methods SetBining() PrintInfo() |
---|
42 | // 03-08-01, new methods Store/Retrieve PhysicsTable (mma) |
---|
43 | // 06-08-01, BuildThePhysicsTable() called from constructor (mma) |
---|
44 | // 19-09-01, come back to previous ProcessName: "conv" |
---|
45 | // 20-09-01, DoIt: fminimalEnergy = 1*eV (mma) |
---|
46 | // 01-10-01, come back to BuildPhysicsTable(const G4ParticleDefinition&) |
---|
47 | // 13-08-04, suppress .icc file |
---|
48 | // public ComputeCrossSectionPerAtom() and ComputeMeanFreePath() (mma) |
---|
49 | // 09-11-04, Remove Retrieve tables (V.Ivantchenko) |
---|
50 | // 19-04-05, Redesign - use G4VEmProcess interface (V.Ivantchenko) |
---|
51 | // 04-05-05, Make class to be default (V.Ivanchenko) |
---|
52 | // 09-08-06, add SetModel(G4VEmModel*) (mma) |
---|
53 | // 12-09-06, move SetModel(G4VEmModel*) in G4VEmProcess (mma) |
---|
54 | // ----------------------------------------------------------------------------- |
---|
55 | |
---|
56 | // class description |
---|
57 | // |
---|
58 | |
---|
59 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... |
---|
60 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... |
---|
61 | |
---|
62 | #ifndef G4GammaConversion_h |
---|
63 | #define G4GammaConversion_h 1 |
---|
64 | |
---|
65 | #include "globals.hh" |
---|
66 | #include "G4VEmProcess.hh" |
---|
67 | #include "G4Gamma.hh" |
---|
68 | |
---|
69 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... |
---|
70 | |
---|
71 | class G4ParticleDefinition; |
---|
72 | class G4VEmModel; |
---|
73 | class G4MaterialCutsCouple; |
---|
74 | class G4DynamicParticle; |
---|
75 | |
---|
76 | class G4GammaConversion : public G4VEmProcess |
---|
77 | |
---|
78 | { |
---|
79 | public: // with description |
---|
80 | |
---|
81 | G4GammaConversion(const G4String& processName ="conv", |
---|
82 | G4ProcessType type = fElectromagnetic); |
---|
83 | |
---|
84 | virtual ~G4GammaConversion(); |
---|
85 | |
---|
86 | // true for Gamma only. |
---|
87 | virtual G4bool IsApplicable(const G4ParticleDefinition&); |
---|
88 | |
---|
89 | // Print few lines of informations about the process: validity range, |
---|
90 | virtual void PrintInfo(); |
---|
91 | |
---|
92 | protected: |
---|
93 | |
---|
94 | virtual void InitialiseProcess(const G4ParticleDefinition*); |
---|
95 | |
---|
96 | private: |
---|
97 | |
---|
98 | G4bool isInitialised; |
---|
99 | }; |
---|
100 | |
---|
101 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... |
---|
102 | |
---|
103 | #endif |
---|
104 | |
---|