source: trunk/source/processes/hadronic/models/coherent_elastic/include/G4UHadronElasticProcess.hh

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

update ti head

File size: 3.6 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//
27// $Id: G4UHadronElasticProcess.hh,v 1.12 2010/06/15 15:24:34 vnivanch Exp $
28// GEANT4 tag $Name: geant4-09-03-ref-09 $
29//
30// Geant4 Hadron Elastic Scattering Process -- header file
31//
32// Created 21 April 2006 V.Ivanchenko
33// 
34// Modified:
35// 26.09.06 V.Ivanchenko add lowestEnergy
36//
37
38// Class Description
39// Process for hadron nuclear elastic scattering using optimal
40// combination of Geant4 models
41// Class Description - End
42
43#ifndef G4UHadronElasticProcess_h
44#define G4UHadronElasticProcess_h 1
45 
46#include "globals.hh"
47#include "G4HadronicProcess.hh"
48#include "G4Nucleus.hh"
49#include "G4StableIsotopes.hh"
50
51class G4VQCrossSection;
52class G4ParticleDefinition;
53class G4CrossSectionDataStore;
54
55class G4UHadronElasticProcess : public G4HadronicProcess
56{
57public:
58
59  G4UHadronElasticProcess(const G4String& procName = "hElastic", 
60                          G4double elow = 19.*MeV);
61
62  virtual ~G4UHadronElasticProcess();
63 
64  virtual G4VParticleChange* PostStepDoIt(const G4Track& aTrack, 
65                                          const G4Step& aStep);
66
67  virtual G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
68
69  virtual void BuildPhysicsTable(const G4ParticleDefinition& aParticleType);
70
71  virtual void DumpPhysicsTable(const G4ParticleDefinition& aParticleType);
72
73  virtual G4double GetMeanFreePath(const G4Track&, G4double, 
74                                   G4ForceCondition*);
75
76  virtual G4double GetMicroscopicCrossSection(const G4DynamicParticle*,
77                                              const G4Element*,
78                                              G4double aTemp);
79
80  void SetQElasticCrossSection(G4VQCrossSection*);
81
82private:
83
84  G4StableIsotopes            theDefaultIsotopes;
85  G4VQCrossSection*           pCManager;
86  G4VQCrossSection*           nCManager;
87  const G4ParticleDefinition* theProton;
88  const G4ParticleDefinition* theNeutron;
89  const G4ParticleDefinition* theParticle;
90
91  G4CrossSectionDataStore* store;
92  G4Nucleus                targetNucleus;
93
94  G4double        xsec[40];
95  G4double        xsecH[4];
96  G4double        cross;
97  G4double        thEnergy;
98  G4double        lowestEnergy;
99
100  G4int    pPDG;
101  G4bool   first;
102};
103
104#endif
Note: See TracBrowser for help on using the repository browser.