source: trunk/source/processes/hadronic/cross_sections/include/G4GGNuclNuclCrossSection.hh @ 1315

Last change on this file since 1315 was 1228, checked in by garnier, 14 years ago

update geant4.9.3 tag

File size: 5.8 KB
Line 
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//
34//
35//
36// 24.11.08 V. Grichine - first implementation based on G4GlauberGribovCrossSection
37//
38//
39
40#ifndef G4GGNuclNuclCrossSection_h
41#define G4GGNuclNuclCrossSection_h
42
43#include "globals.hh"
44#include "G4Proton.hh"
45#include "G4Nucleus.hh"
46
47#include "G4VCrossSectionDataSet.hh"
48
49class G4ParticleDefinition;
50
51class G4GGNuclNuclCrossSection : public G4VCrossSectionDataSet
52{
53public:
54
55  G4GGNuclNuclCrossSection ();
56  virtual ~G4GGNuclNuclCrossSection ();
57   
58  virtual
59  G4bool IsApplicable(const G4DynamicParticle* aDP, const G4Element*);
60
61  virtual
62  G4bool IsZAApplicable(const G4DynamicParticle* aDP, G4double Z, G4double A);
63
64  virtual
65  G4double GetCrossSection(const G4DynamicParticle*, 
66                           const G4Element*, 
67                           G4double aTemperature = 0.0);
68
69  virtual
70  G4double GetIsoZACrossSection(const G4DynamicParticle*, 
71                                G4double Z, G4double A, 
72                                G4double aTemperature = 0.0);
73
74  G4double GetCoulombBarier(const G4DynamicParticle*, 
75                                G4double Z, G4double A, G4double pR, G4double tR);
76
77  virtual
78  void BuildPhysicsTable(const G4ParticleDefinition&)
79  {}
80
81  virtual
82  void DumpPhysicsTable(const G4ParticleDefinition&) 
83  {G4cout << "G4NuclNuclCrossSection: uses Glauber-Gribov formula"<<G4endl;}
84
85  G4double GetRatioSD(const G4DynamicParticle*, G4double At, G4double Zt);
86  G4double GetRatioQE(const G4DynamicParticle*, G4double At, G4double Zt);
87
88  G4double GetHadronNucleonXsc(const G4DynamicParticle*, const G4Element*);
89  G4double GetHadronNucleonXsc(const G4DynamicParticle*, G4double At, G4double Zt);
90
91  G4double GetHadronNucleonXscPDG(const G4DynamicParticle*, const G4Element*);
92  G4double GetHadronNucleonXscPDG(const G4DynamicParticle*, G4double At, G4double Zt);
93
94  // G4double GetHadronNucleonXscNS(const G4DynamicParticle*, const G4Element*);
95  // G4double GetHadronNucleonXscNS(const G4DynamicParticle*,G4double At, G4double Zt);
96
97  G4double GetHadronNucleonXscNS(G4ParticleDefinition*,G4double pTkin, G4ParticleDefinition*);
98
99  // G4double GetHNinelasticXsc(const G4DynamicParticle*, const G4Element*);
100  // G4double GetHNinelasticXsc(const G4DynamicParticle*, G4double At, G4double Zt);
101
102  G4double GetHNinelasticXscVU(const G4DynamicParticle*, G4double At, G4double Zt);
103
104  G4double CalculateEcmValue ( const G4double , const G4double , const G4double ); 
105
106  G4double CalcMandelstamS( const G4double , const G4double , const G4double );
107
108  G4double GetElasticGlauberGribov(const G4DynamicParticle*,G4double Z, G4double A);
109  G4double GetInelasticGlauberGribov(const G4DynamicParticle*,G4double Z, G4double A);
110
111  G4double GetTotalGlauberGribovXsc()    { return fTotalXsc;     }; 
112  G4double GetElasticGlauberGribovXsc()  { return fElasticXsc;   }; 
113  G4double GetInelasticGlauberGribovXsc(){ return fInelasticXsc; }; 
114  G4double GetProductionGlauberGribovXsc(){ return fProductionXsc; }; 
115  G4double GetDiffractionGlauberGribovXsc(){ return fDiffractionXsc; }; 
116  G4double GetRadiusConst()              { return fRadiusConst;  }; 
117
118  G4double GetNucleusRadius(const G4DynamicParticle*, const G4Element*);
119
120
121  G4double GetNucleusRadius(G4double At);
122  G4double GetNucleusRadiusGG(G4double At);
123  G4double GetNucleusRadiusDE(G4double At);
124
125
126  inline void SetEnergyLowerLimit(G4double E ){fLowerLimit=E;};
127
128private:
129
130  const G4double fUpperLimit;
131  G4double fLowerLimit; 
132  const G4double fRadiusConst;
133 
134  G4double fTotalXsc, fElasticXsc, fInelasticXsc, fProductionXsc, fDiffractionXsc;
135  G4double fHadronNucleonXsc;
136 
137  G4ParticleDefinition* theProton;
138  G4ParticleDefinition* theNeutron;
139
140};
141
142////////////////////////////////////////////////////////////////
143//
144// Inlines
145
146inline
147G4double G4GGNuclNuclCrossSection::GetElasticGlauberGribov(
148         const G4DynamicParticle* dp, G4double Z, G4double A)
149{
150  GetIsoZACrossSection(dp, Z, A);
151  return fElasticXsc;
152}
153
154/////////////////////////////////////////////////////////////////
155
156inline
157G4double G4GGNuclNuclCrossSection::GetInelasticGlauberGribov(
158         const G4DynamicParticle* dp, G4double Z, G4double A)
159{
160  GetIsoZACrossSection(dp, Z, A);
161  return fInelasticXsc;
162}
163
164
165
166#endif
Note: See TracBrowser for help on using the repository browser.