Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
G4LElastic.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$
27//
28//
29// G4 Model: Low energy elastic scattering -- header file
30// F.W. Jones, TRIUMF, 04-JUN-96
31//
32// For further comments see G4LElastic.cc.
33//
34// use -scheme for elastic scattering: HPW, 20th June 1997
35// most of the code comes from the old Low-energy Elastic class
36
37#ifndef G4LElastic_h
38#define G4LElastic_h 1
39
40// Class Description
41// Final state production model for hadron nuclear elastic scattering;
42// To be used in your physics list in case you need this physics.
43// In this case you want to register an object of this class with
44// the corresponding process.
45// Class Description - End
46
47#include "globals.hh"
48#include "Randomize.hh"
49#include "G4Element.hh"
50#include "G4ElementVector.hh"
51#include "G4ElementTable.hh"
52#include "G4PhysicsTable.hh"
53#include "G4PhysicsVector.hh"
55#include "G4LightMedia.hh"
56#include "G4Step.hh"
57#include "G4TrackStatus.hh"
59
60
62{
63 public:
64
65 G4LElastic(const G4String& name = "G4LElastic");
66
68
70 G4Nucleus& targetNucleus);
71
72 virtual void ModelDescription(std::ostream& outFile) const;
73
74 virtual const std::pair<G4double, G4double> GetFatalEnergyCheckLevels() const;
75
76 private:
77
78 G4LightMedia LightMedia;
79
80 G4int Rtmi(G4double* x, G4double xli, G4double xri, G4double eps,
81 G4int iend,
82 G4double aa, G4double bb, G4double cc, G4double dd,
83 G4double rr);
84
85 G4double Fctcos(G4double t,
86 G4double aa, G4double bb, G4double cc, G4double dd,
87 G4double rr);
88
89 void Defs1(G4double p, G4double px, G4double py, G4double pz,
90 G4double pxinc, G4double pyinc, G4double pzinc,
91 G4double* pxnew, G4double* pynew, G4double* pznew);
92};
93#endif
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
G4HadFinalState * ApplyYourself(const G4HadProjectile &aTrack, G4Nucleus &targetNucleus)
Definition: G4LElastic.cc:68
virtual const std::pair< G4double, G4double > GetFatalEnergyCheckLevels() const
Definition: G4LElastic.cc:476
virtual void ModelDescription(std::ostream &outFile) const
Definition: G4LElastic.cc:55