Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HadronNucleonXsc.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 // 14.03.07 V. Grichine - first implementation
34 // 04.11.11 V. Grichine - update for kaon-(p,n) xsc, vector spline
35 // 21.02.12 V. Grichine - update for pion-(p,n) xsc, NS fit++, vector spline
36 //
37 //
38 
39 #ifndef G4HadronNucleonXsc_h
40 #define G4HadronNucleonXsc_h
41 
42 #include "globals.hh"
43 #include "G4Proton.hh"
44 #include "G4Nucleus.hh"
45 #include "G4LPhysicsFreeVector.hh"
46 
47 
49 class G4DynamicParticle;
50 
52 {
53 public:
54 
56  virtual ~G4HadronNucleonXsc ();
57 
58  virtual
59  G4bool IsApplicable(const G4DynamicParticle* aDP, const G4Element*);
60 
61  virtual
63 
64  virtual
66  {G4cout << "G4HadronNucleonXsc: uses parametrisation"<<G4endl;}
67 
68  void CrossSectionDescription(std::ostream&) const;
69 
70  // Xsc parametrisations
71 
73 
75 
77 
79 
81 
82  // kinematics and set/get
83 
84  G4double CalculateEcmValue ( const G4double , const G4double , const G4double );
85 
86  G4double CalcMandelstamS( const G4double , const G4double , const G4double );
87 
89 
90  G4double GetTotalHadronNucleonXsc() { return fTotalXsc; };
91  G4double GetElasticHadronNucleonXsc() { return fElasticXsc; };
92  G4double GetInelasticHadronNucleonXsc(){ return fInelasticXsc; };
93 
94  /*
95  void InitialiseKaonNucleonTotXsc();
96  G4double GetKpProtonTotXscVector(G4double logEnergy){ return fKpProtonTotXscVector.Value(logEnergy); };
97  G4double GetKpNeutronTotXscVector(G4double logEnergy){ return fKpNeutronTotXscVector.Value(logEnergy); };
98  G4double GetKmProtonTotXscVector(G4double logEnergy){ return fKmProtonTotXscVector.Value(logEnergy); };
99  G4double GetKmNeutronTotXscVector(G4double logEnergy){ return fKmNeutronTotXscVector.Value(logEnergy); };
100  */
101 
102 private:
103 
104 // const G4double fUpperLimit;
105  const G4double fLowerLimit;
106 
107  G4double fTotalXsc, fElasticXsc, fInelasticXsc;
108 // G4double fHadronNucleonXsc;
109  /*
110  // K-nucleon tot xsc (mb) fit data, std::log(Tkin(MeV))
111 
112  static const G4double fKpProtonTotXsc[66];
113  static const G4double fKpProtonTotTkin[66];
114 
115  static const G4double fKpNeutronTotXsc[75];
116  static const G4double fKpNeutronTotTkin[75];
117 
118  static const G4double fKmProtonTotXsc[106];
119  static const G4double fKmProtonTotTkin[106];
120 
121  static const G4double fKmNeutronTotXsc[68];
122  static const G4double fKmNeutronTotTkin[68];
123 
124  G4LPhysicsFreeVector fKpProtonTotXscVector;
125  G4LPhysicsFreeVector fKpNeutronTotXscVector;
126  G4LPhysicsFreeVector fKmProtonTotXscVector;
127  G4LPhysicsFreeVector fKmNeutronTotXscVector;
128  */
129  G4ParticleDefinition* theGamma;
130  G4ParticleDefinition* theProton;
131  G4ParticleDefinition* theNeutron;
132  G4ParticleDefinition* theAProton;
133  G4ParticleDefinition* theANeutron;
134  G4ParticleDefinition* thePiPlus;
135  G4ParticleDefinition* thePiMinus;
136  G4ParticleDefinition* thePiZero;
137  G4ParticleDefinition* theKPlus;
138  G4ParticleDefinition* theKMinus;
139  G4ParticleDefinition* theK0S;
140  G4ParticleDefinition* theK0L;
141  G4ParticleDefinition* theL;
142  G4ParticleDefinition* theAntiL;
143  G4ParticleDefinition* theSPlus;
144  G4ParticleDefinition* theASPlus;
145  G4ParticleDefinition* theSMinus;
146  G4ParticleDefinition* theASMinus;
147  G4ParticleDefinition* theS0;
148  G4ParticleDefinition* theAS0;
149  G4ParticleDefinition* theXiMinus;
150  G4ParticleDefinition* theXi0;
151  G4ParticleDefinition* theAXiMinus;
152  G4ParticleDefinition* theAXi0;
153  G4ParticleDefinition* theOmega;
154  G4ParticleDefinition* theAOmega;
155  G4ParticleDefinition* theD;
156  G4ParticleDefinition* theT;
157  G4ParticleDefinition* theA;
158  G4ParticleDefinition* theHe3;
159 
160 };
161 
162 
163 #endif
G4double GetElasticHadronNucleonXsc()
G4double GetCoulombBarrier(const G4DynamicParticle *aParticle, const G4ParticleDefinition *nucleon)
virtual void DumpPhysicsTable(const G4ParticleDefinition &)
int G4int
Definition: G4Types.hh:78
G4double GetHadronNucleonXscNS(const G4DynamicParticle *, const G4ParticleDefinition *)
G4GLOB_DLL std::ostream G4cout
double A(double temperature)
G4double GetKaonNucleonXscGG(const G4DynamicParticle *, const G4ParticleDefinition *)
G4bool nucleon(G4int ityp)
bool G4bool
Definition: G4Types.hh:79
G4double CalculateEcmValue(const G4double, const G4double, const G4double)
virtual G4bool IsIsoApplicable(const G4DynamicParticle *aDP, G4int Z, G4int A)
void CrossSectionDescription(std::ostream &) const
G4double GetHadronNucleonXscVU(const G4DynamicParticle *, const G4ParticleDefinition *)
virtual G4bool IsApplicable(const G4DynamicParticle *aDP, const G4Element *)
G4double GetHadronNucleonXscPDG(const G4DynamicParticle *, const G4ParticleDefinition *)
#define G4endl
Definition: G4ios.hh:61
double G4double
Definition: G4Types.hh:76
G4double GetTotalHadronNucleonXsc()
G4double GetHadronNucleonXscEL(const G4DynamicParticle *, const G4ParticleDefinition *)
G4double GetInelasticHadronNucleonXsc()
G4double CalcMandelstamS(const G4double, const G4double, const G4double)