Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  G4double GetAxsc2piR2(){return fAxsc2piR2;};
144  G4double GetModelInLog(){return fModelInLog;};
145 
146  virtual void CrossSectionDescription(std::ostream&) const;
147 
150 
151  inline G4double GetTotalGlauberGribovXsc() { return fTotalXsc; };
152  inline G4double GetElasticGlauberGribovXsc() { return fElasticXsc; };
153  inline G4double GetInelasticGlauberGribovXsc(){ return fInelasticXsc; };
154  inline G4double GetProductionGlauberGribovXsc(){ return fProductionXsc; };
155  inline G4double GetDiffractionGlauberGribovXsc(){ return fDiffractionXsc; };
156  inline G4double GetRadiusConst() { return fRadiusConst; };
157 
158  inline G4double GetParticleBarCorTot(const G4ParticleDefinition* theParticle, G4int Z);
159  inline G4double GetParticleBarCorIn(const G4ParticleDefinition* theParticle, G4int Z);
160 
161  inline void SetEnergyLowerLimit(G4double E ){fLowerLimit=E;};
162 
163 private:
164 
165 // const G4double fUpperLimit;
166  G4double fLowerLimit;
167  const G4double fRadiusConst;
168 
169  static const G4double fNeutronBarCorrectionTot[93];
170  static const G4double fNeutronBarCorrectionIn[93];
171 
172  static const G4double fProtonBarCorrectionTot[93];
173  static const G4double fProtonBarCorrectionIn[93];
174 
175  static const G4double fPionPlusBarCorrectionTot[93];
176  static const G4double fPionPlusBarCorrectionIn[93];
177 
178  static const G4double fPionMinusBarCorrectionTot[93];
179  static const G4double fPionMinusBarCorrectionIn[93];
180 
181  G4double fTotalXsc, fElasticXsc, fInelasticXsc, fProductionXsc, fDiffractionXsc;
182  G4double fAxsc2piR2, fModelInLog;
183 // G4double fHadronNucleonXsc;
184 
185  G4ParticleDefinition* theGamma;
186  G4ParticleDefinition* theProton;
187  G4ParticleDefinition* theNeutron;
188  G4ParticleDefinition* theAProton;
189  G4ParticleDefinition* theANeutron;
190  G4ParticleDefinition* thePiPlus;
191  G4ParticleDefinition* thePiMinus;
192  G4ParticleDefinition* thePiZero;
193  G4ParticleDefinition* theKPlus;
194  G4ParticleDefinition* theKMinus;
195  G4ParticleDefinition* theK0S;
196  G4ParticleDefinition* theK0L;
197  G4ParticleDefinition* theL;
198  G4ParticleDefinition* theAntiL;
199  G4ParticleDefinition* theSPlus;
200  G4ParticleDefinition* theASPlus;
201  G4ParticleDefinition* theSMinus;
202  G4ParticleDefinition* theASMinus;
203  G4ParticleDefinition* theS0;
204  G4ParticleDefinition* theAS0;
205  G4ParticleDefinition* theXiMinus;
206  G4ParticleDefinition* theXi0;
207  G4ParticleDefinition* theAXiMinus;
208  G4ParticleDefinition* theAXi0;
209  G4ParticleDefinition* theOmega;
210  G4ParticleDefinition* theAOmega;
211  G4ParticleDefinition* theD;
212  G4ParticleDefinition* theT;
213  G4ParticleDefinition* theA;
214  G4ParticleDefinition* theHe3;
215 
216  G4HadronNucleonXsc* hnXsc;
217 
218 };
219 
221 //
222 // Inlines
223 
224 inline
225 G4double
227  G4int Z, G4int A)
228 {
229  GetIsoCrossSection(dp, Z, A);
230  return fElasticXsc;
231 }
232 
234 
235 inline
236 G4double
238  G4int Z, G4int A)
239 {
240  GetIsoCrossSection(dp, Z, A);
241  return fInelasticXsc;
242 }
243 
245 //
246 // return correction at Tkin = 90*GeV GG -> Barashenkov tot xsc, when it
247 // is available, else return 1.0
248 
249 
251  const G4ParticleDefinition* theParticle, G4int Z)
252 {
253  if(Z >= 2 && Z <= 92)
254  {
255  if( theParticle == theProton ) return fProtonBarCorrectionTot[Z];
256  else if( theParticle == theNeutron) return fNeutronBarCorrectionTot[Z];
257  else if( theParticle == thePiPlus ) return fPionPlusBarCorrectionTot[Z];
258  else if( theParticle == thePiMinus) return fPionMinusBarCorrectionTot[Z];
259  else return 1.0;
260  }
261  else return 1.0;
262 }
263 
265 //
266 // return correction at Tkin = 90*GeV GG -> Barashenkov in xsc, when it
267 // is available, else return 1.0
268 
269 
271  const G4ParticleDefinition* theParticle, G4int Z)
272 {
273  if(Z >= 2 && Z <= 92)
274  {
275  if( theParticle == theProton ) return fProtonBarCorrectionIn[Z];
276  else if( theParticle == theNeutron) return fNeutronBarCorrectionIn[Z];
277  else if( theParticle == thePiPlus ) return fPionPlusBarCorrectionIn[Z];
278  else if( theParticle == thePiMinus) return fPionMinusBarCorrectionIn[Z];
279  else return 1.0;
280  }
281  else return 1.0;
282 }
283 
284 #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)
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
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)
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)
virtual G4double GetElasticElementCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4double A)
virtual G4double ComputeQuasiElasticRatio(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)
G4double GetParticleBarCorTot(const G4ParticleDefinition *theParticle, G4int Z)
virtual G4double GetProductionIsotopeCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)