source: trunk/source/processes/hadronic/models/low_energy/include/G4LElastic.hh@ 830

Last change on this file since 830 was 819, checked in by garnier, 17 years ago

import all except CVS

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//
27// $Id: G4LElastic.hh,v 1.12 2007/02/26 19:05:01 dennis Exp $
28// GEANT4 tag $Name: $
29//
30//
31// G4 Model: Low energy elastic scattering -- header file
32// F.W. Jones, TRIUMF, 04-JUN-96
33//
34// For further comments see G4LElastic.cc.
35//
36// use -scheme for elastic scattering: HPW, 20th June 1997
37// most of the code comes from the old Low-energy Elastic class
38//
39
40
41#ifndef G4LElastic_h
42#define G4LElastic_h 1
43
44// Class Description
45// Final state production model for hadron nuclear elastic scattering;
46// To be used in your physics list in case you need this physics.
47// In this case you want to register an object of this class with
48// the corresponding process.
49// Class Description - End
50
51#include "globals.hh"
52#include "Randomize.hh"
53#include "G4Element.hh"
54#include "G4ElementVector.hh"
55#include "G4ElementTable.hh"
56#include "G4PhysicsTable.hh"
57#include "G4PhysicsVector.hh"
58#include "G4LPhysicsFreeVector.hh"
59#include "G4LightMedia.hh"
60#include "G4Step.hh"
61#include "G4TrackStatus.hh"
62#include "G4HadronicInteraction.hh"
63
64
65class G4LElastic : public G4HadronicInteraction
66{
67public:
68
69 G4LElastic() : G4HadronicInteraction("G4LElastic")
70 {
71 SetMinEnergy( 0.0*GeV );
72 SetMaxEnergy( DBL_MAX );
73 }
74
75 ~G4LElastic() {};
76
77 G4HadFinalState * ApplyYourself(const G4HadProjectile & aTrack,
78 G4Nucleus & targetNucleus);
79
80private:
81
82
83 G4LightMedia LightMedia;
84
85 G4int Rtmi(G4double* x, G4double xli, G4double xri, G4double eps,
86 G4int iend,
87 G4double aa, G4double bb, G4double cc, G4double dd,
88 G4double rr);
89
90 G4double Fctcos(G4double t,
91 G4double aa, G4double bb, G4double cc, G4double dd,
92 G4double rr);
93
94 void Defs1(G4double p, G4double px, G4double py, G4double pz,
95 G4double pxinc, G4double pyinc, G4double pzinc,
96 G4double* pxnew, G4double* pynew, G4double* pznew);
97};
98#endif
Note: See TracBrowser for help on using the repository browser.