Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4HadronElasticProcess.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 //
27 // $Id: G4HadronElasticProcess.hh 90262 2015-05-22 09:03:22Z gcosmo $
28 //
29 // Geant4 Hadron Elastic Scattering Process -- header file
30 //
31 // Created 26 July 2012 V.Ivanchenko from G4WHadronElasticProcess
32 //
33 // Modified:
34 //
35 
36 // Class Description
37 // General process for hadron nuclear elastic scattering
38 // Class Description - End
39 
40 #ifndef G4HadronElasticProcess_h
41 #define G4HadronElasticProcess_h 1
42 
43 #include "globals.hh"
44 #include "G4HadronicProcess.hh"
45 
49 
51 {
52 public:
53 
54  G4HadronElasticProcess(const G4String& procName = "hadElastic");
55 
56  virtual ~G4HadronElasticProcess();
57 
58  virtual G4VParticleChange* PostStepDoIt(const G4Track& aTrack,
59  const G4Step& aStep);
60 
61  // initialise thresholds
62  virtual void PreparePhysicsTable(const G4ParticleDefinition&);
63 
64  // set internal limit
65  virtual void SetLowestEnergy(G4double);
66 
67  // obsolete method - will be removed
68  virtual void SetLowestEnergyNeutron(G4double);
69 
70  virtual void ProcessDescription(std::ostream& outFile) const;
71 
72  // enable sampling of low-mass diffraction process
74 
75 private:
76 
77  // hide assignment operator as private
80 
81  G4double lowestEnergy;
82  G4bool isInitialised;
83  G4HadronicInteraction* fDiffraction;
84  G4VCrossSectionRatio* fDiffractionRatio;
85 };
86 
87 #endif
G4HadronElasticProcess(const G4String &procName="hadElastic")
virtual void SetLowestEnergy(G4double)
void SetDiffraction(G4HadronicInteraction *, G4VCrossSectionRatio *)
bool G4bool
Definition: G4Types.hh:79
Definition: G4Step.hh:76
virtual void ProcessDescription(std::ostream &outFile) const
double G4double
Definition: G4Types.hh:76
virtual G4VParticleChange * PostStepDoIt(const G4Track &aTrack, const G4Step &aStep)
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
virtual void SetLowestEnergyNeutron(G4double)