Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4BGGNucleonInelasticXS.hh
Go to the documentation of this file.
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: G4BGGNucleonInelasticXS.hh 93682 2015-10-28 10:09:49Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 //
33 // File name: G4BGGNucleonInelasticXS
34 //
35 // Author: Vladimir Ivanchenko
36 //
37 // Creation date: 13.03.2007
38 // Modifications:
39 //
40 //
41 // Class Description:
42 //
43 // Wrapper of proton and neutron inelastic cross-sections using Barashenkov
44 // parametersation below 100 GeV and Glauber-Gribov model above
45 //
46 // -------------------------------------------------------------------
47 //
48 
49 #ifndef G4BGGNucleonInelasticXS_h
50 #define G4BGGNucleonInelasticXS_h
51 
52 #include "globals.hh"
54 #include "G4ParticleDefinition.hh"
55 
58 class G4HadronNucleonXsc;
60 class G4Material;
61 class G4Element;
62 class G4Isotope;
63 
65 {
66 public:
67 
69 
70  virtual ~G4BGGNucleonInelasticXS();
71 
72  virtual
74  const G4Material* mat = 0);
75 
76  virtual
78  const G4Element* elm = 0,
79  const G4Material* mat = 0);
80 
81  virtual
83  const G4Material* mat = 0);
84 
85  virtual
87  const G4Isotope* iso = 0,
88  const G4Element* elm = 0,
89  const G4Material* mat = 0);
90 
91  virtual
93 
94  virtual void CrossSectionDescription(std::ostream&) const;
95 
96  inline void SetLowestCrossSection(G4double val);
97 
98 private:
99 
100  G4double CoulombFactor(G4double kinEnergy, G4int Z);
101 
102  G4BGGNucleonInelasticXS & operator=(const G4BGGNucleonInelasticXS &right);
104 
105  G4double fGlauberEnergy;
106  G4double fLowEnergy;
107  G4double fHighEnergy;
108  G4double fSAIDHighEnergyLimit;
109  G4double fLowestXSection;
110  G4double theGlauberFac[93];
111  G4double theCoulombFac[93];
112  G4int theA[93];
113 
114  const G4ParticleDefinition* particle;
115  const G4ParticleDefinition* theProton;
116 
119  G4HadronNucleonXsc* fHadron;
120  G4ComponentSAIDTotalXS* fSAID;
121  G4bool isProton;
122  G4bool isInitialized;
123 };
124 
126 {
127  fLowestXSection = val;
128 }
129 
130 #endif
int G4int
Definition: G4Types.hh:78
G4BGGNucleonInelasticXS(const G4ParticleDefinition *)
double A(double temperature)
virtual void CrossSectionDescription(std::ostream &) const
bool G4bool
Definition: G4Types.hh:79
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
double G4double
Definition: G4Types.hh:76
void SetLowestCrossSection(G4double val)
virtual G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)