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: G4QHadronElasticDataSet.hh,v 1.2 2010/02/16 07:53:05 mkossov Exp $ |
---|
27 | // GEANT4 tag $Name: geant4-09-04-beta-01 $ |
---|
28 | // |
---|
29 | // GEANT4 physics class: G4QHadronElasticDataSet -- header file |
---|
30 | // Created by M. Kosov (Mikhail.Kossov@cern.ch) 21.01.10 |
---|
31 | // |
---|
32 | // ---------------------------------------------------------------------- |
---|
33 | // Short description: G4hadr wrapper for CHIPS elastic hA cross-sections. |
---|
34 | // ---------------------------------------------------------------------- |
---|
35 | |
---|
36 | #ifndef G4QHadronElasticDataSet_h |
---|
37 | #define G4QHadronElasticDataSet_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 | |
---|
67 | #include "G4QIsotope.hh" |
---|
68 | #include "G4QProtonElasticCrossSection.hh" |
---|
69 | #include "G4QNeutronElasticCrossSection.hh" |
---|
70 | #include "G4QPionMinusElasticCrossSection.hh" |
---|
71 | #include "G4QPionPlusElasticCrossSection.hh" |
---|
72 | #include "G4QKaonPlusElasticCrossSection.hh" |
---|
73 | #include "G4QKaonMinusElasticCrossSection.hh" |
---|
74 | #include "G4QHyperonElasticCrossSection.hh" |
---|
75 | #include "G4QHyperonPlusElasticCrossSection.hh" |
---|
76 | #include "G4QAntiBaryonElasticCrossSection.hh" |
---|
77 | |
---|
78 | |
---|
79 | class G4QHadronElasticDataSet : public G4VCrossSectionDataSet |
---|
80 | { |
---|
81 | public: |
---|
82 | |
---|
83 | G4QHadronElasticDataSet(); |
---|
84 | ~G4QHadronElasticDataSet() {} |
---|
85 | G4bool IsApplicable(const G4DynamicParticle* aParticle, const G4Element* anElement); |
---|
86 | G4bool IsZAApplicable(const G4DynamicParticle* aParticle, G4double Z, G4double A); |
---|
87 | G4double GetCrossSection(const G4DynamicParticle* Part, const G4Element* El, G4double T); |
---|
88 | G4double GetIsoZACrossSection(const G4DynamicParticle* P,G4double Z,G4double A,G4double); |
---|
89 | void BuildPhysicsTable(const G4ParticleDefinition&){} |
---|
90 | void DumpPhysicsTable(const G4ParticleDefinition&) {} |
---|
91 | |
---|
92 | private: |
---|
93 | |
---|
94 | G4QIsotope* Isotopes; // Pointer to the G4QIsotopes singleton |
---|
95 | static std::vector <G4int> ElementZ; // Z of the element(i) in theLastCalc |
---|
96 | static std::vector <std::vector<G4int>*> ElIsoN; // N of isotope(j) of Element(i) |
---|
97 | static std::vector <std::vector<G4double>*> IsoProbInEl;// SumProbabIsotopes in Element i |
---|
98 | }; |
---|
99 | |
---|
100 | #endif |
---|