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: G4UHadronElasticProcess.hh,v 1.10 2006/11/16 20:09:13 vnivanch Exp $ |
---|
28 | // GEANT4 tag $Name: geant4-09-02-ref-02 $ |
---|
29 | // |
---|
30 | // Geant4 Hadron Elastic Scattering Process -- header file |
---|
31 | // |
---|
32 | // Created 21 April 2006 V.Ivanchenko |
---|
33 | // |
---|
34 | // Modified: |
---|
35 | // 26.09.06 V.Ivanchenko add lowestEnergy |
---|
36 | // |
---|
37 | |
---|
38 | // Class Description |
---|
39 | // Process for hadron nuclear elastic scattering using optimal |
---|
40 | // combination of Geant4 models |
---|
41 | // Class Description - End |
---|
42 | |
---|
43 | #ifndef G4UHadronElasticProcess_h |
---|
44 | #define G4UHadronElasticProcess_h 1 |
---|
45 | |
---|
46 | #include "globals.hh" |
---|
47 | #include "G4HadronicProcess.hh" |
---|
48 | #include "G4Nucleus.hh" |
---|
49 | |
---|
50 | class G4VQCrossSection; |
---|
51 | class G4ParticleDefinition; |
---|
52 | class G4CrossSectionDataStore; |
---|
53 | |
---|
54 | class G4UHadronElasticProcess : public G4HadronicProcess |
---|
55 | { |
---|
56 | public: |
---|
57 | |
---|
58 | G4UHadronElasticProcess(const G4String& procName = "hElastic", |
---|
59 | G4double elow = 19.*MeV); |
---|
60 | |
---|
61 | virtual ~G4UHadronElasticProcess(); |
---|
62 | |
---|
63 | virtual G4VParticleChange* PostStepDoIt(const G4Track& aTrack, |
---|
64 | const G4Step& aStep); |
---|
65 | |
---|
66 | virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType); |
---|
67 | |
---|
68 | virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType); |
---|
69 | |
---|
70 | virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType); |
---|
71 | |
---|
72 | virtual G4double GetMeanFreePath(const G4Track&, G4double, |
---|
73 | G4ForceCondition*); |
---|
74 | |
---|
75 | virtual G4double GetMicroscopicCrossSection(const G4DynamicParticle*, |
---|
76 | const G4Element*, |
---|
77 | G4double aTemp); |
---|
78 | |
---|
79 | void SetQElasticCrossSection(G4VQCrossSection*); |
---|
80 | |
---|
81 | private: |
---|
82 | |
---|
83 | G4VQCrossSection* qCManager; |
---|
84 | const G4ParticleDefinition* theProton; |
---|
85 | const G4ParticleDefinition* theNeutron; |
---|
86 | const G4ParticleDefinition* theParticle; |
---|
87 | |
---|
88 | G4CrossSectionDataStore* store; |
---|
89 | G4Nucleus targetNucleus; |
---|
90 | |
---|
91 | G4double xsec[40]; |
---|
92 | G4double xsecH[4]; |
---|
93 | G4double cross; |
---|
94 | G4double thEnergy; |
---|
95 | G4double lowestEnergy; |
---|
96 | |
---|
97 | G4int pPDG; |
---|
98 | G4bool first; |
---|
99 | }; |
---|
100 | |
---|
101 | #endif |
---|