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: G4QHadronInelasticDataSet.hh,v 1.2 2010/01/22 17:02:49 mkossov Exp $ |
---|
27 | // GEANT4 tag $Name: hadr-chips-V09-03-08 $ |
---|
28 | // |
---|
29 | // GEANT4 physics class: G4QHadronInelasticDataSet -- header file |
---|
30 | // Created by M. Kosov (Mikhail.Kossov@cern.ch) 11.11.09 |
---|
31 | // |
---|
32 | // ------------------------------------------------------------------------ |
---|
33 | // Short description: G4hadr wrapper for CHIPS inelastic hA cross-sections. |
---|
34 | // ------------------------------------------------------------------------ |
---|
35 | |
---|
36 | #ifndef G4QHadronInelasticDataSet_h |
---|
37 | #define G4QHadronInelasticDataSet_h 1 |
---|
38 | |
---|
39 | #include "G4VCrossSectionDataSet.hh" |
---|
40 | #include "G4DynamicParticle.hh" |
---|
41 | #include "G4Element.hh" |
---|
42 | #include "G4Neutron.hh" |
---|
43 | #include "G4Proton.hh" |
---|
44 | #include "G4PionMinus.hh" |
---|
45 | #include "G4PionPlus.hh" |
---|
46 | #include "G4KaonPlus.hh" |
---|
47 | #include "G4KaonMinus.hh" |
---|
48 | #include "G4KaonZeroLong.hh" |
---|
49 | #include "G4KaonZeroShort.hh" |
---|
50 | #include "G4Lambda.hh" |
---|
51 | #include "G4SigmaPlus.hh" |
---|
52 | #include "G4SigmaMinus.hh" |
---|
53 | #include "G4SigmaZero.hh" |
---|
54 | #include "G4XiMinus.hh" |
---|
55 | #include "G4XiZero.hh" |
---|
56 | #include "G4OmegaMinus.hh" |
---|
57 | #include "G4AntiNeutron.hh" |
---|
58 | #include "G4AntiProton.hh" |
---|
59 | #include "G4AntiLambda.hh" |
---|
60 | #include "G4AntiSigmaPlus.hh" |
---|
61 | #include "G4AntiSigmaMinus.hh" |
---|
62 | #include "G4AntiSigmaZero.hh" |
---|
63 | #include "G4AntiXiMinus.hh" |
---|
64 | #include "G4AntiXiZero.hh" |
---|
65 | #include "G4AntiOmegaMinus.hh" |
---|
66 | //#include "G4Gamma.hh" |
---|
67 | //#include "G4MuonPlus.hh" |
---|
68 | //#include "G4MuonMinus.hh" |
---|
69 | //#include "G4Electron.hh" |
---|
70 | //#include "G4Positron.hh" |
---|
71 | //#include "G4TauPlus.hh" |
---|
72 | //#include "G4TauMinus.hh" |
---|
73 | //#include "G4AntiNeutrinoE.hh" |
---|
74 | //#include "G4NeutrinoE.hh" |
---|
75 | //#include "G4AntiNeutrinoMu.hh" |
---|
76 | //#include "G4NeutrinoMu.hh" |
---|
77 | //#include "G4AntiNeutrinoTau.hh" |
---|
78 | //#include "G4NeutrinoTau.hh" |
---|
79 | |
---|
80 | #include "G4QIsotope.hh" |
---|
81 | #include "G4QProtonNuclearCrossSection.hh" |
---|
82 | #include "G4QNeutronNuclearCrossSection.hh" |
---|
83 | #include "G4QPionMinusNuclearCrossSection.hh" |
---|
84 | #include "G4QPionPlusNuclearCrossSection.hh" |
---|
85 | #include "G4QKaonPlusNuclearCrossSection.hh" |
---|
86 | #include "G4QKaonMinusNuclearCrossSection.hh" |
---|
87 | #include "G4QKaonZeroNuclearCrossSection.hh" |
---|
88 | #include "G4QHyperonNuclearCrossSection.hh" |
---|
89 | #include "G4QHyperonPlusNuclearCrossSection.hh" |
---|
90 | #include "G4QAntiBaryonPlusNuclearCrossSection.hh" |
---|
91 | #include "G4QAntiBaryonNuclearCrossSection.hh" |
---|
92 | //#include "G4QPhotonNuclearCrossSection.hh" |
---|
93 | //#include "G4QElectronNuclearCrossSection.hh" |
---|
94 | //#include "G4QMuonNuclearCrossSection.hh" |
---|
95 | //#include "G4QTauNuclearCrossSection.hh" |
---|
96 | //#include "G4QNuMuNuclearCrossSection.hh" |
---|
97 | //#include "G4QANuMuNuclearCrossSection.hh" |
---|
98 | //#include "G4QNuENuclearCrossSection.hh" |
---|
99 | //#include "G4QANuENuclearCrossSection.hh" |
---|
100 | //#include "G4QNuNuNuclearCrossSection.hh" |
---|
101 | //#include "G4QANuANuNuclearCrossSection.hh" |
---|
102 | |
---|
103 | |
---|
104 | class G4QHadronInelasticDataSet : public G4VCrossSectionDataSet |
---|
105 | { |
---|
106 | public: |
---|
107 | |
---|
108 | G4QHadronInelasticDataSet(); |
---|
109 | ~G4QHadronInelasticDataSet() {} |
---|
110 | G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* anElement); |
---|
111 | G4bool IsZAApplicable(const G4DynamicParticle* aParticle, G4double Z, G4double A); |
---|
112 | G4double GetCrossSection(const G4DynamicParticle* Part, const G4Element* El, G4double T); |
---|
113 | G4double GetIsoZACrossSection(const G4DynamicParticle* P,G4double Z,G4double A,G4double); |
---|
114 | void BuildPhysicsTable(const G4ParticleDefinition&){} |
---|
115 | void DumpPhysicsTable(const G4ParticleDefinition&) {} |
---|
116 | |
---|
117 | private: |
---|
118 | |
---|
119 | G4QIsotope* Isotopes; // Pointer to the G4QIsotopes singleton |
---|
120 | static std::vector <G4int> ElementZ; // Z of the element(i) in theLastCalc |
---|
121 | static std::vector <std::vector<G4int>*> ElIsoN; // N of isotope(j) of Element(i) |
---|
122 | static std::vector <std::vector<G4double>*> IsoProbInEl;// SumProbabIsotopes in Element i |
---|
123 | }; |
---|
124 | |
---|
125 | #endif |
---|