Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4BGGNucleonElasticXS.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 // $Id: G4BGGNucleonElasticXS.hh 76889 2013-11-18 13:01:55Z gcosmo $
27 //
28 // -------------------------------------------------------------------
29 //
30 // GEANT4 Class header file
31 //
32 //
33 // File name: G4BGGNucleonElasticXS
34 //
35 // Author: Vladimir Ivanchenko
36 //
37 // Creation date: 13.03.2007
38 // Modifications:
39 //
40 //
41 // Class Description:
42 //
43 // Wrapper of proton and neutron elastic cross-sections using Barashenkov
44 // parametersation below 100 GeV and Glauber-Gribov model above
45 //
46 // -------------------------------------------------------------------
47 //
48 
49 #ifndef G4BGGNucleonElasticXS_h
50 #define G4BGGNucleonElasticXS_h 1
51 
52 #include "globals.hh"
54 #include "G4ParticleDefinition.hh"
55 #include "G4Element.hh"
56 
59 class G4HadronNucleonXsc;
61 class G4Material;
62 class G4Element;
63 class G4Isotope;
64 
66 {
67 public:
68 
70 
71  virtual ~G4BGGNucleonElasticXS();
72 
73  virtual
75  const G4Material* mat = 0);
76 
77  virtual
79  const G4Element* elm = 0,
80  const G4Material* mat = 0);
81 
82  virtual
84  const G4Material* mat = 0);
85 
86  virtual
88  const G4Isotope* iso = 0,
89  const G4Element* elm = 0,
90  const G4Material* mat = 0);
91 
92  virtual
94 
95  virtual void CrossSectionDescription(std::ostream&) const;
96 
97  inline void SetLowestCrossSection(G4double val);
98 
99 private:
100 
101  G4double CoulombFactor(G4double kinEnergy, G4int Z);
102 
105 
106  G4double fGlauberEnergy;
107  G4double fPDGEnergy;
108  G4double fLowEnergy;
109  G4double fSAIDLowEnergyLimit;
110  G4double fSAIDHighEnergyLimit;
111  G4double fLowestXSection;
112  G4double theGlauberFac[93];
113  G4double theCoulombFac[93];
114  G4int theA[93];
115 
116  const G4ParticleDefinition* particle;
117  const G4ParticleDefinition* theProton;
118  G4GlauberGribovCrossSection* fGlauber;
120  G4HadronNucleonXsc* fHadron;
121  G4ComponentSAIDTotalXS* fSAID;
122  G4bool isProton;
123  G4bool isInitialized;
124 };
125 
127 {
128  fLowestXSection = val;
129 }
130 
131 #endif
void SetLowestCrossSection(G4double val)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
int G4int
Definition: G4Types.hh:78
virtual G4double GetIsoCrossSection(const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *iso=0, const G4Element *elm=0, const G4Material *mat=0)
bool G4bool
Definition: G4Types.hh:79
G4BGGNucleonElasticXS(const G4ParticleDefinition *)
virtual G4bool IsElementApplicable(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual G4double GetElementCrossSection(const G4DynamicParticle *, G4int Z, const G4Material *mat=0)
virtual G4bool IsIsoApplicable(const G4DynamicParticle *, G4int Z, G4int A, const G4Element *elm=0, const G4Material *mat=0)
virtual void CrossSectionDescription(std::ostream &) const
double G4double
Definition: G4Types.hh:76