source: trunk/source/processes/hadronic/cross_sections/include/G4UElasticCrossSection.hh @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 3.5 KB
Line 
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 hadron elastic cross-sections using selected set of
27// original componetns
28//
29// 12.08.06 V.Ivanchenko - first implementation
30// 22.01.07 V.Ivanchenko - add GetIsoZACrossSection
31// 05.03.07 V.Ivanchenko - use G4NucleonNuclearCrossSection
32// 06.03.07 V.Ivanchenko - add Initialise function
33//
34//
35
36#ifndef G4UElasticCrossSection_h
37#define G4UElasticCrossSection_h
38
39#include "globals.hh"
40#include "G4VCrossSectionDataSet.hh"
41
42//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
43
44class G4ParticleDefinition;
45class G4GlauberGribovCrossSection;
46class G4NucleonNuclearCrossSection;
47class G4UPiNuclearCrossSection;
48class G4HadronCrossSections;
49class G4ParticleDefinition;
50
51class G4UElasticCrossSection : public G4VCrossSectionDataSet
52{
53public:
54
55  G4UElasticCrossSection (const G4ParticleDefinition* p=0);
56
57  virtual ~G4UElasticCrossSection ();
58   
59  virtual
60  G4bool IsApplicable(const G4DynamicParticle*, const G4Element*);
61
62  virtual
63  G4bool IsIsoApplicable(const G4DynamicParticle*, G4int Z, G4int A);
64
65  virtual
66  G4double GetCrossSection(const G4DynamicParticle*, 
67                           const G4Element*, G4double aTemperature = 0.);
68
69  virtual
70  G4double GetZandACrossSection(const G4DynamicParticle*, G4int /*Z*/,
71                                G4int /*A*/, G4double aTemperature = 0.);
72
73  virtual
74  void BuildPhysicsTable(const G4ParticleDefinition&);
75
76  virtual
77  void DumpPhysicsTable(const G4ParticleDefinition&); 
78
79private:
80
81  void Initialise(const G4ParticleDefinition*);
82
83  G4bool   hasGlauber;
84  G4double thEnergy;  // threshold of Glauber model
85  G4double theFac[93];
86
87  G4GlauberGribovCrossSection*    fGlauber;
88  G4NucleonNuclearCrossSection*   fNucleon;
89  G4UPiNuclearCrossSection*       fUPi;
90  G4HadronCrossSections*          fGheisha;
91
92//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
93
94};
95
96#endif
Note: See TracBrowser for help on using the repository browser.