Geant4  10.02
G4ComponentGGHadronNucleusXsc.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 total, elastic and inelastic cross-sections
27 // based on parametrisations of (proton, pion, kaon, photon) nucleon
28 // cross-sections and the hadron-nucleous cross-section model in
29 // the framework of Glauber-Gribov approach
30 //
31 //
32 //
33 //
34 //
35 // 25.04.12 V. Grichine - first implementation based on G4GlauberGribovCrossSection old interface
36 //
37 //
38 
39 #ifndef G4ComponentGGHadronNucleusXsc_h
40 #define G4ComponentGGHadronNucleusXsc_h 1
41 
42 #include "globals.hh"
43 #include "G4Proton.hh"
44 #include "G4Nucleus.hh"
45 
47 
49 class G4HadronNucleonXsc;
50 
52 {
53 public:
54 
57 
58  static const char* Default_Name() { return "Glauber-Gribov"; }
59 
60  // virtual interface methods
61 
62 virtual
64  G4double kinEnergy,
65  G4int Z, G4int A);
66 
67 virtual
69  G4double kinEnergy,
70  G4int Z, G4double A);
71 
72 virtual
74  G4double kinEnergy,
75  G4int Z, G4int A);
76 
77 virtual
79  G4double kinEnergy,
80  G4int Z, G4int A);
81 
82 virtual
84  G4double kinEnergy,
85  G4int Z, G4double A);
86 virtual
88  G4double kinEnergy,
89  G4int Z, G4double A);
90 
91 virtual
93  G4double kinEnergy,
94  G4int Z, G4double A);
95 
96 virtual
98  G4double kinEnergy,
99  G4int Z, G4int A);
100 
101 virtual
103  G4double kinEnergy,
104  G4int Z, G4int A);
105 
106 
107 
108  // virtual
110  const G4Element* elm = 0,
111  const G4Material* mat = 0);
112 
113  // virtual
115  const G4Isotope* iso = 0,
116  const G4Element* elm = 0,
117  const G4Material* mat = 0);
118 
121 
124 
129 
130  // G4double GetKaonNucleonXscVector(const G4DynamicParticle*, G4int At, G4int Zt);
131 
135 
136  G4double CalculateEcmValue ( const G4double , const G4double , const G4double );
137 
138  G4double CalcMandelstamS( const G4double , const G4double , const G4double );
139 
142 
143  virtual void CrossSectionDescription(std::ostream&) const;
144 
147 
153  inline G4double GetRadiusConst() { return fRadiusConst; };
154 
155  inline G4double GetParticleBarCorTot(const G4ParticleDefinition* theParticle, G4int Z);
156  inline G4double GetParticleBarCorIn(const G4ParticleDefinition* theParticle, G4int Z);
157 
159 
160 private:
161 
162 // const G4double fUpperLimit;
165 
168 
171 
174 
177 
179 // G4double fHadronNucleonXsc;
180 
211 
213 
214 };
215 
217 //
218 // Inlines
219 
220 inline
221 G4double
223  G4int Z, G4int A)
224 {
225  GetIsoCrossSection(dp, Z, A);
226  return fElasticXsc;
227 }
228 
230 
231 inline
232 G4double
234  G4int Z, G4int A)
235 {
236  GetIsoCrossSection(dp, Z, A);
237  return fInelasticXsc;
238 }
239 
241 //
242 // return correction at Tkin = 90*GeV GG -> Barashenkov tot xsc, when it
243 // is available, else return 1.0
244 
245 
247  const G4ParticleDefinition* theParticle, G4int Z)
248 {
249  if(Z >= 2 && Z <= 92)
250  {
251  if( theParticle == theProton ) return fProtonBarCorrectionTot[Z];
252  else if( theParticle == theNeutron) return fNeutronBarCorrectionTot[Z];
253  else if( theParticle == thePiPlus ) return fPionPlusBarCorrectionTot[Z];
254  else if( theParticle == thePiMinus) return fPionMinusBarCorrectionTot[Z];
255  else return 1.0;
256  }
257  else return 1.0;
258 }
259 
261 //
262 // return correction at Tkin = 90*GeV GG -> Barashenkov in xsc, when it
263 // is available, else return 1.0
264 
265 
267  const G4ParticleDefinition* theParticle, G4int Z)
268 {
269  if(Z >= 2 && Z <= 92)
270  {
271  if( theParticle == theProton ) return fProtonBarCorrectionIn[Z];
272  else if( theParticle == theNeutron) return fNeutronBarCorrectionIn[Z];
273  else if( theParticle == thePiPlus ) return fPionPlusBarCorrectionIn[Z];
274  else if( theParticle == thePiMinus) return fPionMinusBarCorrectionIn[Z];
275  else return 1.0;
276  }
277  else return 1.0;
278 }
279 
280 #endif
G4double GetRatioQE(const G4DynamicParticle *, G4int At, G4int Zt)
G4double GetNucleusRadius(const G4DynamicParticle *, const G4Element *)
G4double GetHadronNucleonXscPDG(const G4DynamicParticle *, const G4Element *)
virtual G4double GetProductionElementCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4double A)
G4double CalcMandelstamS(const G4double, const G4double, const G4double)
G4double GetRatioSD(const G4DynamicParticle *, G4int At, G4int Zt)
static const G4double fNeutronBarCorrectionIn[93]
static const G4double fPionMinusBarCorrectionTot[93]
int G4int
Definition: G4Types.hh:78
G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
G4double GetHNinelasticXscVU(const G4DynamicParticle *, G4int At, G4int Zt)
virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)
double A(double temperature)
G4double GetHadronNucleonXscNS(const G4DynamicParticle *, const G4Element *)
bool G4bool
Definition: G4Types.hh:79
virtual G4double GetInelasticElementCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4double A)
G4double GetHadronNucleonXsc(const G4DynamicParticle *, const G4Element *)
G4double GetHNinelasticXsc(const G4DynamicParticle *, const G4Element *)
G4double GetElasticGlauberGribov(const G4DynamicParticle *, G4int Z, G4int A)
G4double GetParticleBarCorIn(const G4ParticleDefinition *theParticle, G4int Z)
virtual void CrossSectionDescription(std::ostream &) const
static const G4double fPionPlusBarCorrectionTot[93]
static const G4double fProtonBarCorrectionTot[93]
virtual G4double GetTotalIsotopeCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)
virtual G4double GetElasticIsotopeCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)
G4double CalculateEcmValue(const G4double, const G4double, const G4double)
static const G4double fPionPlusBarCorrectionIn[93]
G4bool IsIsoApplicable(const G4DynamicParticle *aDP, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
G4double GetInelasticGlauberGribov(const G4DynamicParticle *, G4int Z, G4int A)
double G4double
Definition: G4Types.hh:76
virtual G4double GetTotalElementCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4double A)
static const G4double fProtonBarCorrectionIn[93]
virtual G4double GetElasticElementCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4double A)
static const G4double fPionMinusBarCorrectionIn[93]
virtual G4double ComputeQuasiElasticRatio(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)
G4double GetParticleBarCorTot(const G4ParticleDefinition *theParticle, G4int Z)
static const G4double fNeutronBarCorrectionTot[93]
virtual G4double GetProductionIsotopeCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)