Geant4_10
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 
59  // virtual interface methods
60 
61 virtual
63  G4double kinEnergy,
64  G4int Z, G4int A);
65 
66 virtual
68  G4double kinEnergy,
69  G4int Z, G4double A);
70 
71 virtual
73  G4double kinEnergy,
74  G4int Z, G4int A);
75 
76 virtual
78  G4double kinEnergy,
79  G4int Z, G4int A);
80 
81 virtual
83  G4double kinEnergy,
84  G4int Z, G4double A);
85 virtual
87  G4double kinEnergy,
88  G4int Z, G4double A);
89 
90 virtual
92  G4double kinEnergy,
93  G4int Z, G4double A);
94 
95 virtual
97  G4double kinEnergy,
98  G4int Z, G4int A);
99 
100 virtual
102  G4double kinEnergy,
103  G4int Z, G4int A);
104 
105 
106 
107  // virtual
109  const G4Element* elm = 0,
110  const G4Material* mat = 0);
111 
112  // virtual
114  const G4Isotope* iso = 0,
115  const G4Element* elm = 0,
116  const G4Material* mat = 0);
117 
120 
123 
129 
133 
134  G4double CalculateEcmValue ( const G4double , const G4double , const G4double );
135 
136  G4double CalcMandelstamS( const G4double , const G4double , const G4double );
137 
140 
141  virtual void CrossSectionDescription(std::ostream&) const;
142 
145 
146  inline G4double GetTotalGlauberGribovXsc() { return fTotalXsc; };
147  inline G4double GetElasticGlauberGribovXsc() { return fElasticXsc; };
148  inline G4double GetInelasticGlauberGribovXsc(){ return fInelasticXsc; };
149  inline G4double GetProductionGlauberGribovXsc(){ return fProductionXsc; };
150  inline G4double GetDiffractionGlauberGribovXsc(){ return fDiffractionXsc; };
151  inline G4double GetRadiusConst() { return fRadiusConst; };
152 
153  inline G4double GetParticleBarCorTot(const G4ParticleDefinition* theParticle, G4int Z);
154  inline G4double GetParticleBarCorIn(const G4ParticleDefinition* theParticle, G4int Z);
155 
156  inline void SetEnergyLowerLimit(G4double E ){fLowerLimit=E;};
157 
158 private:
159 
160 // const G4double fUpperLimit;
161  G4double fLowerLimit;
162  const G4double fRadiusConst;
163 
164  static const G4double fNeutronBarCorrectionTot[93];
165  static const G4double fNeutronBarCorrectionIn[93];
166 
167  static const G4double fProtonBarCorrectionTot[93];
168  static const G4double fProtonBarCorrectionIn[93];
169 
170  static const G4double fPionPlusBarCorrectionTot[93];
171  static const G4double fPionPlusBarCorrectionIn[93];
172 
173  static const G4double fPionMinusBarCorrectionTot[93];
174  static const G4double fPionMinusBarCorrectionIn[93];
175 
176  G4double fTotalXsc, fElasticXsc, fInelasticXsc, fProductionXsc, fDiffractionXsc;
177 // G4double fHadronNucleonXsc;
178 
179  G4ParticleDefinition* theGamma;
180  G4ParticleDefinition* theProton;
181  G4ParticleDefinition* theNeutron;
182  G4ParticleDefinition* theAProton;
183  G4ParticleDefinition* theANeutron;
184  G4ParticleDefinition* thePiPlus;
185  G4ParticleDefinition* thePiMinus;
186  G4ParticleDefinition* thePiZero;
187  G4ParticleDefinition* theKPlus;
188  G4ParticleDefinition* theKMinus;
189  G4ParticleDefinition* theK0S;
190  G4ParticleDefinition* theK0L;
191  G4ParticleDefinition* theL;
192  G4ParticleDefinition* theAntiL;
193  G4ParticleDefinition* theSPlus;
194  G4ParticleDefinition* theASPlus;
195  G4ParticleDefinition* theSMinus;
196  G4ParticleDefinition* theASMinus;
197  G4ParticleDefinition* theS0;
198  G4ParticleDefinition* theAS0;
199  G4ParticleDefinition* theXiMinus;
200  G4ParticleDefinition* theXi0;
201  G4ParticleDefinition* theAXiMinus;
202  G4ParticleDefinition* theAXi0;
203  G4ParticleDefinition* theOmega;
204  G4ParticleDefinition* theAOmega;
205  G4ParticleDefinition* theD;
206  G4ParticleDefinition* theT;
207  G4ParticleDefinition* theA;
208  G4ParticleDefinition* theHe3;
209 
210  G4HadronNucleonXsc* hnXsc;
211 
212 };
213 
215 //
216 // Inlines
217 
218 inline
219 G4double
221  G4int Z, G4int A)
222 {
223  GetIsoCrossSection(dp, Z, A);
224  return fElasticXsc;
225 }
226 
228 
229 inline
230 G4double
232  G4int Z, G4int A)
233 {
234  GetIsoCrossSection(dp, Z, A);
235  return fInelasticXsc;
236 }
237 
239 //
240 // return correction at Tkin = 90*GeV GG -> Barashenkov tot xsc, when it
241 // is available, else return 1.0
242 
243 
245  const G4ParticleDefinition* theParticle, G4int Z)
246 {
247  if(Z >= 2 && Z <= 92)
248  {
249  if( theParticle == theProton ) return fProtonBarCorrectionTot[Z];
250  else if( theParticle == theNeutron) return fNeutronBarCorrectionTot[Z];
251  else if( theParticle == thePiPlus ) return fPionPlusBarCorrectionTot[Z];
252  else if( theParticle == thePiMinus) return fPionMinusBarCorrectionTot[Z];
253  else return 1.0;
254  }
255  else return 1.0;
256 }
257 
259 //
260 // return correction at Tkin = 90*GeV GG -> Barashenkov in xsc, when it
261 // is available, else return 1.0
262 
263 
265  const G4ParticleDefinition* theParticle, G4int Z)
266 {
267  if(Z >= 2 && Z <= 92)
268  {
269  if( theParticle == theProton ) return fProtonBarCorrectionIn[Z];
270  else if( theParticle == theNeutron) return fNeutronBarCorrectionIn[Z];
271  else if( theParticle == thePiPlus ) return fPionPlusBarCorrectionIn[Z];
272  else if( theParticle == thePiMinus) return fPionMinusBarCorrectionIn[Z];
273  else return 1.0;
274  }
275  else return 1.0;
276 }
277 
278 #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)
Float_t mat
Definition: plot.C:40
virtual G4double GetInelasticIsotopeCrossSection(const G4ParticleDefinition *aParticle, G4double kinEnergy, G4int Z, G4int A)
G4double GetHadronNucleonXscNS(const G4DynamicParticle *, const G4Element *)
Float_t Z
Definition: plot.C:39
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)
G4double GetKaonNucleonXscVector(const G4DynamicParticle *, G4int At, G4int Zt)
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)