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: G4ChargeExchangeProcess.hh,v 1.2 2006/06/29 20:08:57 gunter Exp $ |
---|
28 | // GEANT4 tag $Name: $ |
---|
29 | // |
---|
30 | // |
---|
31 | // Geant4 Hadron Elastic Charge Exchange Process -- header file |
---|
32 | // |
---|
33 | // Created 21 April 2006 V.Ivanchenko |
---|
34 | // |
---|
35 | // Modified: |
---|
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 G4ChargeExchangeProcess_h |
---|
44 | #define G4ChargeExchangeProcess_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 | class G4PhysicsLinearVector; |
---|
54 | |
---|
55 | class G4ChargeExchangeProcess : public G4HadronicProcess |
---|
56 | { |
---|
57 | public: |
---|
58 | |
---|
59 | G4ChargeExchangeProcess(const G4String& procName = "chargeExc"); |
---|
60 | |
---|
61 | virtual ~G4ChargeExchangeProcess(); |
---|
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, G4ForceCondition*); |
---|
73 | |
---|
74 | virtual G4double GetMicroscopicCrossSection(const G4DynamicParticle* aParticle, |
---|
75 | const G4Element* anElement, |
---|
76 | G4double aTemp); |
---|
77 | |
---|
78 | void SetQElasticCrossSection(G4VQCrossSection*); |
---|
79 | |
---|
80 | private: |
---|
81 | |
---|
82 | G4VQCrossSection* qCManager; |
---|
83 | |
---|
84 | const G4ParticleDefinition* theParticle; |
---|
85 | |
---|
86 | const G4ParticleDefinition* theProton; |
---|
87 | const G4ParticleDefinition* theNeutron; |
---|
88 | const G4ParticleDefinition* theAProton; |
---|
89 | const G4ParticleDefinition* theANeutron; |
---|
90 | const G4ParticleDefinition* thePiPlus; |
---|
91 | const G4ParticleDefinition* thePiMinus; |
---|
92 | const G4ParticleDefinition* thePiZero; |
---|
93 | const G4ParticleDefinition* theKPlus; |
---|
94 | const G4ParticleDefinition* theKMinus; |
---|
95 | const G4ParticleDefinition* theK0S; |
---|
96 | const G4ParticleDefinition* theK0L; |
---|
97 | const G4ParticleDefinition* theL; |
---|
98 | const G4ParticleDefinition* theAntiL; |
---|
99 | const G4ParticleDefinition* theSPlus; |
---|
100 | const G4ParticleDefinition* theASPlus; |
---|
101 | const G4ParticleDefinition* theSMinus; |
---|
102 | const G4ParticleDefinition* theASMinus; |
---|
103 | const G4ParticleDefinition* theS0; |
---|
104 | const G4ParticleDefinition* theAS0; |
---|
105 | const G4ParticleDefinition* theXiMinus; |
---|
106 | const G4ParticleDefinition* theXi0; |
---|
107 | const G4ParticleDefinition* theAXiMinus; |
---|
108 | const G4ParticleDefinition* theAXi0; |
---|
109 | const G4ParticleDefinition* theOmega; |
---|
110 | const G4ParticleDefinition* theAOmega; |
---|
111 | const G4ParticleDefinition* theD; |
---|
112 | const G4ParticleDefinition* theT; |
---|
113 | const G4ParticleDefinition* theA; |
---|
114 | const G4ParticleDefinition* theHe3; |
---|
115 | |
---|
116 | G4CrossSectionDataStore* store; |
---|
117 | G4Nucleus targetNucleus; |
---|
118 | G4PhysicsLinearVector* factors; |
---|
119 | |
---|
120 | G4double xsec[40]; |
---|
121 | G4double cross; |
---|
122 | G4double thEnergy; |
---|
123 | |
---|
124 | G4int pPDG; |
---|
125 | G4bool first; |
---|
126 | }; |
---|
127 | |
---|
128 | #endif |
---|