Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4GGNuclNuclCrossSection.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 // Calculation of the nucleus-nucleus total, inelastic, production,
27 // elastic and quasi-elastic cross-sections
28 // based on parametrisations of nucleon-nucleon
29 // cross-sections in
30 // the framework of simplified Glauber-Gribov approach
31 //
32 //
33 // 24.11.08 V. Grichine - first implementation based on G4GlauberGribovCrossSection
34 //
35 //
36 
37 #ifndef G4GGNuclNuclCrossSection_h
38 #define G4GGNuclNuclCrossSection_h
39 
40 #include "globals.hh"
41 #include "G4Proton.hh"
42 #include "G4Nucleus.hh"
43 #include "G4NistManager.hh"
44 
46 
48 class G4HadronNucleonXsc;
49 
51 {
52 public:
53 
55  virtual ~G4GGNuclNuclCrossSection ();
56 
57  static const char* Default_Name() {return "Glauber-Gribov nucleus nucleus";}
58 
59 
60  virtual
62  G4int Z, const G4Material*);
63 
64  virtual
66  G4int Z, const G4Material*);
67 
69  G4int Z, G4int A);
70 
72  G4double Z, G4double A, G4double pR, G4double tR);
73 
74  virtual
76  {}
77 
78  virtual
80  {G4cout << "G4NuclNuclCrossSection: uses Glauber-Gribov formula"<<G4endl;}
81 
82  virtual void CrossSectionDescription(std::ostream&) const;
83 
86 
89 
90 
93 
95  G4double CalculateEcmValue(const G4double, const G4double, const G4double);
96  G4double CalcMandelstamS( const G4double , const G4double , const G4double );
97 
100 
101  G4double GetTotalGlauberGribovXsc() { return fTotalXsc; };
102  G4double GetElasticGlauberGribovXsc() { return fElasticXsc; };
103  G4double GetInelasticGlauberGribovXsc(){ return fInelasticXsc; };
104  G4double GetProductionGlauberGribovXsc(){ return fProductionXsc; };
105  G4double GetDiffractionGlauberGribovXsc(){ return fDiffractionXsc; };
106  G4double GetRadiusConst() { return fRadiusConst; };
107 
109 
114 
115  inline void SetEnergyLowerLimit(G4double E ){fLowerLimit=E;};
116 
117 private:
118 
119  const G4double fUpperLimit;
120  G4double fLowerLimit;
121  const G4double fRadiusConst;
122 
123  G4double fTotalXsc, fElasticXsc, fInelasticXsc, fProductionXsc, fDiffractionXsc;
124  G4double fHadronNucleonXsc;
125 
126  G4ParticleDefinition* theProton;
127  G4ParticleDefinition* theNeutron;
128  G4HadronNucleonXsc* hnXsc;
129 };
130 
132 //
133 // Inlines
134 
135 inline G4double
137  G4int Z, G4int A)
138 {
139  GetZandACrossSection(dp, Z, A);
140  return fElasticXsc;
141 }
142 
144 
145 inline G4double
147  G4int Z, G4int A)
148 {
149  GetZandACrossSection(dp, Z, A);
150  return fInelasticXsc;
151 }
152 
153 #endif